]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - server.h
Put IPv4-specific parts inside the ACL subsystem
[paraslash.git] / server.h
index 5678d95b2860b61a0177cf813434d9605fb40c78..8d1d6752daa8b558c4f5160a37e3d11155074832 100644 (file)
--- a/server.h
+++ b/server.h
@@ -36,6 +36,8 @@ struct sender_command_data{
        int sender_num;
        /** Used for the allow/deny/add/remove subcommands. */
        struct in_addr addr;
+       /** Used for the allow/deny/add/remove subcommands. */
+       char host[256];
        /** Used for allow/deny. */
        int netmask;
        /** The port number for add/remove. */
@@ -106,3 +108,4 @@ struct misc_meta_data {
 extern struct server_args_info conf;
 
 __noreturn void handle_connect(int fd, const char *peername);
+void parse_config_or_die(int override);