afs_cm.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. /* AFS Cache Manager definitions
  2. *
  3. * Copyright (C) 2007 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_CM_H
  12. #define AFS_CM_H
  13. #define AFS_CM_PORT 7001 /* AFS file server port */
  14. #define CM_SERVICE 1 /* AFS File Service ID */
  15. enum AFS_CM_Operations {
  16. CBCallBack = 204, /* break callback promises */
  17. CBInitCallBackState = 205, /* initialise callback state */
  18. CBProbe = 206, /* probe client */
  19. CBGetLock = 207, /* get contents of CM lock table */
  20. CBGetCE = 208, /* get cache file description */
  21. CBGetXStatsVersion = 209, /* get version of extended statistics */
  22. CBGetXStats = 210, /* get contents of extended statistics data */
  23. CBInitCallBackState3 = 213, /* initialise callback state, version 3 */
  24. CBProbeUuid = 214, /* check the client hasn't rebooted */
  25. CBTellMeAboutYourself = 65538, /* get client capabilities */
  26. };
  27. #define AFS_CAP_ERROR_TRANSLATION 0x1
  28. #endif /* AFS_FS_H */