mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-04-29 11:03:20 +00:00
21 lines
523 B
Python
21 lines
523 B
Python
"""
|
|
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"] ],
|
|
]
|