summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-05-18 03:08:40 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-05-18 03:08:40 +0200
commitb34b3e2817950c6cccbc9cf2fce8cc137f433a88 (patch)
tree973428ea13a6d36b7658644d6f32f21edaea9a10 /src/types.h
parenta2b9f2c732232200fd4822e34d60d4c7f5ad37d2 (diff)
downloadfastd-b34b3e2817950c6cccbc9cf2fce8cc137f433a88.tar
fastd-b34b3e2817950c6cccbc9cf2fce8cc137f433a88.zip
New logging facilities
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/types.h b/src/types.h
index 6efd224..c213118 100644
--- a/src/types.h
+++ b/src/types.h
@@ -33,15 +33,6 @@
#ifndef _FASTD_TYPES_H_
#define _FASTD_TYPES_H_
-typedef enum _fastd_loglevel {
- LOG_FATAL = 0,
- LOG_ERROR,
- LOG_WARN,
- LOG_INFO,
- LOG_VERBOSE,
- LOG_DEBUG,
-} fastd_loglevel;
-
typedef enum _fastd_mode {
MODE_TAP,
MODE_TUN,
@@ -56,6 +47,9 @@ typedef struct _fastd_eth_addr fastd_eth_addr;
typedef struct _fastd_peer fastd_peer;
typedef struct _fastd_peer_eth_addr fastd_peer_eth_addr;
+typedef struct _fastd_log_file fastd_log_file;
+typedef struct _fastd_log_fd fastd_log_fd;
+
typedef struct _fastd_config fastd_config;
typedef struct _fastd_context fastd_context;