2 * Copyright 2000, International Business Machines Corporation and others.
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
13 #ifdef IGNORE_SOME_GCC_WARNINGS
14 # pragma GCC diagnostic warning "-Wstrict-prototypes"
17 extern int afsd_debug;
18 extern int afsd_verbose;
19 extern char afsd_cacheMountDir[];
22 int afsd_parse(int argc, char **argv);
25 /* a function that is called from afsd_fork in a new process/thread */
26 typedef void* (*afsd_callback_func) (void *rock);
28 /* afsd.c expects these to be implemented; it does not implement them itself! */
29 void afsd_mount_afs(const char *rn, const char *mountdir);
30 int afsd_check_mount(const char *rn, const char *mountdir);
31 void afsd_set_rx_rtpri(void);
32 void afsd_set_afsd_rtpri(void);
33 int afsd_call_syscall();
34 int afsd_fork(int wait, afsd_callback_func cbf, void *rock);
35 int afsd_daemon(int nochdir, int noclose);
37 #endif /* AFSD_AFSD_H */