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
This commit is contained in:
Philippe Houdoin
2003-02-09 21:05:37 +00:00
parent d11f020628
commit e803870545
11 changed files with 72 additions and 75 deletions
+11 -5
View File
@@ -5,6 +5,10 @@
#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;
@@ -19,11 +23,13 @@ struct domain {
int dom_maxrtkey;
};
#ifdef _KERNEL_MODE
struct domain *domains;
extern struct domain *domains;
void add_domain (struct domain *dom, int fam);
void remove_domain (int fam);
#endif /* _KERNEL_MODE */
void add_domain (struct domain *dom, int fam);
void remove_domain (int fam);
#ifdef __cplusplus
}
#endif
#endif /* _SYS_DOMAIN_H */
-2
View File
@@ -11,7 +11,6 @@ typedef struct iovec {
} iovec;
#ifdef _KERNEL_MODE
enum uio_rw { UIO_READ, UIO_WRITE };
/* Segment flag values. */
@@ -31,7 +30,6 @@ struct uio {
};
int uiomove(char *cp, int n, struct uio *uio);
#endif
ssize_t readv(int fd, const struct iovec *vector, size_t count);
ssize_t readv_pos(int fd, off_t pos, const struct iovec *vec, size_t count);