]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/globals.h
remove gcc warnings and cleanup inline mess
[netatalk.git] / etc / afpd / globals.h
index 5b42bc1e381f07c98a9c98523656c1e93603c940..48571496fee1a189a1076012a3c0dc1012d54ce8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: globals.h,v 1.18.2.2.2.3 2004-01-08 19:16:57 lenneis Exp $
+ * $Id: globals.h,v 1.18.2.2.2.5.2.1 2008-11-25 15:16:33 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
 #include <atalk/afp.h>
 #include <atalk/compat.h>
 #include <atalk/unicode.h>
-
-/* test for inline */
-#ifndef __inline__
-#define __inline__
-#endif
+#include <atalk/uam.h>
 
 #define MACFILELEN 31
 
@@ -38,6 +34,7 @@
 #define OPTION_PROXY         (1 << 3)
 #define OPTION_CUSTOMICON    (1 << 4)
 #define OPTION_NOSLP         (1 << 5)
+#define OPTION_ANNOUNCESSH   (1 << 6)
 
 #ifdef FORCE_UIDGID
 /* set up a structure for this */
@@ -96,6 +93,7 @@ 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 */
+    struct session_info  sinfo;
 
 #ifdef FORCE_UIDGID
     int                 force_uid;