chiark / gitweb /
Get semantics of invertable options, and of cancelling, right.
[adns.git] / client / adnshost.h
index d512b4f184a397b6919bd204b9403b26076c592d..3ab665d576e5e215f0450782d61cde1a1cf258f0 100644 (file)
@@ -76,7 +76,7 @@ extern optfunc of_help, of_type, of_asynch_id, of_cancel_id;
 
 const struct optioninfo *opt_findl(const char *opt);
 const struct optioninfo *opt_finds(const char **optp);
-void opt_do(const struct optioninfo *oip, const char *arg);
+void opt_do(const struct optioninfo *oip, const char *arg, int invert);
 
 /* declarations related to query processing */
 
@@ -102,7 +102,6 @@ void of_cancel_id(const struct optioninfo *oi, const char *arg);
 void sysfail(const char *what, int errnoval) NONRETURNING;
 void usageerr(const char *what, ...) NONRETURNPRINTFFORMAT(1,2);
 void outerr(void) NONRETURNING;
-void setnonblock(int fd, int nonblock);
 
 void *xmalloc(size_t sz);
 char *xstrsave(const char *str);