X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fatalk%2Fafp.h;h=b93eb8bce4ea0dd129ee25362ee8f4268cc0f57e;hb=b82fd352a6bcb02696304173efcad7e313420a21;hp=d1b09e298c99650e842a829ba008cb325d011164;hpb=103e6c1dbb5131b98d6bcb3354278a37c95bd0f1;p=netatalk.git diff --git a/include/atalk/afp.h b/include/atalk/afp.h index d1b09e29..b93eb8bc 100644 --- a/include/atalk/afp.h +++ b/include/atalk/afp.h @@ -50,9 +50,16 @@ 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_UUID (1<<10) /* supports UUIDs */ #define AFPSRVRINFO_FASTBOZO (1<<15) /* fast copying */ #define AFP_OK 0 +#define AFPERR_DID1 -4000 /* not an afp error DID is 1*/ #define AFPERR_ACCESS -5000 /* permission denied */ #define AFPERR_AUTHCONT -5001 /* logincont */ #define AFPERR_BADUAM -5002 /* uam doesn't exist */ @@ -158,7 +165,7 @@ typedef enum { #define AFP_GETFLDRPARAM 34 #define AFP_SETFLDRPARAM 35 #define AFP_CHANGEPW 36 - +#define AFP_GETUSERINFO 37 #define AFP_GETSRVRMSG 38 #define AFP_CREATEID 39 #define AFP_DELETEID 40 @@ -180,4 +187,30 @@ typedef enum { #define AFP_GETCMT 58 #define AFP_ADDICON 192 +/* version 3.0 */ +#define AFP_BYTELOCK_EXT 59 +#define AFP_CATSEARCH_EXT 67 +#define AFP_ENUMERATE_EXT 66 +#define AFP_READ_EXT 60 +#define AFP_WRITE_EXT 61 +#define AFP_LOGIN_EXT 63 +#define AFP_GETSESSTOKEN 64 +#define AFP_DISCTOLDSESS 65 + +/* version 3.1 */ +#define AFP_ENUMERATE_EXT2 68 +#define AFP_SPOTLIGHT_PRIVATE 76 +#define AFP_SYNCDIR 78 +#define AFP_SYNCFORK 79 +#define AFP_ZZZ 122 + +/* version 3.2 */ +#define AFP_GETEXTATTR 69 +#define AFP_SETEXTATTR 70 +#define AFP_REMOVEATTR 71 +#define AFP_LISTEXTATTR 72 +#define AFP_GETACL 73 +#define AFP_SETACL 74 +#define AFP_ACCESS 75 + #endif