xref: /titanic_50/usr/src/lib/libnisdb/xdr_nullptr.h (revision a87701e9837f8a9ee9e4c4d3186295c0e29f743f)
1*a87701e9SGary Mills /*
2*a87701e9SGary Mills  * This file and its contents are supplied under the terms of the
3*a87701e9SGary Mills  * Common Development and Distribution License ("CDDL"), version 1.0.
4*a87701e9SGary Mills  * You may only use this file in accordance with the terms of version
5*a87701e9SGary Mills  * 1.0 of the CDDL.
6*a87701e9SGary Mills  *
7*a87701e9SGary Mills  * A full copy of the text of the CDDL should have accompanied this
8*a87701e9SGary Mills  * source.  A copy of the CDDL is also available via the Internet at
9*a87701e9SGary Mills  * http://www.illumos.org/license/CDDL.
10*a87701e9SGary Mills  */
11*a87701e9SGary Mills 
12*a87701e9SGary Mills /*
13*a87701e9SGary Mills  * Copyright 2015 Gary Mills
14*a87701e9SGary Mills  */
15*a87701e9SGary Mills 
16*a87701e9SGary Mills #ifndef _XDR_NULLPTR_H
17*a87701e9SGary Mills #define	_XDR_NULLPTR_H
18*a87701e9SGary Mills 
19*a87701e9SGary Mills /*
20*a87701e9SGary Mills  * This function is used to control serializing and de-serializing of the
21*a87701e9SGary Mills  * database objects.
22*a87701e9SGary Mills  */
23*a87701e9SGary Mills 
24*a87701e9SGary Mills #ifdef __cplusplus
25*a87701e9SGary Mills extern "C" {
26*a87701e9SGary Mills #endif
27*a87701e9SGary Mills 
28*a87701e9SGary Mills extern bool_t xdr_nullptr(XDR *, void **);
29*a87701e9SGary Mills 
30*a87701e9SGary Mills #ifdef __cplusplus
31*a87701e9SGary Mills }
32*a87701e9SGary Mills #endif
33*a87701e9SGary Mills 
34*a87701e9SGary Mills #endif /* _XDR_NULLPTR_H */
35