mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-09-13 05:25:40 +00:00
add all files
This commit is contained in:
20
rpc_table.py
Normal file
20
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