* add macro for use of ConstStr as parameter
authorWilfried Göesgens <willi@citadel.org>
Sun, 28 Feb 2010 19:28:10 +0000 (19:28 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 28 Feb 2010 19:28:10 +0000 (19:28 +0000)
webcit/paramhandling.h

index 35999ad98f552aa64144036b50e7f14fdd68a0ce..cd1c16038d24e43a06f513536acfd045b245bf8f 100644 (file)
@@ -20,6 +20,7 @@ long LBstr(const char *key, size_t keylen);
 long LBSTR(const char *key);
 
 #define ibstr(a) IBstr(a, sizeof(a) - 1)
+#define ibcstr(a) IBstr(a.Key, a.len)
 int IBstr(const char *key, size_t keylen);
 int IBSTR(const char *key);