2 * This file and its contents are supplied under the terms of the
3 * Common Development and Distribution License ("CDDL"), version 1.0.
4 * You may only use this file in accordance with the terms of version
7 * A full copy of the text of the CDDL should have accompanied this
8 * source. A copy of the CDDL is also available via the Internet at
9 * http://www.illumos.org/license/CDDL.
13 * Copyright 2015 Gary Mills
20 * Definitions needed for cross-linkages between source files
27 extern int dn_comp(u_char
*, u_char
*, int, u_char
**, u_char
**);
28 extern int dn_expand(u_char
*, u_char
*, u_char
*, u_char
*, int);
29 extern int dn_skipname(u_char
*, u_char
*);
31 extern int res_init(void);
32 extern int res_mkquery(int, char *, int, int, char *, int, struct rrec
*,
34 extern int res_query(char *, int, int, u_char
*, int);
35 extern int res_querydomain(char *, char *, int, int, u_char
*, int);
36 extern int res_search(char *, int, int, u_char
*, int);
37 extern int res_send(char *, int, char *, int);
39 extern void putlong(u_long
, u_char
*);
40 extern void putshort(u_short
, u_char
*);
41 extern void p_query(char *);
42 extern void _res_close();
49 #endif /* _CROSSL_H */