Commit | Line | Data |
---|---|---|
805e021f CE |
1 | /* |
2 | * Copyright 2000, International Business Machines Corporation and others. | |
3 | * All Rights Reserved. | |
4 | * | |
5 | * This software has been released under the terms of the IBM Public | |
6 | * License. For details, see the LICENSE file in the top-level source | |
7 | * directory or online at http://www.openafs.org/dl/license10.html | |
8 | */ | |
9 | ||
10 | #ifndef _BOSPROTOTYPES_H_ | |
11 | #define _BOSPROTOTYPES_H_ | |
12 | ||
13 | #include <rx/rxkad.h> | |
14 | ||
15 | /* bnode.c */ | |
16 | int bnode_CoreName(struct bnode *abnode, char *acoreName, char *abuffer); | |
17 | int bnode_GetString(struct bnode *abnode, char *abuffer, afs_int32 alen); | |
18 | int bnode_GetParm(struct bnode *abnode, afs_int32 aindex, char *abuffer, | |
19 | afs_int32 alen); | |
20 | int bnode_GetStat(struct bnode *abnode, afs_int32 * astatus); | |
21 | int bnode_RestartP(struct bnode *abnode); | |
22 | int bnode_HasCore(struct bnode *abnode); | |
23 | int bnode_WaitAll(void); | |
24 | int bnode_SetGoal(struct bnode *abnode, int agoal); | |
25 | int bnode_SetFileGoal(struct bnode *abnode, int agoal); | |
26 | int bnode_ApplyInstance(int (*aproc)(struct bnode *, void *), void *arock); | |
27 | int bnode_Register(char *, struct bnode_ops *, int); | |
28 | int bnode_DeleteName(char *); | |
29 | int bnode_Hold(struct bnode *); | |
30 | int bnode_Release(struct bnode *); | |
31 | int bnode_Delete(struct bnode *); | |
32 | int bnode_PendingTimeout(struct bnode *abnode); | |
33 | void bnode_Int(int asignal); | |
34 | int bnode_Init(void); | |
35 | int bnode_FreeTokens(struct bnode_token *alist); | |
36 | int bnode_ParseLine(char *aline, struct bnode_token **alist); | |
37 | int bnode_NewProc(struct bnode *abnode, char *aexecString, char *coreName, | |
38 | struct bnode_proc **aproc); | |
39 | int bnode_StopProc(struct bnode_proc *aproc, int asignal); | |
40 | ||
41 | /* bosserver.c */ | |
42 | void bozo_Log(const char *format, ... ); | |
43 | int bozo_ReBozo(void); | |
44 | int WriteBozoFile(char *aname); | |
45 | int bozo_CreatePidFile(char *ainst, char *aname, pid_t apid); | |
46 | int bozo_DeletePidFile(char *ainst, char *aname); | |
47 | ||
48 | /* bosoprocs.c */ | |
49 | int GetRequiredDirPerm(const char *path); | |
50 | void *bozo_ShutdownAndExit(void *arock /* really int asignal */); | |
51 | int initBosEntryStats(void); | |
52 | int DirAccessOK(void); | |
53 | ||
54 | /* inline functions */ | |
55 | static_inline struct bozo_key * | |
56 | ktc_to_bozoptr(struct ktc_encryptionKey *key) { | |
57 | return (struct bozo_key *)key; | |
58 | } | |
59 | ||
60 | #endif |