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/netdb.h | |
parent | c9b71511379834d398dda23fe8e278ab48a7d3c3 (diff) | |
download | drakx-backup-do-not-use-82d101b415a99d06fb724267d18c3be842ed2b1b.tar drakx-backup-do-not-use-82d101b415a99d06fb724267d18c3be842ed2b1b.tar.gz drakx-backup-do-not-use-82d101b415a99d06fb724267d18c3be842ed2b1b.tar.bz2 drakx-backup-do-not-use-82d101b415a99d06fb724267d18c3be842ed2b1b.tar.xz drakx-backup-do-not-use-82d101b415a99d06fb724267d18c3be842ed2b1b.zip |
slight modifs to get ppp and pppoe stuff compile better
Diffstat (limited to 'mdk-stage1/dietlibc/include/netdb.h')
-rw-r--r-- | mdk-stage1/dietlibc/include/netdb.h | 15 |
1 files changed, 15 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 |