]> arthur.barton.de Git - netatalk.git/commitdiff
cleaning: was missing in previous commit
authordidg <didg>
Fri, 30 Aug 2002 19:35:16 +0000 (19:35 +0000)
committerdidg <didg>
Fri, 30 Aug 2002 19:35:16 +0000 (19:35 +0000)
etc/afpd/globals.h

index 173930df13251848648a47966e68ec9bcbaec232..0d93f2eef5189c6f838de33403d461e24ef1aee5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: globals.h,v 1.12 2002-05-03 22:51:34 jmarcus Exp $
+ * $Id: globals.h,v 1.13 2002-08-30 19:35:16 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
 #define OPTION_CUSTOMICON    (1 << 4)
 #define OPTION_NOSLP         (1 << 5)
 
+#ifdef FORCE_UIDGID
+/* set up a structure for this */
+typedef struct uidgidset_t {
+    uid_t uid;
+    gid_t gid;
+} uidgidset;
+#endif /* FORCE_UIDGID */
+
 /* a couple of these options could get stuck in unions to save
  * space. */
 struct afp_options {
@@ -71,6 +79,11 @@ typedef struct AFPObj {
     /* to prevent confusion, only use these in afp_* calls */
     char oldtmp[AFPOBJ_TMPSIZ + 1], newtmp[AFPOBJ_TMPSIZ + 1];
     void *uam_cookie; /* cookie for uams */
+
+#ifdef FORCE_UIDGID
+    int                 force_uid;
+    uidgidset          uidgid;
+#endif
 } AFPObj;
 
 extern int             afp_version;