chiark / gitweb /
@@ -14,6 +14,7 @@
[adns.git] / src / adns.h
index 0a2b6c8f52a645a2215ddb90e49ecf75b157c702..461e49cfd1deec572b3786cf6b483dae257a8dd0 100644 (file)
@@ -51,7 +51,7 @@
  *  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
  *
- *  $Id: adns.h,v 1.71 1999/10/15 16:55:00 ian Exp $
+ *  $Id: adns.h,v 1.72 1999/11/02 21:02:39 ian Exp $
  */
 
 #ifndef ADNS_H_INCLUDED
@@ -337,10 +337,10 @@ typedef struct {
  *  requested.
  */
 
-int adns_init(adns_state *newstate_r, int flags /*adns_initflags*/,
+int adns_init(adns_state *newstate_r, adns_initflags flags,
              FILE *diagfile /*0=>stderr*/);
 
-int adns_init_strcfg(adns_state *newstate_r, int flags /*adns_initflags*/,
+int adns_init_strcfg(adns_state *newstate_r, adns_initflags flags,
                     FILE *diagfile /*0=>discard*/, const char *configtext);
 
 /* Configuration:
@@ -444,7 +444,7 @@ int adns_init_strcfg(adns_state *newstate_r, int flags /*adns_initflags*/,
 int adns_synchronous(adns_state ads,
                     const char *owner,
                     adns_rrtype type,
-                    int flags /*adns_queryflags*/,
+                    adns_queryflags flags,
                     adns_answer **answer_r);
 
 /* NB: if you set adns_if_noautosys then _submit and _check do not
@@ -455,7 +455,7 @@ int adns_synchronous(adns_state ads,
 int adns_submit(adns_state ads,
                const char *owner,
                adns_rrtype type,
-               int flags /*adns_queryflags*/,
+               adns_queryflags flags,
                void *context,
                adns_query *query_r);
 
@@ -494,7 +494,7 @@ void adns_cancel(adns_query query);
 int adns_submit_reverse(adns_state ads,
                        const struct sockaddr *addr,
                        adns_rrtype type,
-                       int flags /*adns_queryflags*/,
+                       adns_queryflags flags,
                        void *context,
                        adns_query *query_r);
 /* type must be _r_ptr or _r_ptr_raw.  _qf_search is ignored.