X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=net.h;h=ae5e80150cca3b8d9b4aef93fb9dfe8e98592e79;hp=a3ff49e950e57e98a885c49e57581d4e485d369f;hb=73299ebf0a43f0cbf299585f0d5d6ff09e3b93eb;hpb=748d1368bc96dd7e1af879df1ea41b4d52842f7e diff --git a/net.h b/net.h index a3ff49e9..ae5e8015 100644 --- a/net.h +++ b/net.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2012 Andre Noll + * Copyright (C) 2006-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -61,12 +61,8 @@ struct flowopts; extern struct flowopts *flowopt_new(void); extern void flowopt_add(struct flowopts *fo, int level, int opt, const char *name, const void *val, int len); -extern void flowopt_add_bool(struct flowopts *fo, int lev, int opt, - const char *optname, bool on_or_off); /** Flowopt shortcut macros */ #define OPT_ADD(fo, lev, opt, val, len) flowopt_add(fo, lev, opt, #opt, val, len) -#define OPT_ENABLE(fo, lev, opt) flowopt_add_bool(fo, lev, opt, #opt, 1) -#define OPT_DISABLE(fo, lev, opt) flowopt_add_bool(fo, lev, opt, #opt, 0) /** * Functions to parse and validate (parts of) URLs.