chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reentrancy: Add warning comment to adns__must_gettimeofday
[adns]
/
src
/
internal.h
diff --git
a/src/internal.h
b/src/internal.h
index 4fd6ee802fb622f1586a2428cbcfd2e4f7f0e131..0374accfa56b3db401b914d1622f7968775436e2 100644
(file)
--- a/
src/internal.h
+++ b/
src/internal.h
@@
-872,6
+872,7
@@
void adns__autosys(adns_state ads, struct timeval now);
void adns__must_gettimeofday(adns_state ads, const struct timeval **now_io,
struct timeval *tv_buf);
void adns__must_gettimeofday(adns_state ads, const struct timeval **now_io,
struct timeval *tv_buf);
+/* Call with care - might reentrantly cause queries to be completed! */
int adns__pollfds(adns_state ads, struct pollfd pollfds_buf[MAX_POLLFDS]);
void adns__fdevents(adns_state ads,
int adns__pollfds(adns_state ads, struct pollfd pollfds_buf[MAX_POLLFDS]);
void adns__fdevents(adns_state ads,