]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/misc.h
Warning fixes.
[netatalk.git] / etc / afpd / misc.h
1 /* 
2  * $Id: misc.h,v 1.2 2001-06-20 18:33:04 rufustfirefly Exp $
3  */
4
5 #ifndef AFPD_MISC_H
6 #define AFPD_MISC_H 1
7
8 #include <sys/cdefs.h>
9 #include "globals.h"
10
11 /* FP functions */
12 /* messages.c */
13 extern int      afp_getsrvrmesg __P((AFPObj *, char *, int, char *, int *));
14
15 /* afs.c */
16 #ifdef AFS
17 extern int      afp_getdiracl __P((AFPObj *, char *, int, char *, int *));
18 extern int      afp_setdiracl __P((AFPObj *, char *, int, char *, int *));
19 #else /* AFS */
20 #define afp_getdiracl   NULL
21 #define afp_setdiracl   NULL
22 #endif /* AFS */
23
24 #if defined( AFS ) && defined( UAM_AFSKRB )
25 extern int      afp_afschangepw __P((AFPObj *, char *, int, char *, int *));
26 #else /* AFS && UAM_AFSKRB */
27 #define afp_afschangepw NULL
28 #endif /* AFS && UAM_AFSKRB */
29
30 #endif