1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-08-02 05:12:55 +00:00

Improved client headers to be used in c++ forward declaration.

This commit is contained in:
Shuai Lin 2016-06-15 14:48:04 +08:00
parent 749a480fda
commit 0228a79c97

View File

@ -22,13 +22,15 @@ typedef int (*AsyncTransportSend)(void *arg, gchar *fcall_str,
typedef void (*AsyncCallback) (void *result, void *user_data, GError *error);
typedef struct {
struct _SearpcClient {
TransportCB send;
void *arg;
AsyncTransportSend async_send;
void *async_arg;
} SearpcClient;
};
typedef struct _SearpcClient SearpcClient;
SearpcClient *searpc_client_new ();