/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/*
* DESCRIPTION: The N2L system is dependent on a number of utility functions
* is loaded by executable other than those built under
* the stubs in this file contain weak definitions on these
* functions. In the NIS case these weak definitions will be
* overridden by the real ones.
*
* The functions in this file will never be called. NIS will have
* overridden them and nothing else should call yptol. If they are
* called then there is a bug in the build system.
*
* Note : This is not elegant but it is a way of dealing with
* preexisting code structure.
*/
#include <unistd.h>
#include <syslog.h>
#include <thread.h>
#include <synch.h>
#include <ndbm.h>
#include "ypsym.h"
#include "shim.h"
#include "../ldap_util.h"
/*
* FUNCTION : disaster()
*
* DESCRIPTION: Called if the stubs is accidentally called.
*/
void
disaster()
{
" a serious build error");
}
int
{
disaster();
return (0);
}
int
{
disaster();
return (0);
}
int
{
disaster();
return (0);
}
int
{
disaster();
return (0);
}
bool
{
disaster();
return (FALSE);
}
int
hash(char *s)
{
disaster();
return (0);
}
bool
{
disaster();
return (FALSE);
}
bool
{
disaster();
return (FALSE);
}
{
disaster();
return (0);
}
int
{
disaster();
return (0);
}