svc.h revision 1.17.4.4 1 1.17.4.4 nathanw /* $NetBSD: svc.h,v 1.17.4.4 2002/11/11 22:24:29 nathanw Exp $ */
2 1.4 cgd
3 1.1 deraadt /*
4 1.1 deraadt * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
5 1.1 deraadt * unrestricted use provided that this legend is included on all tape
6 1.1 deraadt * media and as a part of the software program in whole or part. Users
7 1.1 deraadt * may copy or modify Sun RPC without charge, but are not authorized
8 1.1 deraadt * to license or distribute it to anyone else except as part of a product or
9 1.1 deraadt * program developed by the user.
10 1.17.4.2 nathanw *
11 1.1 deraadt * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
12 1.1 deraadt * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
13 1.1 deraadt * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
14 1.17.4.2 nathanw *
15 1.1 deraadt * Sun RPC is provided with no support and without any obligation on the
16 1.1 deraadt * part of Sun Microsystems, Inc. to assist in its use, correction,
17 1.1 deraadt * modification or enhancement.
18 1.17.4.2 nathanw *
19 1.1 deraadt * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
20 1.1 deraadt * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
21 1.1 deraadt * OR ANY PART THEREOF.
22 1.17.4.2 nathanw *
23 1.1 deraadt * In no event will Sun Microsystems, Inc. be liable for any lost revenue
24 1.1 deraadt * or profits or other special, indirect and consequential damages, even if
25 1.1 deraadt * Sun has been advised of the possibility of such damages.
26 1.17.4.2 nathanw *
27 1.1 deraadt * Sun Microsystems, Inc.
28 1.1 deraadt * 2550 Garcia Avenue
29 1.1 deraadt * Mountain View, California 94043
30 1.3 mycroft *
31 1.17 fvdl * from: @(#)svc.h 1.35 88/12/17 SMI
32 1.17 fvdl * @(#)svc.h 1.27 94/04/25 SMI
33 1.1 deraadt */
34 1.1 deraadt
35 1.1 deraadt /*
36 1.1 deraadt * svc.h, Server-side remote procedure call interface.
37 1.1 deraadt *
38 1.17 fvdl * Copyright (C) 1986-1993 by Sun Microsystems, Inc.
39 1.1 deraadt */
40 1.1 deraadt
41 1.11 perry #ifndef _RPC_SVC_H_
42 1.11 perry #define _RPC_SVC_H_
43 1.2 brezak #include <sys/cdefs.h>
44 1.1 deraadt
45 1.17.4.4 nathanw #include <rpc/rpc_com.h>
46 1.17.4.4 nathanw
47 1.1 deraadt /*
48 1.1 deraadt * This interface must manage two items concerning remote procedure calling:
49 1.1 deraadt *
50 1.13 lukem * 1) An arbitrary number of transport connections upon which rpc requests
51 1.1 deraadt * are received. The two most notable transports are TCP and UDP; they are
52 1.1 deraadt * created and registered by routines in svc_tcp.c and svc_udp.c, respectively;
53 1.1 deraadt * they in turn call xprt_register and xprt_unregister.
54 1.1 deraadt *
55 1.1 deraadt * 2) An arbitrary number of locally registered services. Services are
56 1.1 deraadt * described by the following four data: program number, version number,
57 1.1 deraadt * "service dispatch" function, a transport handle, and a boolean that
58 1.1 deraadt * indicates whether or not the exported program should be registered with a
59 1.1 deraadt * local binder service; if true the program's number and version and the
60 1.1 deraadt * port number from the transport handle are registered with the binder.
61 1.13 lukem * These data are registered with the rpc svc system via svc_register.
62 1.1 deraadt *
63 1.13 lukem * A service's dispatch function is called whenever an rpc request comes in
64 1.1 deraadt * on a transport. The request's program and version numbers must match
65 1.1 deraadt * those of the registered service. The dispatch function is passed two
66 1.1 deraadt * parameters, struct svc_req * and SVCXPRT *, defined below.
67 1.1 deraadt */
68 1.1 deraadt
69 1.17 fvdl /*
70 1.17.4.2 nathanw * Service control requests
71 1.17 fvdl */
72 1.17 fvdl #define SVCGET_VERSQUIET 1
73 1.17 fvdl #define SVCSET_VERSQUIET 2
74 1.17.4.4 nathanw #define SVCGET_CONNMAXREC 3
75 1.17.4.4 nathanw #define SVCSET_CONNMAXREC 4
76 1.17 fvdl
77 1.17 fvdl
78 1.1 deraadt enum xprt_stat {
79 1.1 deraadt XPRT_DIED,
80 1.1 deraadt XPRT_MOREREQS,
81 1.1 deraadt XPRT_IDLE
82 1.1 deraadt };
83 1.1 deraadt
84 1.1 deraadt /*
85 1.1 deraadt * Server side transport handle
86 1.1 deraadt */
87 1.5 cgd typedef struct __rpc_svcxprt {
88 1.17 fvdl int xp_fd;
89 1.13 lukem u_short xp_port; /* associated port number */
90 1.14 mycroft const struct xp_ops {
91 1.5 cgd /* receive incomming requests */
92 1.5 cgd bool_t (*xp_recv) __P((struct __rpc_svcxprt *,
93 1.5 cgd struct rpc_msg *));
94 1.5 cgd /* get transport status */
95 1.5 cgd enum xprt_stat (*xp_stat) __P((struct __rpc_svcxprt *));
96 1.5 cgd /* get arguments */
97 1.5 cgd bool_t (*xp_getargs) __P((struct __rpc_svcxprt *, xdrproc_t,
98 1.5 cgd caddr_t));
99 1.5 cgd /* send reply */
100 1.5 cgd bool_t (*xp_reply) __P((struct __rpc_svcxprt *,
101 1.5 cgd struct rpc_msg *));
102 1.5 cgd /* free mem allocated for args */
103 1.5 cgd bool_t (*xp_freeargs) __P((struct __rpc_svcxprt *, xdrproc_t,
104 1.5 cgd caddr_t));
105 1.5 cgd /* destroy this struct */
106 1.5 cgd void (*xp_destroy) __P((struct __rpc_svcxprt *));
107 1.1 deraadt } *xp_ops;
108 1.13 lukem int xp_addrlen; /* length of remote address */
109 1.17 fvdl struct sockaddr_in xp_raddr; /* rem. addr. (backward ABI compat) */
110 1.17 fvdl /* XXX - fvdl stick this here for ABI backward compat reasons */
111 1.17 fvdl const struct xp_ops2 {
112 1.17 fvdl /* catch-all function */
113 1.17 fvdl bool_t (*xp_control) __P((struct __rpc_svcxprt *, const u_int,
114 1.17 fvdl void *));
115 1.17 fvdl } *xp_ops2;
116 1.17 fvdl char *xp_tp; /* transport provider device name */
117 1.17 fvdl char *xp_netid; /* network token */
118 1.17 fvdl struct netbuf xp_ltaddr; /* local transport address */
119 1.17 fvdl struct netbuf xp_rtaddr; /* remote transport address */
120 1.13 lukem struct opaque_auth xp_verf; /* raw response verifier */
121 1.17 fvdl void *xp_p1; /* private: for use by svc ops */
122 1.17 fvdl void *xp_p2; /* private: for use by svc ops */
123 1.17 fvdl void *xp_p3; /* private: for use by svc lib */
124 1.17 fvdl int xp_type; /* transport type */
125 1.1 deraadt } SVCXPRT;
126 1.1 deraadt
127 1.1 deraadt /*
128 1.17 fvdl * Service request
129 1.17 fvdl */
130 1.17 fvdl struct svc_req {
131 1.17 fvdl u_int32_t rq_prog; /* service program number */
132 1.17 fvdl u_int32_t rq_vers; /* service protocol version */
133 1.17 fvdl u_int32_t rq_proc; /* the desired procedure */
134 1.17 fvdl struct opaque_auth rq_cred; /* raw creds from the wire */
135 1.17 fvdl void *rq_clntcred; /* read only cooked cred */
136 1.17 fvdl SVCXPRT *rq_xprt; /* associated transport */
137 1.17 fvdl };
138 1.17 fvdl
139 1.17 fvdl /*
140 1.17.4.2 nathanw * Approved way of getting address of caller
141 1.1 deraadt */
142 1.17 fvdl #define svc_getrpccaller(x) (&(x)->xp_rtaddr)
143 1.17 fvdl
144 1.17 fvdl /*
145 1.17 fvdl * NetBSD-only definition to get the creds of the caller (AF_LOCAL).
146 1.17 fvdl */
147 1.17 fvdl #define __svc_getcallercreds(x) ((struct sockcred *)(x)->xp_p2)
148 1.1 deraadt
149 1.1 deraadt /*
150 1.1 deraadt * Operations defined on an SVCXPRT handle
151 1.1 deraadt *
152 1.1 deraadt * SVCXPRT *xprt;
153 1.1 deraadt * struct rpc_msg *msg;
154 1.1 deraadt * xdrproc_t xargs;
155 1.1 deraadt * caddr_t argsp;
156 1.1 deraadt */
157 1.1 deraadt #define SVC_RECV(xprt, msg) \
158 1.1 deraadt (*(xprt)->xp_ops->xp_recv)((xprt), (msg))
159 1.1 deraadt #define svc_recv(xprt, msg) \
160 1.1 deraadt (*(xprt)->xp_ops->xp_recv)((xprt), (msg))
161 1.1 deraadt
162 1.1 deraadt #define SVC_STAT(xprt) \
163 1.1 deraadt (*(xprt)->xp_ops->xp_stat)(xprt)
164 1.1 deraadt #define svc_stat(xprt) \
165 1.1 deraadt (*(xprt)->xp_ops->xp_stat)(xprt)
166 1.1 deraadt
167 1.1 deraadt #define SVC_GETARGS(xprt, xargs, argsp) \
168 1.1 deraadt (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))
169 1.1 deraadt #define svc_getargs(xprt, xargs, argsp) \
170 1.1 deraadt (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))
171 1.1 deraadt
172 1.1 deraadt #define SVC_REPLY(xprt, msg) \
173 1.1 deraadt (*(xprt)->xp_ops->xp_reply) ((xprt), (msg))
174 1.1 deraadt #define svc_reply(xprt, msg) \
175 1.1 deraadt (*(xprt)->xp_ops->xp_reply) ((xprt), (msg))
176 1.1 deraadt
177 1.1 deraadt #define SVC_FREEARGS(xprt, xargs, argsp) \
178 1.1 deraadt (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))
179 1.1 deraadt #define svc_freeargs(xprt, xargs, argsp) \
180 1.1 deraadt (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))
181 1.1 deraadt
182 1.1 deraadt #define SVC_DESTROY(xprt) \
183 1.1 deraadt (*(xprt)->xp_ops->xp_destroy)(xprt)
184 1.1 deraadt #define svc_destroy(xprt) \
185 1.1 deraadt (*(xprt)->xp_ops->xp_destroy)(xprt)
186 1.1 deraadt
187 1.17 fvdl #define SVC_CONTROL(xprt, rq, in) \
188 1.17 fvdl (*(xprt)->xp_ops2->xp_control)((xprt), (rq), (in))
189 1.1 deraadt
190 1.1 deraadt /*
191 1.1 deraadt * Service registration
192 1.1 deraadt *
193 1.17 fvdl * svc_reg(xprt, prog, vers, dispatch, nconf)
194 1.17 fvdl * const SVCXPRT *xprt;
195 1.17 fvdl * const rpcprog_t prog;
196 1.17 fvdl * const rpcvers_t vers;
197 1.17.4.2 nathanw * const void (*dispatch)(...);
198 1.17 fvdl * const struct netconfig *nconf;
199 1.1 deraadt */
200 1.17 fvdl
201 1.2 brezak __BEGIN_DECLS
202 1.17 fvdl extern bool_t svc_reg __P((SVCXPRT *, const rpcprog_t, const rpcvers_t,
203 1.17 fvdl void (*) __P((struct svc_req *, SVCXPRT *)),
204 1.17 fvdl const struct netconfig *));
205 1.2 brezak __END_DECLS
206 1.1 deraadt
207 1.1 deraadt /*
208 1.1 deraadt * Service un-registration
209 1.1 deraadt *
210 1.17 fvdl * svc_unreg(prog, vers)
211 1.17 fvdl * const rpcprog_t prog;
212 1.17 fvdl * const rpcvers_t vers;
213 1.1 deraadt */
214 1.17 fvdl
215 1.2 brezak __BEGIN_DECLS
216 1.17 fvdl extern void svc_unreg __P((const rpcprog_t, const rpcvers_t));
217 1.2 brezak __END_DECLS
218 1.1 deraadt
219 1.1 deraadt /*
220 1.1 deraadt * Transport registration.
221 1.1 deraadt *
222 1.1 deraadt * xprt_register(xprt)
223 1.1 deraadt * SVCXPRT *xprt;
224 1.1 deraadt */
225 1.2 brezak __BEGIN_DECLS
226 1.2 brezak extern void xprt_register __P((SVCXPRT *));
227 1.2 brezak __END_DECLS
228 1.1 deraadt
229 1.1 deraadt /*
230 1.1 deraadt * Transport un-register
231 1.1 deraadt *
232 1.1 deraadt * xprt_unregister(xprt)
233 1.1 deraadt * SVCXPRT *xprt;
234 1.1 deraadt */
235 1.2 brezak __BEGIN_DECLS
236 1.2 brezak extern void xprt_unregister __P((SVCXPRT *));
237 1.2 brezak __END_DECLS
238 1.1 deraadt
239 1.1 deraadt
240 1.1 deraadt /*
241 1.1 deraadt * When the service routine is called, it must first check to see if it
242 1.1 deraadt * knows about the procedure; if not, it should call svcerr_noproc
243 1.17.4.2 nathanw * and return. If so, it should deserialize its arguments via
244 1.1 deraadt * SVC_GETARGS (defined above). If the deserialization does not work,
245 1.1 deraadt * svcerr_decode should be called followed by a return. Successful
246 1.1 deraadt * decoding of the arguments should be followed the execution of the
247 1.1 deraadt * procedure's code and a call to svc_sendreply.
248 1.1 deraadt *
249 1.1 deraadt * Also, if the service refuses to execute the procedure due to too-
250 1.1 deraadt * weak authentication parameters, svcerr_weakauth should be called.
251 1.1 deraadt * Note: do not confuse access-control failure with weak authentication!
252 1.1 deraadt *
253 1.13 lukem * NB: In pure implementations of rpc, the caller always waits for a reply
254 1.17.4.2 nathanw * msg. This message is sent when svc_sendreply is called.
255 1.1 deraadt * Therefore pure service implementations should always call
256 1.1 deraadt * svc_sendreply even if the function logically returns void; use
257 1.13 lukem * xdr.h - xdr_void for the xdr routine. HOWEVER, tcp based rpc allows
258 1.13 lukem * for the abuse of pure rpc via batched calling or pipelining. In the
259 1.1 deraadt * case of a batched call, svc_sendreply should NOT be called since
260 1.1 deraadt * this would send a return message, which is what batching tries to avoid.
261 1.1 deraadt * It is the service/protocol writer's responsibility to know which calls are
262 1.1 deraadt * batched and which are not. Warning: responding to batch calls may
263 1.1 deraadt * deadlock the caller and server processes!
264 1.1 deraadt */
265 1.1 deraadt
266 1.2 brezak __BEGIN_DECLS
267 1.2 brezak extern bool_t svc_sendreply __P((SVCXPRT *, xdrproc_t, char *));
268 1.2 brezak extern void svcerr_decode __P((SVCXPRT *));
269 1.2 brezak extern void svcerr_weakauth __P((SVCXPRT *));
270 1.2 brezak extern void svcerr_noproc __P((SVCXPRT *));
271 1.17 fvdl extern void svcerr_progvers __P((SVCXPRT *, rpcvers_t, rpcvers_t));
272 1.2 brezak extern void svcerr_auth __P((SVCXPRT *, enum auth_stat));
273 1.2 brezak extern void svcerr_noprog __P((SVCXPRT *));
274 1.2 brezak extern void svcerr_systemerr __P((SVCXPRT *));
275 1.17 fvdl extern int rpc_reg __P((rpcprog_t, rpcvers_t, rpcproc_t,
276 1.17 fvdl char *(*) __P((char *)), xdrproc_t, xdrproc_t,
277 1.17 fvdl char *));
278 1.2 brezak __END_DECLS
279 1.17.4.2 nathanw
280 1.1 deraadt /*
281 1.1 deraadt * Lowest level dispatching -OR- who owns this process anyway.
282 1.1 deraadt * Somebody has to wait for incoming requests and then call the correct
283 1.1 deraadt * service routine. The routine svc_run does infinite waiting; i.e.,
284 1.1 deraadt * svc_run never returns.
285 1.17.4.1 nathanw * Since another (co-existent) package may wish to selectively wait for
286 1.13 lukem * incoming calls or other events outside of the rpc architecture, the
287 1.1 deraadt * routine svc_getreq is provided. It must be passed readfds, the
288 1.1 deraadt * "in-place" results of a select system call (see select, section 2).
289 1.1 deraadt */
290 1.1 deraadt
291 1.1 deraadt /*
292 1.13 lukem * Global keeper of rpc service descriptors in use
293 1.17.4.2 nathanw * dynamic; must be inspected before each call to select
294 1.1 deraadt */
295 1.8 pk extern int svc_maxfd;
296 1.13 lukem #ifdef FD_SETSIZE
297 1.1 deraadt extern fd_set svc_fdset;
298 1.1 deraadt #define svc_fds svc_fdset.fds_bits[0] /* compatibility */
299 1.13 lukem #else
300 1.13 lukem extern int svc_fds;
301 1.13 lukem #endif /* def FD_SETSIZE */
302 1.1 deraadt
303 1.1 deraadt /*
304 1.1 deraadt * a small program implemented by the svc_rpc implementation itself;
305 1.1 deraadt * also see clnt.h for protocol numbers.
306 1.1 deraadt */
307 1.16 christos __BEGIN_DECLS
308 1.16 christos extern void rpctest_service __P((void));
309 1.16 christos __END_DECLS
310 1.1 deraadt
311 1.2 brezak __BEGIN_DECLS
312 1.2 brezak extern void svc_getreq __P((int));
313 1.2 brezak extern void svc_getreqset __P((fd_set *));
314 1.17 fvdl extern void svc_getreq_common __P((int));
315 1.17 fvdl struct pollfd;
316 1.17 fvdl extern void svc_getreq_poll __P((struct pollfd *, int));
317 1.17 fvdl
318 1.2 brezak extern void svc_run __P((void));
319 1.17 fvdl extern void svc_exit __P((void));
320 1.2 brezak __END_DECLS
321 1.1 deraadt
322 1.1 deraadt /*
323 1.1 deraadt * Socket to use on svcxxx_create call to get default socket
324 1.1 deraadt */
325 1.1 deraadt #define RPC_ANYSOCK -1
326 1.17 fvdl #define RPC_ANYFD RPC_ANYSOCK
327 1.1 deraadt
328 1.1 deraadt /*
329 1.1 deraadt * These are the existing service side transport implementations
330 1.1 deraadt */
331 1.1 deraadt
332 1.17 fvdl __BEGIN_DECLS
333 1.17 fvdl /*
334 1.17 fvdl * Transport independent svc_create routine.
335 1.17 fvdl */
336 1.17 fvdl extern int svc_create __P((void (*) __P((struct svc_req *, SVCXPRT *)),
337 1.17 fvdl const rpcprog_t, const rpcvers_t, const char *));
338 1.17 fvdl /*
339 1.17.4.2 nathanw * void (*dispatch)(...); -- dispatch routine
340 1.17.4.2 nathanw * const rpcprog_t prognum; -- program number
341 1.17.4.2 nathanw * const rpcvers_t versnum; -- version number
342 1.17.4.2 nathanw * const char *nettype; -- network type
343 1.17 fvdl */
344 1.17 fvdl
345 1.17 fvdl
346 1.1 deraadt /*
347 1.17 fvdl * Generic server creation routine. It takes a netconfig structure
348 1.17 fvdl * instead of a nettype.
349 1.17 fvdl */
350 1.17 fvdl
351 1.17 fvdl extern SVCXPRT *svc_tp_create __P((void (*) __P((struct svc_req *, SVCXPRT *)),
352 1.17 fvdl const rpcprog_t, const rpcvers_t,
353 1.17 fvdl const struct netconfig *));
354 1.17.4.2 nathanw /*
355 1.17.4.2 nathanw * void (*dispatch)(...); -- dispatch routine
356 1.17.4.2 nathanw * const rpcprog_t prognum; -- program number
357 1.17.4.2 nathanw * const rpcvers_t versnum; -- version number
358 1.17.4.2 nathanw * const struct netconfig *nconf; -- netconfig structure
359 1.17.4.2 nathanw */
360 1.17 fvdl
361 1.17 fvdl
362 1.17 fvdl /*
363 1.17 fvdl * Generic TLI create routine
364 1.17 fvdl */
365 1.17 fvdl extern SVCXPRT *svc_tli_create __P((const int, const struct netconfig *,
366 1.17 fvdl const struct t_bind *, const u_int,
367 1.17 fvdl const u_int));
368 1.17 fvdl /*
369 1.17.4.2 nathanw * const int fd; -- connection end point
370 1.17.4.2 nathanw * const struct netconfig *nconf; -- netconfig structure for network
371 1.17.4.2 nathanw * const struct t_bind *bindaddr; -- local bind address
372 1.17.4.2 nathanw * const u_int sendsz; -- max sendsize
373 1.17.4.2 nathanw * const u_int recvsz; -- max recvsize
374 1.1 deraadt */
375 1.1 deraadt
376 1.17 fvdl /*
377 1.17 fvdl * Connectionless and connectionful create routines
378 1.17 fvdl */
379 1.2 brezak
380 1.17 fvdl extern SVCXPRT *svc_vc_create __P((const int, const u_int, const u_int));
381 1.1 deraadt /*
382 1.17.4.2 nathanw * const int fd; -- open connection end point
383 1.17.4.2 nathanw * const u_int sendsize; -- max send size
384 1.17.4.2 nathanw * const u_int recvsize; -- max recv size
385 1.1 deraadt */
386 1.17 fvdl
387 1.17 fvdl extern SVCXPRT *svc_dg_create __P((const int, const u_int, const u_int));
388 1.17.4.2 nathanw /*
389 1.17.4.2 nathanw * const int fd; -- open connection
390 1.17.4.2 nathanw * const u_int sendsize; -- max send size
391 1.17.4.2 nathanw * const u_int recvsize; -- max recv size
392 1.17.4.2 nathanw */
393 1.2 brezak
394 1.1 deraadt
395 1.1 deraadt /*
396 1.17 fvdl * the routine takes any *open* connection
397 1.17 fvdl * descriptor as its first input and is used for open connections.
398 1.17 fvdl */
399 1.17 fvdl extern SVCXPRT *svc_fd_create __P((const int, const u_int, const u_int));
400 1.17 fvdl /*
401 1.17.4.2 nathanw * const int fd; -- open connection end point
402 1.17.4.2 nathanw * const u_int sendsize; -- max send size
403 1.17.4.2 nathanw * const u_int recvsize; -- max recv size
404 1.1 deraadt */
405 1.6 cgd
406 1.6 cgd /*
407 1.17 fvdl * Memory based rpc (for speed check and testing)
408 1.17 fvdl */
409 1.17 fvdl extern SVCXPRT *svc_raw_create __P((void));
410 1.17 fvdl
411 1.17 fvdl /*
412 1.17 fvdl * svc_dg_enable_cache() enables the cache on dg transports.
413 1.6 cgd */
414 1.17 fvdl int svc_dg_enablecache __P((SVCXPRT *, const u_int));
415 1.17 fvdl
416 1.2 brezak __END_DECLS
417 1.17 fvdl
418 1.17 fvdl
419 1.17 fvdl /* for backward compatibility */
420 1.17 fvdl #include <rpc/svc_soc.h>
421 1.1 deraadt
422 1.11 perry #endif /* !_RPC_SVC_H_ */
423