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:
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 struct {
|
||||
struct _SearpcClient {
|
||||
TransportCB send;
|
||||
void *arg;
|
||||
|
||||
AsyncTransportSend async_send;
|
||||
void *async_arg;
|
||||
} SearpcClient;
|
||||
};
|
||||
|
||||
typedef struct _SearpcClient SearpcClient;
|
||||
|
||||
SearpcClient *searpc_client_new ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user