summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-03-09 15:37:57 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-03-09 15:37:57 +0000
commit855cf216127e1fd6f6aba60c3761a0ead17ae910 (patch)
tree18d4a86953ee4912c2573edd39186fdab1287d3a /network
parent3406c27e758f3dfa182f6fdfcc878bc3a53e3c98 (diff)
Create init and exit functions
Diffstat (limited to 'network')
-rw-r--r--network/main.c6
-rw-r--r--network/manager.c9
-rw-r--r--network/manager.h3
3 files changed, 18 insertions, 0 deletions
diff --git a/network/main.c b/network/main.c
index 7f643c58..e51c73aa 100644
--- a/network/main.c
+++ b/network/main.c
@@ -28,7 +28,13 @@
#include <stdio.h>
#include <errno.h>
+#include "manager.h"
+
int main(int argc, char *argv[])
{
+ network_init();
+
+ network_exit();
+
return 0;
}
diff --git a/network/manager.c b/network/manager.c
index 90d20927..33679a51 100644
--- a/network/manager.c
+++ b/network/manager.c
@@ -26,3 +26,12 @@
#endif
#include "manager.h"
+
+int network_init(void)
+{
+ return 0;
+}
+
+void network_exit(void)
+{
+}
diff --git a/network/manager.h b/network/manager.h
index e87dd676..b659d8dc 100644
--- a/network/manager.h
+++ b/network/manager.h
@@ -20,3 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
+
+int network_init(void);
+void network_exit(void);