Ignore:
Timestamp:
Jul 11, 2003, 1:39:47 PM (22 years ago)
Author:
bird
Message:

#434: no function redefinitions. TCPCALL not _System.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/arpa/nameser.h

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r353 r354  
    362362
    363363
    364 #ifdef TCPV40HDRS
    365 /** @name tcpip40 function mappings.
    366  * @{ */
    367 #define _getshort           tcpip40__getshort
    368 #define _getlong            tcpip40__getlong
    369 #define putshort            tcpip40_putshort
    370 #define putlong             tcpip40_putlong
    371 #define dn_expand           tcpip40_dn_expand
    372 #define dn_comp             tcpip40_dn_comp
    373 #define dn_find             tcpip40_dn_find
    374 #define dn_skipname         tcpip40_dn_skipname
    375 #define res_init            tcpip40_res_init
    376 #define res_mkquery         tcpip40_res_mkquery
    377 #define res_send            tcpip40_res_send
    378 #define res_query           tcpip40_res_query
    379 #define res_search          tcpip40_res_search
    380 #define res_querydomain     tcpip40_res_querydomain
    381 /* @} */
    382 #endif
    383 
    384364/* function prototypes */
    385 u_short _System _getshort(u_char*);
    386 u_long  _System _getlong(u_char*);
     365#ifndef TCPCALL
     366#define TCPCALL _System
     367#endif
     368
     369u_short TCPCALL _getshort(u_char*);
     370u_long  TCPCALL _getlong(u_char*);
    387371#ifdef TCPV40HDRS /* newer have this in resolver */
    388 void    _System putshort(u_short, u_char *);
    389 void    _System putlong(u_long, u_char *);
    390 int     _System dn_expand(__const__ u_char*, __const__ u_char*, __const__ u_char*, u_char*, int);
    391 int     _System dn_comp(__const__ u_char*, u_char*, int, u_char**, u_char**);
    392 int     _System dn_find(u_char*, u_char*, u_char**, u_char**);
    393 int     _System dn_skipname(__const__ u_char*, __const__ u_char*);
    394 int     _System res_init(void);
    395 int     _System res_mkquery(int, __const__ char*, int, int, __const__ char*, int, __const__ struct rrec*, char*, int);
    396 int     _System res_send(__const__ char*, int, char*, int);
    397 int     _System res_query(char*, int, int, u_char*, int);
    398 int     _System res_search(char*, int, int, u_char*, int);
    399 int     _System res_querydomain(char*, char*, int, int, u_char*, int);
     372void    TCPCALL putshort(u_short, u_char *);
     373void    TCPCALL putlong(u_long, u_char *);
     374int     TCPCALL dn_expand(__const__ u_char*, __const__ u_char*, __const__ u_char*, u_char*, int);
     375int     TCPCALL dn_comp(__const__ u_char*, u_char*, int, u_char**, u_char**);
     376int     TCPCALL dn_find(u_char*, u_char*, u_char**, u_char**);
     377int     TCPCALL dn_skipname(__const__ u_char*, __const__ u_char*);
     378int     TCPCALL res_init(void);
     379int     TCPCALL res_mkquery(int, __const__ char*, int, int, __const__ char*, int, __const__ struct rrec*, char*, int);
     380int     TCPCALL res_send(__const__ char*, int, char*, int);
     381int     TCPCALL res_query(char*, int, int, u_char*, int);
     382int     TCPCALL res_search(char*, int, int, u_char*, int);
     383int     TCPCALL res_querydomain(char*, char*, int, int, u_char*, int);
    400384#endif
    401385
Note: See TracChangeset for help on using the changeset viewer.