Remove some unused code and move some funtions to other files to make them static.
[olsrd.git] / src / olsr_logging.h
index 8092734..2a5a7e1 100644 (file)
 #define LOGBUFFER_SIZE 1024
 #define MAX_LOG_HANDLER 8
 
+/**
+ * defines the severity of a logging event
+ */
+enum log_severity {
+  SEVERITY_DEBUG,                      //!< SEVERITY_DEBUG
+  SEVERITY_INFO,                       //!< SEVERITY_INFO
+  SEVERITY_WARN,                       //!< SEVERITY_WARN
+  SEVERITY_ERR,                        //!< SEVERITY_ERR
+
+  /* this one must be the last of the enums ! */
+  LOG_SEVERITY_COUNT                   //!< LOG_SEVERITY_COUNT
+};
+
 /**
  * these four macros should be used to generate OLSR logging output
  *