chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+ * Declare flags parameters as enums again, not ints.
[adns]
/
src
/
query.c
diff --git
a/src/query.c
b/src/query.c
index f805c9296565fe8b10920c15d144e31cd34457a9..640d10ceeee8d25144f615ceb107a728c726dfd1 100644
(file)
--- a/
src/query.c
+++ b/
src/query.c
@@
-195,7
+195,7
@@
static int save_owner(adns_query qu, const char *owner, int ol) {
int adns_submit(adns_state ads,
const char *owner,
adns_rrtype type,
int adns_submit(adns_state ads,
const char *owner,
adns_rrtype type,
-
int
flags,
+
adns_queryflags
flags,
void *context,
adns_query *query_r) {
int r, ol, ndots;
void *context,
adns_query *query_r) {
int r, ol, ndots;
@@
-262,7
+262,7
@@
int adns_submit(adns_state ads,
int adns_submit_reverse(adns_state ads,
const struct sockaddr *addr,
adns_rrtype type,
int adns_submit_reverse(adns_state ads,
const struct sockaddr *addr,
adns_rrtype type,
-
int
flags,
+
adns_queryflags
flags,
void *context,
adns_query *query_r) {
const unsigned char *iaddr;
void *context,
adns_query *query_r) {
const unsigned char *iaddr;
@@
-283,7
+283,7
@@
int adns_submit_reverse(adns_state ads,
int adns_synchronous(adns_state ads,
const char *owner,
adns_rrtype type,
int adns_synchronous(adns_state ads,
const char *owner,
adns_rrtype type,
-
int
flags,
+
adns_queryflags
flags,
adns_answer **answer_r) {
adns_query qu;
int r;
adns_answer **answer_r) {
adns_query qu;
int r;