Module: sip-router
Branch: janakj/kcore
Commit: 511e44b641b0cb64eb07370c862b117360384c4d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=511e44b…
Author: Jan Janak <jan(a)iptel.org>
Committer: Jan Janak <jan(a)iptel.org>
Date: Sun Mar 8 04:54:58 2009 +0100
Macro append_chr added.
---
lib/kcore/km_ut.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/kcore/km_ut.h b/lib/kcore/km_ut.h
index 43fc11b..a2454a9 100644
--- a/lib/kcore/km_ut.h
+++ b/lib/kcore/km_ut.h
@@ -47,6 +47,9 @@
(_dest) += (_len) ; \
}while(0); \
+/*! append _c char to _dest string */
+#define append_chr(_dest,_c) \
+ *((_dest)++) = _c;
/* INTeger-TO-Buffer-STRing : convers an unsigned long to a string