/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (c) 1996,1998 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.
*/
#endif /* LIBC_SCCS and not lint */
/* extern */
#include "port_before.h"
#include <syslog.h>
#ifdef IRS_LCL_SV_DB
#include <db.h>
#endif
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <syslog.h>
#include <irs.h>
#include <irp.h>
#include <isc/irpmarshall.h>
#include <isc/memcluster.h>
#include "irs_p.h"
#include "lcl_p.h"
#include "irp_p.h"
#include "port_after.h"
/* Types */
struct pvt {
int warned;
};
/* Forward */
const char *);
static void sv_minimize(struct irs_sv *);
/* Public */
/*%
* struct irs_sv * irs_irp_sv(struct irs_acc *this)
*
*/
struct irs_sv *
return (NULL);
}
return (NULL);
}
return (sv);
}
/* Methods */
/*%
* void sv_close(struct irs_sv *this)
*
*/
static void
}
/*%
* Fills the cache if necessary and returns the next item from it.
*
*/
static struct servent *
char *body;
int code;
return (NULL);
}
return (NULL);
}
return (NULL);
}
if (code == IRPD_GETSERVICE_OK) {
}
} else {
}
}
return (sv);
}
/*%
* struct servent * sv_byname(struct irs_sv *this, const char *name,
* const char *proto)
*
*/
static struct servent *
char *body;
int code;
return (sv);
}
return (NULL);
}
return (NULL);
return (NULL);
}
if (code == IRPD_GETSERVICE_OK) {
}
} else {
}
}
return (sv);
}
/*%
* struct servent * sv_byport(struct irs_sv *this, int port,
* const char *proto)
*
*/
static struct servent *
char *body;
int code;
return (sv);
}
return (NULL);
}
return (NULL);
}
return (NULL);
}
if (code == IRPD_GETSERVICE_OK) {
}
} else {
}
}
return (sv);
}
/*%
* void sv_rewind(struct irs_sv *this)
*
*/
static void
int code;
return;
}
return;
}
if (code != IRPD_GETSERVICE_SETOK) {
if (irp_log_errors) {
}
}
return;
}
/*%
* void sv_minimize(struct irs_sv *this)
*
*/
static void
}
static void
char **p;
return;
}
}
free(*p);
}
}
}
/*! \file */