/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996,1999 by Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#if !defined(LINT) && !defined(CODECENTER)
#endif
/* Imports */
#include "port_before.h"
#include <errno.h>
#include <resolv.h>
#include <stdlib.h>
#include <string.h>
#include <isc/memcluster.h>
#include <irs.h>
#include "port_after.h"
#include "irs_p.h"
#include "gen_p.h"
/* Types */
struct pvt {
void (*free_res)(void *);
};
/* Forward */
static void nw_minimize(struct irs_nw *);
struct __res_state *res,
void (*free_res)(void *));
/* Public */
struct irs_nw *
return (NULL);
}
return (NULL);
}
return (nw);
}
/* Methods */
static void
}
static struct nwent *
return(NULL);
if (rval)
return (rval);
break;
}
}
return (NULL);
}
static struct nwent *
return(NULL);
return (rval);
break;
}
return (NULL);
}
static struct nwent *
return(NULL);
return (rval);
break;
}
return (NULL);
}
static void
}
}
static void
}
}
static struct __res_state *
if (!res) {
return (NULL);
}
}
}
static void
void (*free_res)(void *)) {
}
}
}
static int
return (-1);
return (-1);
return (0);
}
/*! \file */