]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/uid.h
Reduce log clutter
[netatalk.git] / etc / afpd / uid.h
index 106b86cd2e091cd790dd565f67d005eed02d5200..7f00b20676a73bf74705a0e6cb4dc7d964d6c5e0 100644 (file)
@@ -1,27 +1,25 @@
 /*
- * $Id: uid.h,v 1.1 2001-01-02 23:00:35 rufustfirefly Exp $
+ * $Id: uid.h,v 1.6 2002-08-30 19:32:41 didg Exp $
  * code: jeff@univrel.pr.uconn.edu
  */
 
 #ifndef AFPD_UID_H
 #define AFPD_UID_H 1
 
+#ifdef FORCE_UIDGID
+
 /* have to make sure struct vol is defined */
 #include "volume.h"
 
-/* set up a structure for this */
-typedef struct uidgidset_t {
-       int uid;
-       int gid;
-} uidgidset;
-
 /* functions to save and restore uid/gid pairs */
 extern void save_uidgid    ( uidgidset * );
 extern void restore_uidgid ( uidgidset * );
-extern void set_uidgid     ( struct vol * );
+extern void set_uidgid     ( const struct vol * );
 
 /* internal functions to convert user and group names to ids */
 extern int  user_to_uid  ( char * );
 extern int  group_to_gid ( char * );
 
+#endif /* FORCE_UIDGID */
+
 #endif