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 OPENAFS_LIBADMIN_TEST_COMMON_H_
11 #define OPENAFS_LIBADMIN_TEST_COMMON_H_
13 #define ERR_EXT(string) \
14 fprintf(stderr, "%s\n", string);\
17 #define ERR_ST_EXT(string, st) \
19 const char *errstr = "unknown error"; \
20 util_AdminErrorCodeTranslate(st, 0, &errstr, (afs_status_p) 0); \
21 fprintf(stderr, "%s (%s - %d)\n", string, errstr, st);\
26 * Convenience enum for indexing to common parameters
39 SetupCommonCmdArgs(struct cmd_syndesc
*as
);
41 extern void *cellHandle
;
42 extern void *tokenHandle
;
44 #endif /* OPENAFS_LIBADMIN_TEST_COMMON_H_ */