projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2d458
)
* add macro to use conststrs to access hashes
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 16 Jun 2009 23:37:15 +0000
(23:37 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 16 Jun 2009 23:37:15 +0000
(23:37 +0000)
libcitadel/lib/libcitadel.h
patch
|
blob
|
history
diff --git
a/libcitadel/lib/libcitadel.h
b/libcitadel/lib/libcitadel.h
index 5e8106f8b16acc16050f680cc412e03b88568436..2b05c2a1afc8302c2d3fa968cb5738c4f598ea1c 100644
(file)
--- a/
libcitadel/lib/libcitadel.h
+++ b/
libcitadel/lib/libcitadel.h
@@
-218,7
+218,7
@@
typedef struct _ConstStr {
const char *Key;
long len;
}ConstStr;
-
+#define CKEY(a) (a).Key, (a).len
StrBuf* NewStrBuf(void);
StrBuf* NewStrBufDup(const StrBuf *CopyMe);