X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fauth.h;h=46c23fbd1fc7bfe856ef3377bb42ee1879c6f030;hb=2fdd522410f80afcd055d7333f491ee6c0b4b9fa;hp=1d4792454204c36ac28311d1f6c698d78b31a793;hpb=14874ef66d68c5200a9a42a7408d022d58211898;p=netatalk.git diff --git a/etc/afpd/auth.h b/etc/afpd/auth.h index 1d479245..46c23fbd 100644 --- a/etc/afpd/auth.h +++ b/etc/afpd/auth.h @@ -15,6 +15,19 @@ struct afp_versions { int av_number; }; +static const struct afp_versions afp_versions[] = { +#ifndef NO_DDP + { "AFPVersion 1.1", 11 }, + { "AFPVersion 2.0", 20 }, + { "AFPVersion 2.1", 21 }, +#endif /* ! NO_DDP */ + { "AFP2.2", 22 }, + { "AFPX03", 30 }, + { "AFP3.1", 31 }, + { "AFP3.2", 32 }, + { "AFP3.3", 33 } +}; + /* for GetUserInfo */ #define USERIBIT_USER (1 << 0) #define USERIBIT_GROUP (1 << 1)