/*
* 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
typedef unsigned int afs_status_t, *afs_status_p;
typedef enum {
- AFS_RPC_STATS_DISABLED,
- AFS_RPC_STATS_ENABLED
+ AFS_RPC_STATS_DISABLED,
+ AFS_RPC_STATS_ENABLED
} afs_RPCStatsState_t, *afs_RPCStatsState_p;
typedef afs_uint32 afs_RPCStatsVersion_t, *afs_RPCStatsVersion_p;
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 */
+ 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_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 */
+ 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_uint32 clientVersion;
+ afs_uint32 serverVersion;
+ afs_ClientConfigUnion_t c;
} afs_ClientConfig_t, *afs_ClientConfig_p;
#if AFS_NT40_ENV
-typedef HANDLE rxdebugSocket_t;
+typedef SOCKET rxdebugSocket_t;
+#define INVALID_RXDEBUG_SOCKET INVALID_SOCKET
#else /* AFS_NT40_ENV */
typedef int rxdebugSocket_t;
-#endif /* AFS_NT40_ENV */
#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;
+ rxdebugSocket_t sock;
+ int ipAddr;
+ int udpPort;
+ int firstFlag;
+ afs_uint32 supportedStats;
} rxdebugHandle_t, *rxdebugHandle_p;
#define AFS_STATUS_OK 0