2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #ifndef __CM_UTILS_H_ENV__
11 #define __CM_UTILS_H_ENV__ 1
13 #define CM_UTILS_SPACESIZE 8192 /* space to allocate */
14 typedef struct cm_space {
15 char data[CM_UTILS_SPACESIZE];
16 struct cm_space *nextp;
20 #define ERROR_TABLE_BASE_VL (363520L)
21 #define VL_NOENT (363524L)
23 extern cm_space_t *cm_GetSpace(void);
25 extern void cm_FreeSpace(cm_space_t *);
27 extern long cm_MapRPCError(long error, cm_req_t *reqp);
28 extern long cm_MapRPCErrorRmdir(long error, cm_req_t *reqp);
29 extern long cm_MapVLRPCError(long error, cm_req_t *reqp);
31 #endif /* __CM_UTILS_H_ENV__ */