xref: /onnv-gate/usr/src/lib/smbsrv/libmlrpc/common/libmlrpc.h (revision 7052:efa04b030974)
15331Samw /*
25331Samw  * CDDL HEADER START
35331Samw  *
45331Samw  * The contents of this file are subject to the terms of the
55331Samw  * Common Development and Distribution License (the "License").
65331Samw  * You may not use this file except in compliance with the License.
75331Samw  *
85331Samw  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95331Samw  * or http://www.opensolaris.org/os/licensing.
105331Samw  * See the License for the specific language governing permissions
115331Samw  * and limitations under the License.
125331Samw  *
135331Samw  * When distributing Covered Code, include this CDDL HEADER in each
145331Samw  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155331Samw  * If applicable, add the following below this CDDL HEADER, with the
165331Samw  * fields enclosed by brackets "[]" replaced with your own identifying
175331Samw  * information: Portions Copyright [yyyy] [name of copyright owner]
185331Samw  *
195331Samw  * CDDL HEADER END
205331Samw  */
215331Samw /*
22*7052Samw  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
235331Samw  * Use is subject to license terms.
245331Samw  */
255331Samw 
265331Samw #ifndef	_LIBMLRPC_H
275331Samw #define	_LIBMLRPC_H
285331Samw 
295331Samw #pragma ident	"%Z%%M%	%I%	%E% SMI"
305331Samw 
31*7052Samw #include <sys/types.h>
32*7052Samw 
335331Samw #ifdef	__cplusplus
345331Samw extern "C" {
355331Samw #endif
365331Samw 
37*7052Samw int ndr_s_open(int, uint8_t *, uint32_t);
38*7052Samw int ndr_s_close(int);
39*7052Samw int ndr_s_read(int, uint8_t *, uint32_t *, uint32_t *);
40*7052Samw int ndr_s_write(int, uint8_t *, uint32_t);
415331Samw 
425331Samw #ifdef	__cplusplus
435331Samw }
445331Samw #endif
455331Samw 
465331Samw #endif	/* _LIBMLRPC_H */
47