X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fglobals.h;h=ef77470a99b4939476cec125e7ece7e1b1d56235;hb=ad220cd96d55445846d30b951a188ec5f9b849b2;hp=90a9247012b705df432858c4b10289c5bd2e3680;hpb=4462b9770815c65cd56ee9220eff080cd270abc0;p=netatalk.git diff --git a/etc/afpd/globals.h b/etc/afpd/globals.h index 90a92470..ef77470a 100644 --- a/etc/afpd/globals.h +++ b/etc/afpd/globals.h @@ -7,7 +7,6 @@ #define AFPD_GLOBALS_H 1 #include -#include #ifdef ADMIN_GRP #include @@ -37,7 +36,6 @@ #define OPTION_UUID (1 << 7) #define OPTION_ACL2MACCESS (1 << 8) #define OPTION_NOZEROCONF (1 << 9) -#define OPTION_CATSEARCH_DB (1 << 10) #ifdef FORCE_UIDGID /* set up a structure for this */ @@ -58,6 +56,8 @@ struct afp_volume_name { struct afp_options { int connections, transports, tickleval, timeout, server_notif, flags, dircachesize; + int sleep; /* Maximum time allowed to sleep (in tickles) */ + int disconnected; /* Maximum time in disconnected state (in tickles) */ unsigned char passwdbits, passwdminlen, loginmaxfail; u_int32_t server_quantum; char hostname[MAXHOSTNAMELEN + 1], *server, *ipaddr, *port, *configfile; @@ -79,7 +79,6 @@ struct afp_options { charset_t maccharset, unixcharset; mode_t umask; mode_t save_mask; - int sleep; #ifdef ADMIN_GRP gid_t admingid; #endif /* ADMIN_GRP */ @@ -108,7 +107,7 @@ typedef struct _AFPObj { void *uam_cookie; /* cookie for uams */ struct session_info sinfo; uid_t uid; /* client running user id */ - + int ipc_fd; /* anonymous PF_UNIX socket for IPC with afpd parent */ #ifdef FORCE_UIDGID int force_uid; uidgidset uidgid;