swh:1:snp:38ae39f9fd01a4b0ef06fab5668b65bf4c2aca03
Raw File
Tip revision: a21bd69e1509b43823c317c3bf3f7ffa99884356 authored by Linus Torvalds on 06 April 2007, 02:36:56 UTC
Linux 2.6.21-rc6
Tip revision: a21bd69
cmservice.h
/* cmservice.h: AFS Cache Manager Service declarations
 *
 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

#ifndef _LINUX_AFS_CMSERVICE_H
#define _LINUX_AFS_CMSERVICE_H

#include <rxrpc/transport.h>
#include "types.h"

/* cache manager start/stop */
extern int afscm_start(void);
extern void afscm_stop(void);

/* cache manager server functions */
extern int SRXAFSCM_InitCallBackState(struct afs_server *server);
extern int SRXAFSCM_CallBack(struct afs_server *server,
			     size_t count,
			     struct afs_callback callbacks[]);
extern int SRXAFSCM_Probe(struct afs_server *server);

#endif /* _LINUX_AFS_CMSERVICE_H */
back to top