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:
20
pysearpc/rpc_table.py
Normal file
20
pysearpc/rpc_table.py
Normal 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"] ],
|
||||
]
|
Reference in New Issue
Block a user