2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Remote Server
|
|
|
|
* MODULE: xdr_proto.h
|
|
|
|
* DESCRIPTION: Prototype Header file for xdr.c
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Interbase Public
|
|
|
|
* License Version 1.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy
|
|
|
|
* of the License at http://www.Inprise.com/IPL.html
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an
|
|
|
|
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
* or implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code was created by Inprise Corporation
|
|
|
|
* and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
* Copyright (C) Inprise Corporation.
|
|
|
|
*
|
|
|
|
* All Rights Reserved.
|
|
|
|
* Contributor(s): ______________________________________.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef REMOTE_XDR_PROTO_H
|
|
|
|
#define REMOTE_XDR_PROTO_H
|
|
|
|
|
2001-12-24 03:51:06 +01:00
|
|
|
#include "../remote/xdr.h"
|
|
|
|
|
2001-05-23 15:26:42 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
extern bool_t xdr_bool (register XDR *, register int *);
|
|
|
|
extern bool_t xdr_bytes (register XDR *, register SCHAR * *, u_int *, register u_int);
|
|
|
|
extern bool_t xdr_double (register XDR *, register double *);
|
|
|
|
extern bool_t xdr_enum (register XDR *, enum xdr_op *);
|
|
|
|
extern bool_t xdr_float (register XDR *, register float *);
|
|
|
|
extern bool_t xdr_free (xdrproc_t proc, SCHAR *objp);
|
|
|
|
extern bool_t xdr_int (register XDR *, register int *);
|
|
|
|
extern bool_t xdr_long (register XDR *, register SLONG *);
|
|
|
|
extern bool_t xdrmem_create (register XDR *, SCHAR *, u_int, enum xdr_op);
|
|
|
|
extern bool_t xdr_opaque (register XDR *, register SCHAR *, register u_int);
|
|
|
|
extern bool_t xdr_short (register XDR *, register SSHORT *);
|
|
|
|
extern bool_t xdr_string (register XDR *, register SCHAR * *, register u_int);
|
|
|
|
extern bool_t xdr_u_int (register XDR *, register u_int *);
|
|
|
|
extern bool_t xdr_u_long (register XDR *, register u_long *);
|
|
|
|
extern bool_t xdr_u_short (register XDR *, register u_short *);
|
|
|
|
extern int xdr_union (XDR *, enum xdr_op *, SCHAR *, struct xdr_discrim *, xdrproc_t);
|
|
|
|
extern bool_t xdr_wrapstring (register XDR *, register SCHAR **);
|
2002-11-19 16:37:55 +01:00
|
|
|
extern bool_t xdr_hyper(register XDR *, SINT64 *);
|
2002-11-12 06:05:01 +01:00
|
|
|
|
|
|
|
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* REMOTE_XDR_PROTO_H */
|