summaryrefslogtreecommitdiff
path: root/include/resolv.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-06 00:20:50 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-06 00:20:50 +0000
commita67c6273255c0357bf1e14ea35005b47c9a94e6c (patch)
tree34bce2531223bbc738b0c4e13fa25aeca2d1d79e /include/resolv.h
parent42ee079162ef0aacb93181dcc0df86c9d33f75c5 (diff)
Lots and lots of cleanups.
-Erik
Diffstat (limited to 'include/resolv.h')
-rw-r--r--include/resolv.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 53ee2f235..950795a28 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -55,13 +55,13 @@ int encode_answer(struct resolv_answer * a,
unsigned char * dest, int maxlen);
int decode_answer(unsigned char * message, int offset,
struct resolv_answer * a);
-char * resolve_name(const char * name, int mailbox);
+const char * resolve_name(const char * name, int mailbox);
int encode_packet(struct resolv_header * h,
struct resolv_question ** q,
- struct resolv_question ** an,
- struct resolv_question ** ns,
- struct resolv_question ** ar,
+ struct resolv_answer ** an,
+ struct resolv_answer ** ns,
+ struct resolv_answer ** ar,
unsigned char * dest, int maxlen);
int decode_packet(unsigned char * data, struct resolv_header * h);