/usr/include/afs/budb_client.h is in libopenafs-dev 1.6.7-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 | /*
* 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 __BUDB_CLIENT__
#define __BUDB_CLIENT__
#include <ubik.h>
#ifndef BUDB_MAJORVERSION /* get the installed RPC stuff */
#include <sys/types.h>
#include <rx/xdr.h>
#include <afs/budb.h>
#endif
#include <afs/budb_errs.h>
/* for ubik_Call_SingleServer */
#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 */
};
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 */
};
typedef struct udbClientTextS udbClientTextT;
typedef udbClientTextT *udbClientTextP;
#endif
|