#define __BUDB_CLIENT__
#include <ubik.h>
-#ifndef BUDB_MAJORVERSION /* get the installed RPC stuff */
+#ifndef BUDB_MAJORVERSION /* get the installed RPC stuff */
#include <sys/types.h>
#include <rx/xdr.h>
#include <afs/budb.h>
/* for ubik_Call_SingleServer */
-#define UF_SINGLESERVER 1 /* begin single server operation */
-#define UF_END_SINGLESERVER 2 /* terminate single server operation */
+#define UF_SINGLESERVER 1 /* begin single server operation */
+#define UF_END_SINGLESERVER 2 /* terminate single server operation */
/* handle for the ubik database connection */
-struct udbHandleS
-{
- afs_int32 uh_scIndex; /* what type of sec. object */
- struct rx_securityClass *uh_secobj; /* security object */
- struct rx_connection *uh_serverConn[MAXSERVERS]; /* server connections*/
- struct ubik_client *uh_client; /* ubik client handle */
- afs_uint32 uh_instanceId; /* instance of client */
+struct udbHandleS {
+ afs_int32 uh_scIndex; /* what type of sec. object */
+ struct rx_securityClass *uh_secobj; /* security object */
+ struct rx_connection *uh_serverConn[MAXSERVERS]; /* server connections */
+ struct ubik_client *uh_client; /* ubik client handle */
+ afs_uint32 uh_instanceId; /* instance of client */
};
-typedef struct udbHandleS udbHandleT;
-typedef udbHandleT *udbHandleP;
+typedef struct udbHandleS udbHandleT;
+typedef udbHandleT *udbHandleP;
/* suggested text block management structure */
-struct udbClientTextS
-{
- char *textName; /* for info. only */
- afs_int32 textType; /* used as key for access */
- afs_uint32 textVersion; /* version # for cache mgmt */
- afs_uint32 lockHandle; /* for atomicity */
- afs_int32 textSize; /* no. of bytes */
- FILE *textStream; /* file stream or NULL */
+struct udbClientTextS {
+ char *textName; /* for info. only */
+ afs_int32 textType; /* used as key for access */
+ afs_uint32 textVersion; /* version # for cache mgmt */
+ afs_uint32 lockHandle; /* for atomicity */
+ afs_int32 textSize; /* no. of bytes */
+ FILE *textStream; /* file stream or NULL */
};
-typedef struct udbClientTextS udbClientTextT;
-typedef udbClientTextT *udbClientTextP;
+typedef struct udbClientTextS udbClientTextT;
+typedef udbClientTextT *udbClientTextP;
#endif