#define OPTION_DEBUG (1 << 0)
#define OPTION_CLOSEVOL (1 << 1)
#define OPTION_SERVERNOTIF (1 << 2)
#define OPTION_DEBUG (1 << 0)
#define OPTION_CLOSEVOL (1 << 1)
#define OPTION_SERVERNOTIF (1 << 2)
-#define OPTION_CUSTOMICON (1 << 4)
+#define OPTION_NOSENDFILE (1 << 3)
+/* #define OPTION_CUSTOMICON (1 << 4) */
+#define OPTION_AFP_READ_LOCK (1 << 5) /* whether to do AFP spec conforming read locks (default: no) */
#define OPTION_ANNOUNCESSH (1 << 6)
#define OPTION_UUID (1 << 7)
#define OPTION_ACL2MACCESS (1 << 8)
#define OPTION_NOZEROCONF (1 << 9)
#define OPTION_KEEPSESSIONS (1 << 10) /* preserve sessions across master afpd restart with SIGQUIT */
#define OPTION_ANNOUNCESSH (1 << 6)
#define OPTION_UUID (1 << 7)
#define OPTION_ACL2MACCESS (1 << 8)
#define OPTION_NOZEROCONF (1 << 9)
#define OPTION_KEEPSESSIONS (1 << 10) /* preserve sessions across master afpd restart with SIGQUIT */
#define PASSWD_NONE 0
#define PASSWD_SET (1 << 0)
#define PASSWD_NOSAVE (1 << 1)
#define PASSWD_ALL (PASSWD_SET | PASSWD_NOSAVE)
#define PASSWD_NONE 0
#define PASSWD_SET (1 << 0)
#define PASSWD_NOSAVE (1 << 1)
#define PASSWD_ALL (PASSWD_SET | PASSWD_NOSAVE)
/**********************************************************************************************
* Ini config sections
**********************************************************************************************/
#define INISEC_GLOBAL "Global"
/**********************************************************************************************
* Ini config sections
**********************************************************************************************/
#define INISEC_GLOBAL "Global"
- char *guest, *loginmesg, *keyfile, *passwdfile;
+ char *guest, *loginmesg, *keyfile, *passwdfile, *extmapfile;
char *uamlist;
char *signatureopt;
unsigned char signature[16];
char *k5service, *k5realm, *k5keytab;
char *uamlist;
char *signatureopt;
unsigned char signature[16];
char *k5service, *k5realm, *k5keytab;
extern int get_afp_errno (const int param);
extern void afp_options_init (struct afp_options *);
extern void afp_options_parse_cmdline(AFPObj *obj, int ac, char **av);
extern int get_afp_errno (const int param);
extern void afp_options_init (struct afp_options *);
extern void afp_options_parse_cmdline(AFPObj *obj, int ac, char **av);