mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-08-02 05:12:55 +00:00
Add missing int64 related signatures to rpc table
This commit is contained in:
parent
b86dfb60a1
commit
bd7824f847
@ -16,7 +16,9 @@ func_table = [
|
||||
[ "int", ["string", "string"] ],
|
||||
[ "int", ["string", "string", "string"] ],
|
||||
[ "int", ["string", "string", "int", "int"] ],
|
||||
[ "int", ["string", "string", "string", "string"]],
|
||||
[ "int", ["string", "string", "string", "string"] ],
|
||||
[ "int64", [] ],
|
||||
[ "int64", ["string"] ],
|
||||
[ "string", [] ],
|
||||
[ "string", ["int"] ],
|
||||
[ "string", ["string"] ],
|
||||
|
@ -8,6 +8,24 @@
|
||||
#include "searpc-utils.h"
|
||||
|
||||
|
||||
static char*
|
||||
searpc_client_fret__string (char *data, size_t len, GError **error);
|
||||
|
||||
static int
|
||||
searpc_client_fret__int (char *data, size_t len, GError **error);
|
||||
|
||||
static gint64
|
||||
searpc_client_fret__int64 (char *data, size_t len, GError **error);
|
||||
|
||||
static GObject*
|
||||
searpc_client_fret__object (GType gtype, char *data,
|
||||
size_t len, GError **error);
|
||||
|
||||
static GList*
|
||||
searpc_client_fret__objlist (GType gtype, char *data,
|
||||
size_t len, GError **error);
|
||||
|
||||
|
||||
static void clean_objlist(GList *list)
|
||||
{
|
||||
GList *ptr;
|
||||
|
@ -109,24 +109,6 @@ int
|
||||
searpc_client_generic_callback (char *retstr, size_t len,
|
||||
void *vdata, const char *errstr);
|
||||
|
||||
#include <searpc-fcall.h>
|
||||
|
||||
char*
|
||||
searpc_client_fret__string (char *data, size_t len, GError **error);
|
||||
|
||||
int
|
||||
searpc_client_fret__int (char *data, size_t len, GError **error);
|
||||
|
||||
gint64
|
||||
searpc_client_fret__int64 (char *data, size_t len, GError **error);
|
||||
|
||||
GObject*
|
||||
searpc_client_fret__object (GType gtype, char *data,
|
||||
size_t len, GError **error);
|
||||
|
||||
GList*
|
||||
searpc_client_fret__objlist (GType gtype, char *data,
|
||||
size_t len, GError **error);
|
||||
|
||||
/* in case of transport error, the following code and message will be
|
||||
* set in GError */
|
||||
|
Loading…
Reference in New Issue
Block a user