diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-06-01 14:22:41 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-06-01 14:22:41 +0000 |
commit | 82d101b415a99d06fb724267d18c3be842ed2b1b (patch) | |
tree | 10852becb6bb26b9d269580c311d992bac03f854 /mdk-stage1/dietlibc/include | |
parent | c9b71511379834d398dda23fe8e278ab48a7d3c3 (diff) | |
download | drakx-82d101b415a99d06fb724267d18c3be842ed2b1b.tar drakx-82d101b415a99d06fb724267d18c3be842ed2b1b.tar.gz drakx-82d101b415a99d06fb724267d18c3be842ed2b1b.tar.bz2 drakx-82d101b415a99d06fb724267d18c3be842ed2b1b.tar.xz drakx-82d101b415a99d06fb724267d18c3be842ed2b1b.zip |
slight modifs to get ppp and pppoe stuff compile better
Diffstat (limited to 'mdk-stage1/dietlibc/include')
-rw-r--r-- | mdk-stage1/dietlibc/include/netdb.h | 15 | ||||
-rw-r--r-- | mdk-stage1/dietlibc/include/termios.h | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/netdb.h b/mdk-stage1/dietlibc/include/netdb.h index 887faa999..e90ea81ac 100644 --- a/mdk-stage1/dietlibc/include/netdb.h +++ b/mdk-stage1/dietlibc/include/netdb.h @@ -72,4 +72,19 @@ struct protoent *getprotobynumber(int proto) __THROW; void setprotoent(int stayopen) __THROW; void endprotoent(void) __THROW; + +/* Description of data base entry for a single network. NOTE: here a + poor assumption is made. The network number is expected to fit + into an unsigned long int variable. */ +struct netent +{ + char *n_name; /* Official name of network. */ + char **n_aliases; /* Alias list. */ + int n_addrtype; /* Net address type. */ + uint32_t n_net; /* Network number. */ +}; + +extern struct netent *getnetbyname (__const char *__name) __THROW; + + #endif diff --git a/mdk-stage1/dietlibc/include/termios.h b/mdk-stage1/dietlibc/include/termios.h index 4c4b8f4dc..f10909c1b 100644 --- a/mdk-stage1/dietlibc/include/termios.h +++ b/mdk-stage1/dietlibc/include/termios.h @@ -17,5 +17,6 @@ speed_t cfgetospeed(struct termios *termios_p) __THROW; int cfsetospeed(struct termios *termios_p, speed_t speed) __THROW; speed_t cfgetispeed(struct termios *termios_p) __THROW; int cfsetispeed(struct termios *termios_p, speed_t speed) __THROW; +int tcflush(int fd, int queue_selector) __THROW; #endif |