X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=etc%2Fafpd%2Fauth.h;h=f53513b6a7f34a4d5b37abd09607d2c9a51e9e2e;hb=70e3fcd8744752d6de0b93d089f41c28dca30bde;hp=d26354f38d972a58400d41bbcb2d78d47ab3e09d;hpb=e22bbf78a53bf739dd38383de42a23c95d43c15d;p=netatalk.git diff --git a/etc/afpd/auth.h b/etc/afpd/auth.h index d26354f3..f53513b6 100644 --- a/etc/afpd/auth.h +++ b/etc/afpd/auth.h @@ -1,6 +1,4 @@ /* - * $Id: auth.h,v 1.9 2009-10-15 10:43:13 didg Exp $ - * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. */ @@ -8,13 +6,7 @@ #ifndef AFPD_AUTH_H #define AFPD_AUTH_H 1 -#ifdef HAVE_LIMITS_H #include -#endif /* HAVE_LIMITS_H */ - -#ifdef HAVE_SYS_CDEFS_H -#include -#endif /* HAVE_SYS_CDEFS_H */ #include @@ -23,6 +15,15 @@ struct afp_versions { int av_number; }; +static const struct afp_versions afp_versions[] = { + { "AFP2.2", 22 }, + { "AFPX03", 30 }, + { "AFP3.1", 31 }, + { "AFP3.2", 32 }, + { "AFP3.3", 33 }, + { "AFP3.4", 34 } +}; + /* for GetUserInfo */ #define USERIBIT_USER (1 << 0) #define USERIBIT_GROUP (1 << 1)