1/* Copyright (c) 2011, The Linux Foundation. All rights reserved.
2 *
3 * Redistribution and use in source and binary forms, with or without
4 * modification, are permitted provided that the following conditions are
5 * met:
6 *     * Redistributions of source code must retain the above copyright
7 *       notice, this list of conditions and the following disclaimer.
8 *     * Redistributions in binary form must reproduce the above
9 *       copyright notice, this list of conditions and the following
10 *       disclaimer in the documentation and/or other materials provided
11 *       with the distribution.
12 *     * Neither the name of The Linux Foundation nor the names of its
13 *       contributors may be used to endorse or promote products derived
14 *       from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
17 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
19 * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
20 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
26 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 */
29/*
30 * Please do not edit this file.
31 * It was generated using rpcgen.
32 */
33
34#ifndef _LOC_API_CB_RPC_H_RPCGEN
35#define _LOC_API_CB_RPC_H_RPCGEN
36
37#include "librpc.h"
38#include "commondefs_rpcgen_rpc.h"
39#include "loc_api_rpcgen_common_rpc.h"
40
41#include <pthread.h>
42
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47
48struct rpc_loc_event_cb_f_type_args {
49    rpc_uint32 cb_id;
50    rpc_loc_client_handle_type loc_handle;
51    rpc_loc_event_mask_type loc_event;
52    rpc_loc_event_payload_u_type *loc_event_payload;
53};
54typedef struct rpc_loc_event_cb_f_type_args rpc_loc_event_cb_f_type_args;
55
56struct rpc_loc_event_cb_f_type_rets {
57    rpc_int32 loc_event_cb_f_type_result;
58};
59typedef struct rpc_loc_event_cb_f_type_rets rpc_loc_event_cb_f_type_rets;
60#define LOC_APICBVERS 0x00050006
61
62#define LOC_APICBPROG 0x3100008C
63#define LOC_APICBVERS_0001 0x00050001
64
65#if defined(__STDC__) || defined(__cplusplus)
66#define rpc_loc_event_cb_f_type 1
67extern  enum clnt_stat rpc_loc_event_cb_f_type_0x00050001(rpc_loc_event_cb_f_type_args *, rpc_loc_event_cb_f_type_rets *, CLIENT *);
68extern  bool_t rpc_loc_event_cb_f_type_0x00050001_svc(rpc_loc_event_cb_f_type_args *, rpc_loc_event_cb_f_type_rets *, struct svc_req *);
69extern int loc_apicbprog_0x00050001_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
70
71#else /* K&R C */
72#define rpc_loc_event_cb_f_type 1
73extern  enum clnt_stat rpc_loc_event_cb_f_type_0x00050001();
74extern  bool_t rpc_loc_event_cb_f_type_0x00050001_svc();
75extern int loc_apicbprog_0x00050001_freeresult ();
76#endif /* K&R C */
77#define LOC_APICBVERS_0002 0x00050002
78
79#if defined(__STDC__) || defined(__cplusplus)
80#define rpc_loc_api_cb_null 0xffffff00
81extern  enum clnt_stat rpc_loc_api_cb_null_0x00050002(void *, int *, CLIENT *);
82extern  bool_t rpc_loc_api_cb_null_0x00050002_svc(void *, int *, struct svc_req *);
83extern int loc_apicbprog_0x00050002_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
84
85#else /* K&R C */
86#define rpc_loc_api_cb_null 0xffffff00
87extern  enum clnt_stat rpc_loc_api_cb_null_0x00050002();
88extern  bool_t rpc_loc_api_cb_null_0x00050002_svc();
89extern int loc_apicbprog_0x00050002_freeresult ();
90#endif /* K&R C */
91#define LOC_APICBVERS_0003 0x00050003
92
93#if defined(__STDC__) || defined(__cplusplus)
94extern  enum clnt_stat rpc_loc_api_cb_null_0x00050003(void *, int *, CLIENT *);
95extern  bool_t rpc_loc_api_cb_null_0x00050003_svc(void *, int *, struct svc_req *);
96extern int loc_apicbprog_0x00050003_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
97
98#else /* K&R C */
99extern  enum clnt_stat rpc_loc_api_cb_null_0x00050003();
100extern  bool_t rpc_loc_api_cb_null_0x00050003_svc();
101extern int loc_apicbprog_0x00050003_freeresult ();
102#endif /* K&R C */
103#define LOC_APICBVERS_0004 0x00050004
104
105#if defined(__STDC__) || defined(__cplusplus)
106extern  enum clnt_stat rpc_loc_api_cb_null_0x00050004(void *, int *, CLIENT *);
107extern  bool_t rpc_loc_api_cb_null_0x00050004_svc(void *, int *, struct svc_req *);
108extern int loc_apicbprog_0x00050004_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
109
110#else /* K&R C */
111extern  enum clnt_stat rpc_loc_api_cb_null_0x00050004();
112extern  bool_t rpc_loc_api_cb_null_0x00050004_svc();
113extern int loc_apicbprog_0x00050004_freeresult ();
114#endif /* K&R C */
115#define LOC_APICBVERS_0005 0x00050005
116
117#if defined(__STDC__) || defined(__cplusplus)
118extern  enum clnt_stat rpc_loc_api_cb_null_0x00050005(void *, int *, CLIENT *);
119extern  bool_t rpc_loc_api_cb_null_0x00050005_svc(void *, int *, struct svc_req *);
120extern int loc_apicbprog_0x00050005_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
121
122#else /* K&R C */
123extern  enum clnt_stat rpc_loc_api_cb_null_0x00050005();
124extern  bool_t rpc_loc_api_cb_null_0x00050005_svc();
125extern int loc_apicbprog_0x00050005_freeresult ();
126#endif /* K&R C */
127#define LOC_APICBVERS_0006 0x00050006
128
129#if defined(__STDC__) || defined(__cplusplus)
130extern  enum clnt_stat rpc_loc_api_cb_null_0x00050006(void *, int *, CLIENT *);
131extern  bool_t rpc_loc_api_cb_null_0x00050006_svc(void *, int *, struct svc_req *);
132extern int loc_apicbprog_0x00050006_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
133
134#else /* K&R C */
135extern  enum clnt_stat rpc_loc_api_cb_null_0x00050006();
136extern  bool_t rpc_loc_api_cb_null_0x00050006_svc();
137extern int loc_apicbprog_0x00050006_freeresult ();
138#endif /* K&R C */
139
140/* the xdr functions */
141
142#if defined(__STDC__) || defined(__cplusplus)
143extern  bool_t xdr_rpc_loc_event_cb_f_type_args (XDR *, rpc_loc_event_cb_f_type_args*);
144extern  bool_t xdr_rpc_loc_event_cb_f_type_rets (XDR *, rpc_loc_event_cb_f_type_rets*);
145
146#else /* K&R C */
147extern bool_t xdr_rpc_loc_event_cb_f_type_args ();
148extern bool_t xdr_rpc_loc_event_cb_f_type_rets ();
149
150#endif /* K&R C */
151
152#ifdef __cplusplus
153}
154#endif
155
156#endif /* !_LOC_API_CB_RPC_H_RPCGEN */
157