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
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
/* 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 */
|
||||
|
||||
Reference in New Issue
Block a user