X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fstatus.h;h=c4ee50e44aa3569cf0be060ba62f19ac870626af;hb=b3460c7a91a95c030b1019621f1efd73a260ee64;hp=3a29a17418f092681bbf986e7de0a6b365158f91;hpb=f22b2f0df4776198f29eecafe6436d2e1e31f972;p=netatalk.git diff --git a/etc/afpd/status.h b/etc/afpd/status.h index 3a29a174..c4ee50e4 100644 --- a/etc/afpd/status.h +++ b/etc/afpd/status.h @@ -4,7 +4,8 @@ #include #include #include -#include "globals.h" +#include + #include "afp_config.h" /* we use these to prevent whacky alignment problems */ @@ -13,6 +14,7 @@ #define AFPSTATUS_UAMSOFF 4 #define AFPSTATUS_ICONOFF 6 #define AFPSTATUS_FLAGOFF 8 + /* AFPSTATUS_PRELEN is the number of bytes for status data prior to * the ServerName field. * @@ -20,6 +22,7 @@ * UAMCount, VolumeIconAndMask, and the 16-bit "Fixed" status flags. */ #define AFPSTATUS_PRELEN 10 + /* AFPSTATUS_POSTLEN is the number of bytes for offset records * after the ServerName field. * @@ -29,6 +32,9 @@ #define AFPSTATUS_POSTLEN 8 #define AFPSTATUS_LEN (AFPSTATUS_PRELEN + AFPSTATUS_POSTLEN) +/* AFPSTATUS_MACHLEN is the number of characters for the MachineType. */ +#define AFPSTATUS_MACHLEN 16 + #define PASSWD_NONE 0 #define PASSWD_SET (1 << 0)