mirror of
https://review.haiku-os.org/haiku
synced 2025-01-20 05:21:28 +01:00
cda78f2486
the correct things in them. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@64 a95241bf-73f2-0310-859d-f6bbb57e9c96
30 lines
452 B
C
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 */
|
|
|