network_stop(): Fixed forgotten removal of a foreign PID file.
[udpgate.git] / src / network.h
index 05f5cb6..c341ae7 100644 (file)
@@ -30,8 +30,10 @@ G_BEGIN_DECLS
 
 pid_t is_daemon_running(void);
 gboolean network_start(gint port);
+gboolean optarg_port_set_string(const gchar *string);
 gboolean network_stop(void);
-void (*network_notify_hostip)(guint32 hostip_guint32,const gchar *hostip_string);
+extern void (*network_notify_hostip)(guint32 hostip_guint32);
+gboolean network_detach(void);
 
 G_END_DECLS