cmservice.h 867 B

12345678910111213141516171819202122232425262728
  1. /* AFS Cache Manager Service declarations
  2. *
  3. * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
  4. * Written by David Howells (dhowells@redhat.com)
  5. *
  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.
  10. */
  11. #ifndef AFS_CMSERVICE_H
  12. #define AFS_CMSERVICE_H
  13. #include <rxrpc/transport.h>
  14. #include "types.h"
  15. /* cache manager start/stop */
  16. extern int afscm_start(void);
  17. extern void afscm_stop(void);
  18. /* cache manager server functions */
  19. extern int SRXAFSCM_InitCallBackState(struct afs_server *);
  20. extern int SRXAFSCM_CallBack(struct afs_server *, size_t,
  21. struct afs_callback[]);
  22. extern int SRXAFSCM_Probe(struct afs_server *);
  23. #endif /* AFS_CMSERVICE_H */