summaryrefslogtreecommitdiffhomepage
path: root/netifd.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-16 02:01:36 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-16 02:01:36 +0200
commit39f9caf261f99a4c944c59ad2be0473051fd43ec (patch)
treeaac392aac39a420215d7c0d30c9f43d0fd2d46d4 /netifd.h
parentb314737e9a0f0df710ba5e8691882cd7d42faaf5 (diff)
add support for logging messages via syslog (or optionally stdout)
Diffstat (limited to 'netifd.h')
-rw-r--r--netifd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/netifd.h b/netifd.h
index 316c746..8330aff 100644
--- a/netifd.h
+++ b/netifd.h
@@ -70,6 +70,8 @@ struct netifd_process {
bool log_overflow;
};
+void netifd_log_message(int priority, const char *format, ...);
+
int netifd_start_process(const char **argv, char **env, struct netifd_process *proc);
void netifd_kill_process(struct netifd_process *proc);