Lines Matching refs:adns_state
84 typedef struct adns__state *adns_state; typedef
366 ADNS_API int adns_init(adns_state *newstate_r, adns_initflags flags,
370 ADNS_API void adns_addserver(adns_state state, struct in_addr server);
371 ADNS_API void adns_ccf_search(adns_state state,
375 ADNS_API int adns_numservers(adns_state state);
377 ADNS_API int adns_init_strcfg(adns_state *newstate_r, adns_initflags flags,
480 ADNS_API int adns_synchronous(adns_state ads,
491 ADNS_API int adns_submit(adns_state ads,
500 ADNS_API int adns_check(adns_state ads,
505 ADNS_API int adns_wait(adns_state ads,
511 ADNS_API int adns_wait_poll(adns_state ads,
530 ADNS_API int adns_submit_reverse(adns_state ads,
540 ADNS_API int adns_submit_reverse_any(adns_state ads,
553 ADNS_API void adns_finish(adns_state ads);
559 ADNS_API void adns_forallqueries_begin(adns_state ads);
560 ADNS_API adns_query adns_forallqueries_next(adns_state ads, void **context_r);
576 ADNS_API void adns_checkconsistency(adns_state ads, adns_query qu);
608 ADNS_API int adns_processany(adns_state ads);
615 ADNS_API int adns_processreadable(adns_state ads, ADNS_SOCKET fd, const struct timeval *now);
616 ADNS_API int adns_processwriteable(adns_state ads, ADNS_SOCKET fd, const struct timeval *now);
617 ADNS_API int adns_processexceptional(adns_state ads, ADNS_SOCKET fd, const struct timeval *now);
636 ADNS_API void adns_processtimeouts(adns_state ads, const struct timeval *now);
644 ADNS_API void adns_firsttimeout(adns_state ads,
663 ADNS_API void adns_globalsystemfailure(adns_state ads);
682 ADNS_API void adns_beforeselect(adns_state ads, int *maxfd, fd_set *readfds,
698 ADNS_API void adns_afterselect(adns_state ads, int maxfd, const fd_set *readfds,
732 ADNS_API int adns_beforepoll(adns_state ads, struct pollfd *fds, int *nfds_io, int *timeout_io,
784 ADNS_API void adns_afterpoll(adns_state ads, const struct pollfd *fds, int nfds,