summaryrefslogtreecommitdiff
path: root/lib/vlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vlog.c')
-rw-r--r--lib/vlog.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/vlog.c b/lib/vlog.c
index 60ce3b420..dbf46c5ab 100644
--- a/lib/vlog.c
+++ b/lib/vlog.c
@@ -15,7 +15,7 @@
*/
#include <config.h>
-#include "vlog.h"
+#include "openvswitch/vlog.h"
#include <assert.h>
#include <ctype.h>
#include <errno.h>
@@ -170,6 +170,11 @@ vlog_get_facility_val(const char *name)
return i;
}
+void vlog_insert_module(struct ovs_list *vlog)
+{
+ list_insert(&vlog_modules, vlog);
+}
+
/* Returns the name for logging module 'module'. */
const char *
vlog_get_module_name(const struct vlog_module *module)