1
0
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:
plt 2012-06-10 09:10:39 +08:00
parent b86dfb60a1
commit bd7824f847
3 changed files with 21 additions and 19 deletions

View File

@ -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"] ],

View File

@ -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;

View File

@ -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 */