]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/globals.h
change SIGHUP and SIGUSR1, SIGHUP reload config files, Volumes file are reloaded...
[netatalk.git] / etc / afpd / globals.h
index 65ab4f77ab641a0a2cd24d1d84e803bf03b1ca82..41b067e6abae0f36195deb3aec2db16651b057f8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: globals.h,v 1.14 2002-08-31 05:35:10 jmarcus Exp $
+ * $Id: globals.h,v 1.18.2.1 2003-05-26 11:17:25 didg Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -48,6 +48,13 @@ typedef struct uidgidset_t {
 
 /* a couple of these options could get stuck in unions to save
  * space. */
+struct afp_volume_name {
+    time_t     mtime;
+    char       *name;
+    char       *full_name;
+    int        loaded;
+};
+
 struct afp_options {
     int connections, port, transports, tickleval, timeout, server_notif, flags;
     unsigned char passwdbits, passwdminlen, loginmaxfail;
@@ -55,10 +62,14 @@ struct afp_options {
     char hostname[MAXHOSTNAMELEN + 1], *server, *ipaddr, *configfile;
     struct at_addr ddpaddr;
     char *uampath, *nlspath, *fqdn;
-    char *pidfile, *defaultvol, *systemvol;
+    char *pidfile;
+    struct afp_volume_name defaultvol, systemvol, uservol;
+
     char *guest, *loginmesg, *keyfile, *passwdfile;
     char *uamlist;
     char *authprintdir;
+    char *signature;
+    char *k5service, *k5realm;
     mode_t umask;
     mode_t save_mask;
 #ifdef ADMIN_GRP
@@ -88,10 +99,12 @@ typedef struct AFPObj {
 } AFPObj;
 
 extern int             afp_version;
+extern int             afp_errno;
 extern unsigned char   nologin;
 extern struct dir      *curdir;
 extern char            getwdbuf[];
 
+extern int  get_afp_errno   __P((const int param));
 extern void afp_options_init __P((struct afp_options *));
 extern int afp_options_parse __P((int, char **, struct afp_options *));
 extern int afp_options_parseline __P((char *, struct afp_options *));