diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-06-15 04:14:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-06-15 04:14:52 +0000 |
commit | b399a0c2e2014daf166a36462db9d5bd5617454c (patch) | |
tree | 477eeca004180eef0339e609885a83b0a6bd3652 /hesiod/hesiod_p.h | |
parent | ec23b9bece4780a2031eedf23019cbb229e855fb (diff) | |
download | glibc-b399a0c2e2014daf166a36462db9d5bd5617454c.zip glibc-b399a0c2e2014daf166a36462db9d5bd5617454c.tar.gz glibc-b399a0c2e2014daf166a36462db9d5bd5617454c.tar.bz2 |
* hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
* hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no
valid classes were given or if both are equal.
(hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
and C_HS order.
(parse_config_file): Handle classes keyword.
* hesiod/README.hesiod: Mention addition of the classes keyword.
Diffstat (limited to 'hesiod/hesiod_p.h')
-rw-r--r-- | hesiod/hesiod_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hesiod/hesiod_p.h b/hesiod/hesiod_p.h index 71aca09..5010d71 100644 --- a/hesiod/hesiod_p.h +++ b/hesiod/hesiod_p.h @@ -41,6 +41,7 @@ struct hesiod_p { void (*res_set)(struct hesiod_p *, struct __res_state *, void (*)(void *)); struct __res_state * (*res_get)(struct hesiod_p *); + int classes[2]; /* The class search order. */ }; #define MAX_HESRESP 1024 |