]> arthur.barton.de Git - netatalk.git/commitdiff
more AFP 3.x define root-netatalk-1-6
authordidg <didg>
Wed, 9 Oct 2002 18:46:31 +0000 (18:46 +0000)
committerdidg <didg>
Wed, 9 Oct 2002 18:46:31 +0000 (18:46 +0000)
etc/afpd/file.h
etc/afpd/volume.h
include/atalk/afp.h

index 907ecd1de533bf008ef1622b87821317381517fa..84049e9ab1539841dd0156fa2dcedea683a4a4fd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: file.h,v 1.10 2002-09-29 18:44:16 didg Exp $
+ * $Id: file.h,v 1.11 2002-10-09 18:46:31 didg Exp $
  *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
 
 extern const u_char    ufinderi[];
 
-#define FILPBIT_ATTR   0
-#define FILPBIT_PDID   1
-#define FILPBIT_CDATE  2
-#define FILPBIT_MDATE  3
-#define FILPBIT_BDATE  4
-#define FILPBIT_FINFO  5
-#define FILPBIT_LNAME  6
-#define FILPBIT_SNAME  7
-#define FILPBIT_FNUM   8
-#define FILPBIT_DFLEN  9
-#define FILPBIT_RFLEN  10
-#define FILPBIT_PDINFO  13    /* ProDOS Info */
+#define FILPBIT_ATTR    0
+#define FILPBIT_PDID    1
+#define FILPBIT_CDATE   2
+#define FILPBIT_MDATE   3
+#define FILPBIT_BDATE   4
+#define FILPBIT_FINFO   5
+#define FILPBIT_LNAME   6
+#define FILPBIT_SNAME   7
+#define FILPBIT_FNUM    8
+#define FILPBIT_DFLEN   9
+#define FILPBIT_RFLEN   10
+#define FILPBIT_EXTDFLEN 11
+#define FILPBIT_PDINFO   13    /* ProDOS Info */
+#define FILPBIT_EXTRFLEN 14
 
 /* attribute bits. (d) = directory attribute bit as well. */
 #define ATTRBIT_INVISIBLE (1<<0)  /* invisible (d) */
index 2a55c9cc4db228820e4e45bfce6f27a918a6eedf..ea666c9b2ff80cffc0ad692a4155293ab36ec014 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: volume.h,v 1.14 2002-09-29 18:44:16 didg Exp $
+ * $Id: volume.h,v 1.15 2002-10-09 18:46:32 didg Exp $
  *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -120,6 +120,9 @@ int wincheck(const struct vol *vol, const char *path);
 #define VOLPBIT_ATTR_FILEID       (1 << 2)
 #define VOLPBIT_ATTR_CATSEARCH    (1 << 3)
 #define VOLPBIT_ATTR_BLANKACCESS  (1 << 4)
+#define VOLPBIT_ATTR_UNIXPRIV     (1 << 5)
+#define VOLPBIT_ATTR_UTF8         (1 << 6)
+#define VOLPBIT_ATTR_NONETUID     (1 << 7)
 
 #define VOLPBIT_ATTR   0
 #define VOLPBIT_SIG    1
index 987556e4615b017d2be02972e790cc28e56517f5..16f815b850c28342360e6f54d61732be0781b2b7 100644 (file)
@@ -50,6 +50,12 @@ typedef u_int16_t AFPUserBytes;
 #define AFPSRVRINFO_SRVSIGNATURE (1<<4)  /* supports server signature */
 #define AFPSRVRINFO_TCPIP        (1<<5)  /* supports tcpip */
 #define AFPSRVRINFO_SRVNOTIFY    (1<<6)  /* supports server notifications */ 
+
+#define AFPSRVRINFO_SRVRECONNECT (1<<7)  /* supports server reconnect */ 
+#define AFPSRVRINFO_SRVRDIR      (1<<8)  /* supports directories service */ 
+
+#define AFPSRVRINFO_SRVUTF8      (1<<9)  /* supports UTF8 names AFP 3.1 */ 
+
 #define AFPSRVRINFO_FASTBOZO    (1<<15) /* fast copying */
 
 #define AFP_OK         0