cmservice.h 867 字节
Newer Older
D
David Howells 已提交
1
/* AFS Cache Manager Service declarations
L
Linus Torvalds 已提交
2 3 4 5 6 7 8 9 10 11
 *
 * 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.
 */

D
David Howells 已提交
12 13
#ifndef AFS_CMSERVICE_H
#define AFS_CMSERVICE_H
L
Linus Torvalds 已提交
14 15 16 17 18 19 20 21 22

#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 */
D
David Howells 已提交
23 24 25 26
extern int SRXAFSCM_InitCallBackState(struct afs_server *);
extern int SRXAFSCM_CallBack(struct afs_server *, size_t,
			     struct afs_callback[]);
extern int SRXAFSCM_Probe(struct afs_server *);
L
Linus Torvalds 已提交
27

D
David Howells 已提交
28
#endif /* AFS_CMSERVICE_H */