[AF_RXRPC]: Add an interface to the AF_RXRPC module for the AFS filesystem to use
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / fs / afs / cmservice.h
blob66e10c15bd1b18e5f1928137800f8c584a06c958
1 /* AFS Cache Manager Service declarations
3 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
12 #ifndef AFS_CMSERVICE_H
13 #define AFS_CMSERVICE_H
15 #include <rxrpc/transport.h>
16 #include "types.h"
18 /* cache manager start/stop */
19 extern int afscm_start(void);
20 extern void afscm_stop(void);
22 /* cache manager server functions */
23 extern int SRXAFSCM_InitCallBackState(struct afs_server *);
24 extern int SRXAFSCM_CallBack(struct afs_server *, size_t,
25 struct afs_callback[]);
26 extern int SRXAFSCM_Probe(struct afs_server *);
28 #endif /* AFS_CMSERVICE_H */