1#include <sys/types.h>
2#if defined(_MSC_VER) || defined(__MINGW32_VERSION)
3typedef unsigned char u_char;
4#endif
5#define TESTVAL 4
6extern double foo(int, long, const char*);
7
8/*
9 * See netdns.c for copyright notice.
10 */
11
12
13
14/*
15 * Defines for handling compressed domain names
16 */
17#define INDIR_MASK 0xc0
18
19/* Note: MAXDNAME is the size of a DNAME in PRESENTATION FORMAT.
20 *  Each character in the label may need 4 characters in presentation format
21 * think \002.\003\004.example.com
22 * Hmmm 1010 is just a bit oversized
23 */
24
25#define MAXDNAME 1010
26
27int netdns_dn_expand( u_char *msg,  u_char *eomorig,
28	       u_char *comp_dn,  u_char *exp_dn,
29	       int length);
30
31
32