]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conf.h
Don't even fork a PAM-subprocess if "NoPAM" option is set
[ngircd-alex.git] / src / ngircd / conf.h
index 5764d0f3556249441387bff87e452918b1049e2a..74abc1d95010d889ba626f76c836abcc8fc7db14 100644 (file)
@@ -22,7 +22,7 @@
 #include "portab.h"
 #include "tool.h"
 #include "ng_ipaddr.h"
-#include "resolve.h"
+#include "proc.h"
 #include "conf-ssl.h"
 
 
@@ -41,7 +41,7 @@ typedef struct _Conf_Server
        UINT16 port;                    /* Server port */
        int group;                      /* Group of server */
        time_t lasttry;                 /* Last connect attempt */
-       RES_STAT res_stat;              /* Status of the resolver */
+       PROC_STAT res_stat;             /* Status of the resolver */
        int flags;                      /* Flags */
        CONN_ID conn_id;                /* ID of server connection or NONE */
        ng_ipaddr_t bind_addr;          /* source address to use for outgoing
@@ -152,6 +152,9 @@ GLOBAL bool Conf_NoDNS;
 /* Disable IDENT lookups, even when compiled with support for it */
 GLOBAL bool Conf_NoIdent;
 
+/* Disable all usage of PAM, even when compiled with support for it */
+GLOBAL bool Conf_NoPAM;
+
 /*
  * try to connect to remote systems using the ipv6 protocol,
  * if they have an ipv6 address? (default yes)