/* LINTLIBRARY */
/* PROTOLIB1 */
/*
* Copyright (c) 1997-1999 by Sun Microsystems, Inc.
* All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/nameser.h>
#include <resolv.h>
/*
* usr/src/lib/libresolv2 routines
*/
int dn_skipname(const uchar_t *, const uchar_t *);
void fp_query(const u_char *, FILE *);
const uchar_t * p_cdname(const uchar_t *, const uchar_t *, FILE *);
const char * p_class(int);
void p_query(const u_char *);
const char * p_time(unsigned int);
const char * p_type(int);
void putlong(unsigned int, uchar_t *);
uint32_t _getlong(const u_char *);
uint16_t _getshort(const u_char *);
const char * hstrerror(int);
int res_init(void);
int res_mkquery(int, const char *, int, int, const u_char *,
int, const u_char *, u_char *, int);
int res_query(const char *, int, int, u_char *, int);
int res_querydomain(const char *, const char *, int, int,
u_char *, int);
int res_search(const char *, int, int, u_char *, int);
int res_send(const u_char *, int, u_char *, int);
int res_update(ns_updrec *);
int res_ninit(res_state);
void fp_resstat(const res_state, FILE *);
const char * res_hostalias(const res_state, const char *, char *, size_t);
int res_nquery(res_state, const char *, int, int, u_char *, int);
int res_nsearch(res_state, const char *, int, int, u_char *, int);
int res_nquerydomain(res_state, const char *, const char *,
int, int, u_char *, int);
int res_nmkquery(res_state, int, const char *, int, int,
const u_char *, int, const u_char *,
u_char *, int);
int res_nsend(res_state, const u_char *, int, u_char *, int);
int res_nmkupdate(res_state, ns_updrec *, u_char *, int);
void res_nclose(res_state);
int res_nsendsigned(res_state, const u_char *, int, ns_tsig_key *,
u_char *, int);
int dn_comp(const char *, u_char *, int, u_char **, u_char **);
int dn_expand(const u_char *, const u_char *, const u_char *,
char *, int);