/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
*/
/*
* db_entry_c.x
*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
%#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Some manifest constants, chosen to maximize flexibility without
* plugging the wire full of data.
*/
#if RPC_HDR
%#ifndef _DB_NIS_H
%#define _DB_NIS_H
#endif /* RPC_HDR */
#ifdef USINGC
#endif /* USINGC */
/* Make alias to NIS definition */
typedef entry_obj entry_object;
typedef entry_object * entry_object_p;
typedef nis_name db_stringname;
/* nis_dba.x ----------------------------- */
/*
* Structure definitions for the parameters and results of the actual
* NIS DBA calls
*
* This is the standard result (in the protocol) of most of the nis
* requests.
*/
/*typedef long db_next_desc;*/
struct db_result {
long ticks; /* for statistics */
};
struct db_request {
};
#ifndef USINGC
%#ifdef __cplusplus
%extern void free_entry (entry_object*);
%#endif
#else
#if RPC_HDR
%extern void print_entry();
%extern char copy_entry();
%extern void free_entry();
%extern void new_entry();
#endif /* RPC_HDR */
#endif /* USINGC */
#if RPC_HDR
%#endif /* _DB_NIS_H */
#endif /* RPC_HDR */