5
Last change
on this file since 0e16fa45 was
7ae1c30,
checked in by Chris Johns <chrisj@…>, on 10/31/14 at 05:20:02
|
libnetworking: Fix the sethostname decl to match newlib.
|
-
Property mode set to
100644
|
File size:
763 bytes
|
Line | |
---|
1 | #define DEBUG 1 /* enable debugging code (needed for dig) */ |
---|
2 | #define RESOLVSORT /* allow sorting of addresses in gethostbyname */ |
---|
3 | #define RFC1535 /* comply with RFC1535 (STRONGLY reccomended by vixie)*/ |
---|
4 | #undef USELOOPBACK /* res_init() bind to localhost */ |
---|
5 | #undef SUNSECURITY /* verify gethostbyaddr() calls - WE DONT NEED IT */ |
---|
6 | #define MULTI_PTRS_ARE_ALIASES 1 /* fold multiple PTR records into aliases */ |
---|
7 | #define CHECK_SRVR_ADDR 1 /* confirm that the server requested sent the reply */ |
---|
8 | #define BIND_UPDATE 1 /* update support */ |
---|
9 | |
---|
10 | #if defined(__rtems__) |
---|
11 | u_int16_t _getshort(const u_char *src); |
---|
12 | u_int32_t _getlong(const u_char *src); |
---|
13 | int gethostname (char *name, size_t namelen); |
---|
14 | int sethostname (const char *name, size_t namelen); |
---|
15 | int issetugid (void); |
---|
16 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.