]> jfr.im git - solanum.git/blobdiff - include/s_newconf.h
Allow remote DIE and RESTART (from ircd-seven)
[solanum.git] / include / s_newconf.h
index bee3df7d2f09e79bf17dc20062227c9e4c0f5055..2a55a830082bb8c99b505d319b9041f1c70278d9 100644 (file)
@@ -96,10 +96,12 @@ struct remote_conf
 #define SHARED_TDLINE  0x0800
 #define SHARED_PDLINE  0x1000
 #define SHARED_UNDLINE 0x2000
+#define SHARED_GRANT   0x4000
+#define SHARED_DIE     0x8000
 
 #define SHARED_ALL     (SHARED_TKLINE | SHARED_PKLINE | SHARED_UNKLINE |\
                        SHARED_PXLINE | SHARED_TXLINE | SHARED_UNXLINE |\
-                       SHARED_TRESV | SHARED_PRESV | SHARED_UNRESV)
+                       SHARED_TRESV | SHARED_PRESV | SHARED_UNRESV | SHARED_GRANT)
 #define CLUSTER_ALL    (SHARED_ALL | SHARED_LOCOPS)
 
 /* flags used in hub/leaf */
@@ -112,6 +114,7 @@ struct oper_conf
        char *username;
        char *host;
        char *passwd;
+       char *certfp;
 
        int flags;
        int umodes;
@@ -180,6 +183,7 @@ struct server_conf
        char *host;
        char *passwd;
        char *spasswd;
+       char *certfp;
        int port;
        int flags;
        int servers;
@@ -191,6 +195,8 @@ struct server_conf
        char *class_name;
        struct Class *class;
        rb_dlink_node node;
+
+       uint16_t dns_query;
 };
 
 #define SERVER_ILLEGAL         0x0001
@@ -218,7 +224,7 @@ extern struct server_conf *find_server_conf(const char *name);
 
 extern void attach_server_conf(struct Client *, struct server_conf *);
 extern void detach_server_conf(struct Client *);
-extern void set_server_conf_autoconn(struct Client *source_p, const char *name, 
+extern void set_server_conf_autoconn(struct Client *source_p, const char *name,
                                        int newval);
 extern void disable_server_conf_autoconn(const char *name);