summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/asr/bin/common.h
diff options
context:
space:
mode:
authoreric <>2018-12-15 15:16:12 +0000
committereric <>2018-12-15 15:16:12 +0000
commit987422333c6bf4871e97fd14e80c6fe6b937af6c (patch)
tree9e8c744de1e51b27c2b37b1b5757fae46e8f7b01 /src/regress/lib/libc/asr/bin/common.h
parentd44c7e0fd6df3e642957216aea5f5fb9814b4056 (diff)
downloadopenbsd-987422333c6bf4871e97fd14e80c6fe6b937af6c.tar.gz
openbsd-987422333c6bf4871e97fd14e80c6fe6b937af6c.tar.bz2
openbsd-987422333c6bf4871e97fd14e80c6fe6b937af6c.zip
add a -R option to set/unset resolver flags.libressl-v2.9.0
use strcasecmp for reading args.
Diffstat (limited to 'src/regress/lib/libc/asr/bin/common.h')
-rw-r--r--src/regress/lib/libc/asr/bin/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libc/asr/bin/common.h b/src/regress/lib/libc/asr/bin/common.h
index 87df4ae4a2..6a6b90a34f 100644
--- a/src/regress/lib/libc/asr/bin/common.h
+++ b/src/regress/lib/libc/asr/bin/common.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: common.h,v 1.1.1.1 2012/07/13 17:49:53 eric Exp $ */ 1/* $OpenBSD: common.h,v 1.2 2018/12/15 15:16:12 eric Exp $ */
2/* 2/*
3 * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> 3 * Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
4 * 4 *
@@ -41,6 +41,8 @@ const char *rcodetostr(uint16_t);
41 41
42uint16_t strtotype(const char*); 42uint16_t strtotype(const char*);
43uint16_t strtoclass(const char*); 43uint16_t strtoclass(const char*);
44int strtoresopt(const char*);
45void parseresopt(const char*);
44 46
45void print_rrsetinfo(struct rrsetinfo *); 47void print_rrsetinfo(struct rrsetinfo *);
46void print_addrinfo(struct addrinfo *); 48void print_addrinfo(struct addrinfo *);