4 * Copyright (C) 2009 iptelorg GmbH
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 * SER RPC lookup and register functions
24 * 2009-05-11 initial version (andrei)
27 #ifndef __rpc_lookup_h
28 #define __rpc_lookup_h
31 /* must be exported for listing the rpcs */
32 extern rpc_export_t** rpc_sarray;
33 extern int rpc_sarray_crt_size;
38 rpc_export_t* rpc_lookup(const char* name, int len);
39 int rpc_register(rpc_export_t* rpc);
40 int rpc_register_array(rpc_export_t* rpc_array);
44 #endif /*__rpc_lookup_h*/
46 /* vi: set ts=4 sw=4 tw=79:ai:cindent: */