bozo: remove duplicate prototype
[openafs.git] / src / bozo / bosprototypes.h
index 590bedd..a009eb0 100644 (file)
 #ifndef _BOSPROTOTYPES_H_
 #define _BOSPROTOTYPES_H_
 
+#include <rx/rxkad.h>
+
+/* bnode.c */
+int bnode_CoreName(struct bnode *abnode, char *acoreName, char *abuffer);
+int bnode_GetString(struct bnode *abnode, char *abuffer, afs_int32 alen);
+int bnode_GetParm(struct bnode *abnode, afs_int32 aindex, char *abuffer,
+                 afs_int32 alen);
+int bnode_GetStat(struct bnode *abnode, afs_int32 * astatus);
+int bnode_RestartP(struct bnode *abnode);
+int bnode_HasCore(struct bnode *abnode);
+int bnode_WaitAll(void);
+int bnode_SetGoal(struct bnode *abnode, int agoal);
+int bnode_SetFileGoal(struct bnode *abnode, int agoal);
+int bnode_ApplyInstance(int (*aproc)(struct bnode *, void *), void *arock);
+int bnode_Register(char *, struct bnode_ops *, int);
+int bnode_DeleteName(char *);
+int bnode_Hold(struct bnode *);
+int bnode_Release(struct bnode *);
+int bnode_Delete(struct bnode *);
+int bnode_PendingTimeout(struct bnode *abnode);
+void bnode_Int(int asignal);
+int bnode_Init(void);
+int bnode_FreeTokens(struct bnode_token *alist);
+int bnode_ParseLine(char *aline, struct bnode_token **alist);
+int bnode_NewProc(struct bnode *abnode, char *aexecString, char *coreName,
+                 struct bnode_proc **aproc);
+int bnode_StopProc(struct bnode_proc *aproc, int asignal);
+int bnode_Deactivate(struct bnode *abnode);
+
 /* bosserver.c */
 void bozo_Log(char *format, ... );
+int bozo_ReBozo(void);
+int WriteBozoFile(char *aname);
+
+/* bosoprocs.c */
+int GetRequiredDirPerm(const char *path);
+void *bozo_ShutdownAndExit(void *arock /* really int asignal */);
+int initBosEntryStats(void);
+int DirAccessOK(void);
+
+/* fsbnodeops.c */
+char *copystr(char *a);
+
+/* inline functions */
+static_inline struct bozo_key *
+ktc_to_bozoptr(struct ktc_encryptionKey *key) {
+    return (struct bozo_key *)key;
+}
 
 #endif