mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-08-13 10:15:22 +00:00
Improved client headers to be used in c++ forward declaration.
This commit is contained in:
parent
749a480fda
commit
0228a79c97
@ -22,13 +22,15 @@ typedef int (*AsyncTransportSend)(void *arg, gchar *fcall_str,
|
|||||||
|
|
||||||
typedef void (*AsyncCallback) (void *result, void *user_data, GError *error);
|
typedef void (*AsyncCallback) (void *result, void *user_data, GError *error);
|
||||||
|
|
||||||
typedef struct {
|
struct _SearpcClient {
|
||||||
TransportCB send;
|
TransportCB send;
|
||||||
void *arg;
|
void *arg;
|
||||||
|
|
||||||
AsyncTransportSend async_send;
|
AsyncTransportSend async_send;
|
||||||
void *async_arg;
|
void *async_arg;
|
||||||
} SearpcClient;
|
};
|
||||||
|
|
||||||
|
typedef struct _SearpcClient SearpcClient;
|
||||||
|
|
||||||
SearpcClient *searpc_client_new ();
|
SearpcClient *searpc_client_new ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user