socket_api.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 2009, 2011-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id$ */
#include <config.h>
static isc_mutex_t createlock;
static void
initialize(void) {
}
LOCK(&createlock);
if (socketmgr_createfunc == NULL)
else
UNLOCK(&createlock);
return (result);
}
{
LOCK(&createlock);
UNLOCK(&createlock);
if (result == ISC_R_SUCCESS)
return (result);
}
if (isc_bind9)
LOCK(&createlock);
UNLOCK(&createlock);
return (result);
}
void
if (isc_bind9)
else
}
{
if (isc_bind9)
}
void
if (isc_bind9)
else
}
void
if (isc_bind9)
else
}
unsigned int options)
{
if (isc_bind9)
}
{
if (isc_bind9)
pktinfo));
}
{
if (isc_bind9)
}
{
if (isc_bind9)
}
void
if (isc_bind9)
else
}
if (isc_bind9)
}
void
if (isc_bind9)
else
}
void
}
if (isc_bind9)
return (isc__socket_gettype(sock));
}
void
}
{
if (isc_bind9)
socketp));
}
{
if (isc_bind9)
}
if (isc_bind9)
}
int
if (isc_bind9)
return (isc__socket_getfd(sock));
}
return (isc__socket_open(sock));
}
return (isc__socket_close(sock));
}
unsigned int maxsocks)
{
}
{
}
{
}
{
}
{
}
{
}
unsigned int flags)
{
}
{
}
void
}
{
}
}
}
{
}
}