OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libnetworking/] [libc/] [res_config.h] - Blame information for rev 279

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
2
 *  $Id: res_config.h,v 1.2 2001-09-27 12:01:53 chris Exp $
3
 */
4
 
5
#define DEBUG   1       /* enable debugging code (needed for dig) */
6
#define RESOLVSORT      /* allow sorting of addresses in gethostbyname */
7
#define RFC1535         /* comply with RFC1535 (STRONGLY reccomended by vixie)*/
8
#undef  USELOOPBACK     /* res_init() bind to localhost */
9
#undef  SUNSECURITY     /* verify gethostbyaddr() calls - WE DONT NEED IT  */
10
#define MULTI_PTRS_ARE_ALIASES 1 /* fold multiple PTR records into aliases */
11
#define CHECK_SRVR_ADDR 1 /* confirm that the server requested sent the reply */
12
#define BIND_UPDATE 1   /* update support */
13
 
14
#if defined(__rtems__)
15
u_int16_t _getshort(const u_char *src);
16
u_int32_t _getlong(const u_char *src);
17
int gethostname (char *name, size_t namelen);
18
int sethostname (char *name, size_t namelen);
19
int issetugid (void);
20
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.