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/resolv.h

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r353 r354  
    3434 *
    3535 *      from: @(#)resolv.h      5.15 (Berkeley) 4/3/91
    36  *      resolv.h,v 1.3 2003/05/19 13:20:02 bird Exp
     36 *      resolv.h,v 1.4 2003/07/11 11:39:47 bird Exp
    3737 */
    3838
     
    160160#ifdef TCPV40HDRS
    161161
    162 /** @name tcpip40 function mappings.
    163  * @{ */
    164 #define _res tcpip40__res
    165 /* @} */
    166162extern  struct state _res;
    167163
     
    192188        res_sendhookact;
    193189
    194 typedef res_sendhookact (* _System res_send_qhook)(struct sockaddr_in * const *ns,
     190#ifndef TCPCALL
     191#define TCPCALL _System
     192#endif
     193
     194typedef res_sendhookact (* TCPCALL res_send_qhook)(struct sockaddr_in * const *ns,
    195195                                              const u_char **query,
    196196                                              int *querylen,
     
    199199                                              int *resplen);
    200200
    201 typedef res_sendhookact (* _System res_send_rhook)(const struct sockaddr_in *ns,
     201typedef res_sendhookact (* TCPCALL res_send_rhook)(const struct sockaddr_in *ns,
    202202                                              const u_char *query,
    203203                                              int querylen,
     
    264264#define res_close       __res_close
    265265
    266 int             _System res_hnok(const char *);
    267 int             _System res_ownok(const char *);
    268 int             _System res_mailok(const char *);
    269 int             _System res_dnok(const char *);
    270 int             _System sym_ston(const struct res_sym *, char *, int *);
    271 const char *    _System sym_ntos(const struct res_sym *, int, int *);
    272 const char *    _System sym_ntop(const struct res_sym *, int, int *);
    273 int             _System b64_ntop(u_char const *, size_t, char *, size_t);
    274 int             _System b64_pton(char const *, u_char *, size_t);
    275 int             _System loc_aton(const char *, u_char *);
    276 const char *    _System loc_ntoa(const u_char *, char *);
    277 int             _System dn_skipname(const u_char *, const u_char *);
    278 void            _System fp_resstat(struct __res_state *, int);
    279 void            _System fp_query(const u_char *, int);
    280 void            _System fp_nquery(const u_char *, int, int);
    281 const char *    _System hostalias(const char *);
    282 void            _System putlong(u_int32_t, u_char *);
    283 void            _System putshort(u_int16_t, u_char *);
    284 const char *    _System p_class(int);
    285 const char *    _System p_time(u_int32_t);
    286 const char *    _System p_type(int);
    287 void            _System p_query(const u_char *);
    288 const u_char *  _System p_cdnname(const u_char *, const u_char *, int, int);
    289 const u_char *  _System p_cdname(const u_char *, const u_char *, int);
    290 const u_char *  _System p_fqnname(const u_char *cp, const u_char *msg,
     266int             TCPCALL res_hnok(const char *);
     267int             TCPCALL res_ownok(const char *);
     268int             TCPCALL res_mailok(const char *);
     269int             TCPCALL res_dnok(const char *);
     270int             TCPCALL sym_ston(const struct res_sym *, char *, int *);
     271const char *    TCPCALL sym_ntos(const struct res_sym *, int, int *);
     272const char *    TCPCALL sym_ntop(const struct res_sym *, int, int *);
     273int             TCPCALL b64_ntop(u_char const *, size_t, char *, size_t);
     274int             TCPCALL b64_pton(char const *, u_char *, size_t);
     275int             TCPCALL loc_aton(const char *, u_char *);
     276const char *    TCPCALL loc_ntoa(const u_char *, char *);
     277int             TCPCALL dn_skipname(const u_char *, const u_char *);
     278void            TCPCALL fp_resstat(struct __res_state *, int);
     279void            TCPCALL fp_query(const u_char *, int);
     280void            TCPCALL fp_nquery(const u_char *, int, int);
     281const char *    TCPCALL hostalias(const char *);
     282void            TCPCALL putlong(u_int32_t, u_char *);
     283void            TCPCALL putshort(u_int16_t, u_char *);
     284const char *    TCPCALL p_class(int);
     285const char *    TCPCALL p_time(u_int32_t);
     286const char *    TCPCALL p_type(int);
     287void            TCPCALL p_query(const u_char *);
     288const u_char *  TCPCALL p_cdnname(const u_char *, const u_char *, int, int);
     289const u_char *  TCPCALL p_cdname(const u_char *, const u_char *, int);
     290const u_char *  TCPCALL p_fqnname(const u_char *cp, const u_char *msg,
    291291                                             int, char *, int);
    292 const u_char *  _System p_fqname(const u_char *, const u_char *, int);
    293 const u_char *  _System p_rr(const u_char *, const u_char *, int);
    294 const char *    _System p_option(u_long option);
    295 char *          _System p_secstodate(u_long);
    296 int             _System dn_count_labels(char *);
    297 int             _System dn_comp(const char *, u_char *, int,
     292const u_char *  TCPCALL p_fqname(const u_char *, const u_char *, int);
     293const u_char *  TCPCALL p_rr(const u_char *, const u_char *, int);
     294const char *    TCPCALL p_option(u_long option);
     295char *          TCPCALL p_secstodate(u_long);
     296int             TCPCALL dn_count_labels(char *);
     297int             TCPCALL dn_comp(const char *, u_char *, int,
    298298                                u_char **, u_char **);
    299 int             _System dn_expand(const u_char *, const u_char *, const u_char *,
     299int             TCPCALL dn_expand(const u_char *, const u_char *, const u_char *,
    300300                                  char *, int);
    301 int             _System res_init(void);
    302 u_int           _System res_randomid(void);
    303 int             _System res_query(const char *, int, int, u_char *, int);
    304 int             _System res_search(const char *, int, int, u_char *, int);
    305 int             _System res_querydomain(const char *, const char *, int, int, u_char *, int);
    306 int             _System res_mkquery(int, const char *, int, int, const u_char *, int,
     301int             TCPCALL res_init(void);
     302u_int           TCPCALL res_randomid(void);
     303int             TCPCALL res_query(const char *, int, int, u_char *, int);
     304int             TCPCALL res_search(const char *, int, int, u_char *, int);
     305int             TCPCALL res_querydomain(const char *, const char *, int, int, u_char *, int);
     306int             TCPCALL res_mkquery(int, const char *, int, int, const u_char *, int,
    307307                                    const u_char *, u_char *, int);
    308 int             _System res_send(const u_char *, int, u_char *, int);
    309 int             _System res_isourserver(const struct sockaddr_in *);
    310 int             _System res_nameinquery(const char *, int, int,
     308int             TCPCALL res_send(const u_char *, int, u_char *, int);
     309int             TCPCALL res_isourserver(const struct sockaddr_in *);
     310int             TCPCALL res_nameinquery(const char *, int, int,
    311311                                        const u_char *, const u_char *);
    312 int             _System res_queriesmatch(const u_char *, const u_char *,
     312int             TCPCALL res_queriesmatch(const u_char *, const u_char *,
    313313                                         const u_char *, const u_char *);
    314 void            _System res_close(void);
    315 int             _System dn_find(u_char *exp_dn, u_char *msg,
     314void            TCPCALL res_close(void);
     315int             TCPCALL dn_find(u_char *exp_dn, u_char *msg,
    316316                               u_char **dnptrs, u_char **lastdnptr);
    317317#endif /* !TCPV40HDRS */
Note: See TracChangeset for help on using the changeset viewer.