X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;ds=sidebyside;f=cll1.h;h=6f07bd67f96322b744b75eeef256446b4224b6cc;hb=85baf101e98440f1e0182f802f0419aa92308e19;hp=d2b2211ff1be269dbf650b13f36793e657616963;hpb=a4f661fc8c4d2ef31306e8d4d6f8b0b310623919;p=svn%2FPrometheus-QoS%2F.git diff --git a/cll1.h b/cll1.h index d2b2211..6f07bd6 100644 --- a/cll1.h +++ b/cll1.h @@ -1,8 +1,8 @@ -/* C<<1 header file v0.6 - style sheet for ANSI C */ +/* C<<1 header file v0.6.1 - style sheet for ANSI C */ /* Please pronounce as "cee-shift-left-by-one" :) */ -/* Copyright (G) 2004-2006 Michael xChaos Polak, x@n.cz +/* Copyright (G) 2004-2007 Michael xChaos Polak, x(at)n.cz The C<<1 header file is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -24,6 +24,8 @@ #include #include +#include +#include #include /* Section For Dummies part 1, updated 2004-05-07 by xCh. */ @@ -112,6 +114,7 @@ #define option(STR,SETVAR) if(_){char *_K,*_V,*_O,*_Q; duplicate(_,_Q); _O=_Q; tr(_O,'\t',' '); prefix(_K,_O,' '); if(eq(STR,_K)) {skipspaces(_O); prefix(_V,_O,'#'); cutspaces(_V); SETVAR=_V; _=NULL;} else free(_Q);} #define ioption(STR,SETVAR) if(_){char *_K,*_V,*_O,*_Q; duplicate(_,_Q); _O=_Q; tr(_O,'\t',' '); prefix(_K,_O,' '); if(eq(STR,_K)) {skipspaces(_O); prefix(_V,_O,'#'); cutspaces(_V); SETVAR=atoi(_V); _=NULL;} free(_Q);} #define loption(STR,SETVAR) if(_){char *_K,*_V,*_O,*_Q; duplicate(_,_Q); _O=_Q; tr(_O,'\t',' '); prefix(_K,_O,' '); if(eq(STR,_K)) {skipspaces(_O); prefix(_V,_O,'#'); cutspaces(_V); SETVAR=atol(_V); _=NULL;} free(_Q);} +#define lloption(STR,SETVAR) if(_){char *_K,*_V,*_O,*_Q; duplicate(_,_Q); _O=_Q; tr(_O,'\t',' '); prefix(_K,_O,' '); if(eq(STR,_K)) {skipspaces(_O); prefix(_V,_O,'#'); cutspaces(_V); SETVAR=atoll(_V); _=NULL;} free(_Q);} /* Dynamic list advanced I/O, updated 2003-05-30 by xCh. */