haiku/headers/posix/sys/domain.h
Philippe Houdoin e803870545 Forgot to commit these... Should fix network stuff build issues.
Add again the load_driver_symbols() export into our KernelExport.h, as it's expected
by many kernel add-ons (drivers, modules)... the network ones, for a start.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-02-09 21:05:37 +00:00

36 lines
641 B
C

/* domain.h */
/* A domain is just a container for like minded protocols! */
#ifndef _SYS_DOMAIN_H
#define _SYS_DOMAIN_H
#ifdef __cplusplus
extern "C" {
#endif
struct domain {
int dom_family; /* AF_INET and so on */
char *dom_name;
void (*dom_init)(void); /* initialise */
struct protosw *dom_protosw; /* the protocols we have */
struct domain *dom_next;
int (*dom_rtattach)(void **, int);
int dom_rtoffset;
int dom_maxrtkey;
};
extern struct domain *domains;
void add_domain (struct domain *dom, int fam);
void remove_domain (int fam);
#ifdef __cplusplus
}
#endif
#endif /* _SYS_DOMAIN_H */