haiku/headers/private/net/net_module.h
David Reid cda78f2486 Start adding the networking headers in their correct place and with
the correct things in them.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@64 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 22:10:23 +00:00

30 lines
452 B
C

/* net_module.h
* fundtions and staructures for all modules using the
* net_server
*/
#ifndef _NET_NET_MODULE_H
#define _NET_NET_MODULE_H
#include <OS.h>
#include <module.h>
struct kernel_net_module_info {
module_info info;
int (*start)(void *);
int (*stop)(void);
};
struct net_module {
struct net_module *next;
char *name;
struct kernel_net_module_info *ptr;
int status;
};
int inetctlerrmap(int);
#endif /* _NET_NET_MODULE_H */