summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte2011-08-27 14:33:19 +0200
committerHarald Welte2011-08-31 19:40:03 +0200
commit36c5a3e2857b049e1e979beb7d476426ae475831 (patch)
treed2317566548eea484231996e54949c2984fc7fec /include
parentdoxygen: Add main page for all three libraries (diff)
downloadlibosmocore-36c5a3e2857b049e1e979beb7d476426ae475831.tar.gz
libosmocore-36c5a3e2857b049e1e979beb7d476426ae475831.tar.xz
libosmocore-36c5a3e2857b049e1e979beb7d476426ae475831.zip
logging: add osmo_vlogp() as vararg / va_list compatible function
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/logging.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 9476211..fc4e2fb 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -27,6 +27,9 @@
#endif
+void osmo_vlogp(int subsys, int level, char *file, int line,
+ int cont, const char *format, va_list ap);
+
void logp(int subsys, char *file, int line, int cont, const char *format, ...) __attribute__ ((format (printf, 5, 6)));
/*! \brief Log a new message through the Osmocom logging framework