X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=server.h;h=8d1d6752daa8b558c4f5160a37e3d11155074832;hb=6ba0a5055cfdec25d54d90a56f9345d5d4be09be;hp=b37c9f13921908701f284f989ef17ac7c2c6bb24;hpb=b17c70f1f96ca624064dd5202c54be55ed4d71c6;p=paraslash.git diff --git a/server.h b/server.h index b37c9f13..8d1d6752 100644 --- a/server.h +++ b/server.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2008 Andre Noll + * Copyright (C) 1997-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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);