This file is indexed.

/usr/include/afs/bosint.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
 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
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
/* Machine generated file -- Do NOT edit */

#ifndef	_RXGEN_BOSINT_
#define	_RXGEN_BOSINT_

#ifdef	KERNEL
/* The following 'ifndefs' are not a good solution to the vendor's omission of surrounding all system includes with 'ifndef's since it requires that this file is included after the system includes...*/
#include <afsconfig.h>
#include "afs/param.h"
#ifdef	UKERNEL
#include "afs/sysincludes.h"
#include "rx/xdr.h"
#include "rx/rx.h"
#include "rx/rx_globals.h"
#else	/* UKERNEL */
#include "h/types.h"
#ifndef	SOCK_DGRAM  /* XXXXX */
#include "h/socket.h"
#endif
struct ubik_client;
#ifndef	DTYPE_SOCKET  /* XXXXX */
#ifndef AFS_LINUX22_ENV
#include "h/file.h"
#endif
#endif
#ifndef	S_IFMT  /* XXXXX */
#include "h/stat.h"
#endif
#if defined (AFS_OBSD_ENV) && !defined (MLEN)
#include "sys/mbuf.h"
#endif
#ifndef	IPPROTO_UDP /* XXXXX */
#include "netinet/in.h"
#endif
#ifndef	DST_USA  /* XXXXX */
#include "h/time.h"
#endif
#ifndef AFS_LINUX22_ENV
#include "rpc/types.h"
#endif /* AFS_LINUX22_ENV */
#ifndef	XDR_GETLONG /* XXXXX */
#ifdef AFS_LINUX22_ENV
#ifndef quad_t
#define quad_t __quad_t
#define u_quad_t __u_quad_t
#endif
#endif
#include "rx/xdr.h"
#endif /* XDR_GETLONG */
#endif   /* UKERNEL */
#include "afs/rxgen_consts.h"
#include "afs_osi.h"
#include "rx/rx.h"
#include "rx/rx_globals.h"
#else	/* KERNEL */
#include <afs/param.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <rx/xdr.h>
#include <rx/rx.h>
#include <rx/rx_globals.h>
#include <afs/rxgen_consts.h>
#endif	/* KERNEL */

#ifdef AFS_NT40_ENV
#ifndef AFS_RXGEN_EXPORT
#define AFS_RXGEN_EXPORT __declspec(dllimport)
#endif /* AFS_RXGEN_EXPORT */
#else /* AFS_NT40_ENV */
#define AFS_RXGEN_EXPORT
#endif /* AFS_NT40_ENV */


typedef int bstring;
bool_t xdr_bstring(XDR *xdrs, bstring *objp);

#define BOZO_BSSIZE 256
#undef min

struct bozo_netKTime {
	int mask;
	short hour;
	short min;
	short sec;
	short day;
};
typedef struct bozo_netKTime bozo_netKTime;
bool_t xdr_bozo_netKTime(XDR *xdrs, bozo_netKTime *objp);


struct bozo_key {
	char data[8];
};
typedef struct bozo_key bozo_key;
bool_t xdr_bozo_key(XDR *xdrs, bozo_key *objp);


struct bozo_keyInfo {
	afs_int32 mod_sec;
	afs_int32 mod_usec;
	afs_uint32 keyCheckSum;
	afs_int32 spare2;
};
typedef struct bozo_keyInfo bozo_keyInfo;
bool_t xdr_bozo_keyInfo(XDR *xdrs, bozo_keyInfo *objp);


struct bozo_status {
	afs_int32 goal;
	afs_int32 fileGoal;
	afs_int32 procStartTime;
	afs_int32 procStarts;
	afs_int32 lastAnyExit;
	afs_int32 lastErrorExit;
	afs_int32 errorCode;
	afs_int32 errorSignal;
	afs_int32 flags;
	afs_int32 spare[8];
};
typedef struct bozo_status bozo_status;
bool_t xdr_bozo_status(XDR *xdrs, bozo_status *objp);

#define BOZO_HASCORE 1 /* core file exists */
#define BOZO_ERRORSTOP 2 /* stopped due to too many errors */
#define BOZO_BADDIRACCESS 4 /* bad mode bits on /usr/afs dirs */
#define BOZO_PRUNEOLD 1 /* prune .OLD files */
#define BOZO_PRUNEBAK 2 /* prune .BAK files */
#define BOZO_PRUNECORE 4 /* prune core files */
#define BOZO_STATINDEX 1

extern int BOZO_CreateBnode(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * type,
	/*IN */ char * instance,
	/*IN */ char * p1,
	/*IN */ char * p2,
	/*IN */ char * p3,
	/*IN */ char * p4,
	/*IN */ char * p5,
	/*IN */ char * p6);

extern afs_int32 SBOZO_CreateBnode(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * type,
	/*IN */ char * instance,
	/*IN */ char * p1,
	/*IN */ char * p2,
	/*IN */ char * p3,
	/*IN */ char * p4,
	/*IN */ char * p5,
	/*IN */ char * p6);

extern int BOZO_DeleteBnode(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * instance);

extern afs_int32 SBOZO_DeleteBnode(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * instance);

extern int BOZO_SetStatus(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * instance,
	/*IN */ afs_int32 status);

extern afs_int32 SBOZO_SetStatus(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * instance,
	/*IN */ afs_int32 status);

extern int BOZO_GetStatus(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * instance,
	/*OUT*/ afs_int32 * intStat,
	/*OUT*/ char * *statdescr);

extern afs_int32 SBOZO_GetStatus(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * instance,
	/*OUT*/ afs_int32 * intStat,
	/*OUT*/ char * *statdescr);

extern int BOZO_EnumerateInstance(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 instance,
	/*OUT*/ char * *iname);

extern afs_int32 SBOZO_EnumerateInstance(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 instance,
	/*OUT*/ char * *iname);

extern int BOZO_GetInstanceInfo(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * instance,
	/*OUT*/ char * *type,
	/*OUT*/ struct bozo_status * status);

extern afs_int32 SBOZO_GetInstanceInfo(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * instance,
	/*OUT*/ char * *type,
	/*OUT*/ struct bozo_status * status);

extern int BOZO_GetInstanceParm(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * instance,
	/*IN */ afs_int32 num,
	/*OUT*/ char * *parm);

extern afs_int32 SBOZO_GetInstanceParm(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * instance,
	/*IN */ afs_int32 num,
	/*OUT*/ char * *parm);

extern int BOZO_AddSUser(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * name);

extern afs_int32 SBOZO_AddSUser(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * name);

extern int BOZO_DeleteSUser(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * name);

extern afs_int32 SBOZO_DeleteSUser(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * name);

extern int BOZO_ListSUsers(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 an,
	/*OUT*/ char * *name);

extern afs_int32 SBOZO_ListSUsers(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 an,
	/*OUT*/ char * *name);

extern int BOZO_ListKeys(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 an,
	/*OUT*/ afs_int32 * kvno,
	/*OUT*/ struct bozo_key * key,
	/*OUT*/ struct bozo_keyInfo * keyinfo);

extern afs_int32 SBOZO_ListKeys(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 an,
	/*OUT*/ afs_int32 * kvno,
	/*OUT*/ struct bozo_key * key,
	/*OUT*/ struct bozo_keyInfo * keyinfo);

extern int BOZO_AddKey(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 an,
	/*IN */ struct bozo_key * key);

extern afs_int32 SBOZO_AddKey(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 an,
	/*IN */ struct bozo_key * key);

extern int BOZO_DeleteKey(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 an);

extern afs_int32 SBOZO_DeleteKey(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 an);

extern int BOZO_SetCellName(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * name);

extern afs_int32 SBOZO_SetCellName(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * name);

extern int BOZO_GetCellName(
	/*IN */ struct rx_connection *z_conn,
	/*OUT*/ char * *name);

extern afs_int32 SBOZO_GetCellName(
	/*IN */ struct rx_call *z_call,
	/*OUT*/ char * *name);

extern int BOZO_GetCellHost(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_uint32 awhich,
	/*OUT*/ char * *name);

extern afs_int32 SBOZO_GetCellHost(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_uint32 awhich,
	/*OUT*/ char * *name);

extern int BOZO_AddCellHost(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * name);

extern afs_int32 SBOZO_AddCellHost(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * name);

extern int BOZO_DeleteCellHost(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * name);

extern afs_int32 SBOZO_DeleteCellHost(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * name);

extern int BOZO_SetTStatus(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * instance,
	/*IN */ afs_int32 status);

extern afs_int32 SBOZO_SetTStatus(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * instance,
	/*IN */ afs_int32 status);

extern int BOZO_ShutdownAll(
	/*IN */ struct rx_connection *z_conn);

extern afs_int32 SBOZO_ShutdownAll(
	/*IN */ struct rx_call *z_call);

extern int BOZO_RestartAll(
	/*IN */ struct rx_connection *z_conn);

extern afs_int32 SBOZO_RestartAll(
	/*IN */ struct rx_call *z_call);

extern int BOZO_StartupAll(
	/*IN */ struct rx_connection *z_conn);

extern afs_int32 SBOZO_StartupAll(
	/*IN */ struct rx_call *z_call);

extern int BOZO_SetNoAuthFlag(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 flag);

extern afs_int32 SBOZO_SetNoAuthFlag(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 flag);

extern int BOZO_ReBozo(
	/*IN */ struct rx_connection *z_conn);

extern afs_int32 SBOZO_ReBozo(
	/*IN */ struct rx_call *z_call);

extern int BOZO_Restart(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * instance);

extern afs_int32 SBOZO_Restart(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * instance);

extern int StartBOZO_Install(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * path,
	/*IN */ afs_int32 size,
	/*IN */ afs_int32 flags,
	/*IN */ afs_int32 date);

extern int EndBOZO_Install(
	/*IN */ struct rx_call *z_call);

extern afs_int32 SBOZO_Install(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * path,
	/*IN */ afs_int32 size,
	/*IN */ afs_int32 flags,
	/*IN */ afs_int32 date);

extern int BOZO_UnInstall(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * path);

extern afs_int32 SBOZO_UnInstall(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * path);

extern int BOZO_GetDates(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * path,
	/*OUT*/ afs_int32 * newtime,
	/*OUT*/ afs_int32 * baktime,
	/*OUT*/ afs_int32 * oldtime);

extern afs_int32 SBOZO_GetDates(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * path,
	/*OUT*/ afs_int32 * newtime,
	/*OUT*/ afs_int32 * baktime,
	/*OUT*/ afs_int32 * oldtime);

extern int BOZO_Exec(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * cmd);

extern afs_int32 SBOZO_Exec(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * cmd);

extern int BOZO_Prune(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 flags);

extern afs_int32 SBOZO_Prune(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 flags);

extern int BOZO_SetRestartTime(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 type,
	/*IN */ struct bozo_netKTime * restartTime);

extern afs_int32 SBOZO_SetRestartTime(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 type,
	/*IN */ struct bozo_netKTime * restartTime);

extern int BOZO_GetRestartTime(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 type,
	/*OUT*/ struct bozo_netKTime * restartTime);

extern afs_int32 SBOZO_GetRestartTime(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 type,
	/*OUT*/ struct bozo_netKTime * restartTime);

extern int StartBOZO_GetLog(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * name);

extern int EndBOZO_GetLog(
	/*IN */ struct rx_call *z_call);

extern afs_int32 SBOZO_GetLog(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * name);

extern int BOZO_WaitAll(
	/*IN */ struct rx_connection *z_conn);

extern afs_int32 SBOZO_WaitAll(
	/*IN */ struct rx_call *z_call);

extern int BOZO_GetInstanceStrings(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ char * instance,
	/*OUT*/ char * *errorName,
	/*OUT*/ char * *spare1,
	/*OUT*/ char * *spare2,
	/*OUT*/ char * *spare3);

extern afs_int32 SBOZO_GetInstanceStrings(
	/*IN */ struct rx_call *z_call,
	/*IN */ char * instance,
	/*OUT*/ char * *errorName,
	/*OUT*/ char * *spare1,
	/*OUT*/ char * *spare2,
	/*OUT*/ char * *spare3);

extern int BOZO_GetRestrictedMode(
	/*IN */ struct rx_connection *z_conn,
	/*OUT*/ afs_int32 * restmode);

extern afs_int32 SBOZO_GetRestrictedMode(
	/*IN */ struct rx_call *z_call,
	/*OUT*/ afs_int32 * restmode);

extern int BOZO_SetRestrictedMode(
	/*IN */ struct rx_connection *z_conn,
	/*IN */ afs_int32 restmode);

extern afs_int32 SBOZO_SetRestrictedMode(
	/*IN */ struct rx_call *z_call,
	/*IN */ afs_int32 restmode);

extern int BOZO_ExecuteRequest(struct rx_call *);

/* Opcode-related useful stats for package: BOZO_ */
#define BOZO_LOWEST_OPCODE   80
#define BOZO_HIGHEST_OPCODE	116
#define BOZO_NUMBER_OPCODES	37

#define BOZO_NO_OF_STAT_FUNCS	37

AFS_RXGEN_EXPORT
extern const char *BOZO_function_names[];

#endif	/* _RXGEN_BOSINT_ */