summaryrefslogtreecommitdiffstats
path: root/src/openvpn/error.h
diff options
context:
space:
mode:
authorHeiko Hund <heiko.hund@sophos.com>2012-08-01 13:37:37 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2012-08-06 12:16:07 +0200
commit004ca97c9427841cc240f954d7594416cd249187 (patch)
treefc85236fc3cb72f0f8395d378580fd2dfdeb291c /src/openvpn/error.h
parent4f879daeb9b1b709c80d01e4872b30e23747c4a8 (diff)
downloadopenvpn-004ca97c9427841cc240f954d7594416cd249187.tar.gz
openvpn-004ca97c9427841cc240f954d7594416cd249187.tar.xz
openvpn-004ca97c9427841cc240f954d7594416cd249187.zip
add x_msg_va() log function
This change allows other functions to access the functionality in x_msg(). Needed for the plug-in logging API. Signed-off-by: Heiko Hund <heiko.hund@sophos.com> Acked-by: David Sommerseth <davids@redhat.com> Message-Id: 1343821058-11456-2-git-send-email-heiko.hund@sophos.com URL: http://article.gmane.org/gmane.network.openvpn.devel/6923 Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'src/openvpn/error.h')
-rw-r--r--src/openvpn/error.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvpn/error.h b/src/openvpn/error.h
index aedb7c3..27c48b6 100644
--- a/src/openvpn/error.h
+++ b/src/openvpn/error.h
@@ -182,6 +182,8 @@ void x_msg (const unsigned int flags, const char *format, ...)
#endif
; /* should be called via msg above */
+void x_msg_va (const unsigned int flags, const char *format, va_list arglist);
+
/*
* Function prototypes
*/