1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-21 10:17:16 +00:00

1. Rearraged the source tree

2. modified the autotools scripts, "make distcheck" is ok now
This commit is contained in:
lins05
2011-04-15 14:33:25 +08:00
parent fecbee71a1
commit 02eb0744fc
25 changed files with 100 additions and 949 deletions

20
pysearpc/rpc_table.py Normal file
View File

@@ -0,0 +1,20 @@
"""
Define RPC functions needed to generate
"""
# [ <ret-type>, [<arg_types>] ]
func_table = [
[ "int", ["string"] ],
[ "int", ["string", "string"] ],
[ "string", [] ],
[ "string", ["string"] ],
[ "string", ["string", "int"] ],
[ "objlist", [] ],
[ "objlist", ["string"] ],
[ "objlist", ["int", "int"] ],
[ "objlist", ["string", "int"] ],
[ "objlist", ["string", "int", "int"] ],
[ "objlist", ["string", "string", "int"] ],
[ "object", [] ],
[ "object", ["string"] ],
]