/usr/include/afs/afs_Admin.h is in libopenafs-dev 1.8.0~pre5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | /*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
*
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
*/
#ifndef OPENAFS_ADMIN_H
#define OPENAFS_ADMIN_H
#include <afs/param.h>
#include <afs/afs_args.h>
#include <rx/rx.h>
#ifdef AFS_NT40_ENV
/* NT definitions */
#define ADMINAPI __cdecl
#ifndef ADMINEXPORT
#define ADMINEXPORT __declspec(dllimport)
#endif
#else
/* Unix definitions */
#define ADMINAPI
#define ADMINEXPORT
#endif /* AFS_NT40_ENV */
typedef unsigned int afs_status_t, *afs_status_p;
typedef enum {
AFS_RPC_STATS_DISABLED,
AFS_RPC_STATS_ENABLED
} afs_RPCStatsState_t, *afs_RPCStatsState_p;
typedef afs_uint32 afs_RPCStatsVersion_t, *afs_RPCStatsVersion_p;
#define AFS_RX_STATS_CLEAR_ALL 0xffffffff
#define AFS_RX_STATS_CLEAR_INVOCATIONS 0x1
#define AFS_RX_STATS_CLEAR_TIME_SUM 0x2
#define AFS_RX_STATS_CLEAR_TIME_SQUARE 0x4
#define AFS_RX_STATS_CLEAR_TIME_MIN 0x8
#define AFS_RX_STATS_CLEAR_TIME_MAX 0x10
typedef afs_uint32 afs_RPCStatsClearFlag_t, *afs_RPCStatsClearFlag_p;
typedef union {
rx_function_entry_v1_t stats_v1;
/* add new stat structures here when required */
} afs_RPCUnion_t, *afs_RPCUnion_p;
typedef struct afs_RPCStats {
afs_uint32 clientVersion;
afs_uint32 serverVersion;
afs_uint32 statCount;
afs_RPCUnion_t s;
} afs_RPCStats_t, *afs_RPCStats_p;
typedef union {
cm_initparams_v1 config_v1;
/* add new client config structures here when required */
} afs_ClientConfigUnion_t, *afs_ClientConfigUnion_p;
typedef struct afs_ClientConfig {
afs_uint32 clientVersion;
afs_uint32 serverVersion;
afs_ClientConfigUnion_t c;
} afs_ClientConfig_t, *afs_ClientConfig_p;
#if AFS_NT40_ENV
typedef SOCKET rxdebugSocket_t;
#define INVALID_RXDEBUG_SOCKET INVALID_SOCKET
#else /* AFS_NT40_ENV */
typedef int rxdebugSocket_t;
#define INVALID_RXDEBUG_SOCKET ((rxdebugSocket_t)-1)
#endif /* AFS_NT40_ENV */
typedef struct {
rxdebugSocket_t sock;
int ipAddr;
int udpPort;
int firstFlag;
afs_uint32 supportedStats;
} rxdebugHandle_t, *rxdebugHandle_p;
#define AFS_STATUS_OK 0
#endif /* OPENAFS_ADMIN_H */
|