diff options
Diffstat (limited to 'src/dispatch.h')
-rw-r--r-- | src/dispatch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dispatch.h b/src/dispatch.h index 2520e10..6734f33 100644 --- a/src/dispatch.h +++ b/src/dispatch.h @@ -33,10 +33,10 @@ struct DispatchAsyncData { void (*callback) (JsonObject *, int, gpointer); }; -JsonObject *dispatch(trg_client * client, JsonNode * req, int *status); -gboolean dispatch_async(trg_client * client, JsonNode * req, +JsonObject *dispatch(TrgClient * client, JsonNode * req, int *status); +gboolean dispatch_async(TrgClient * client, JsonNode * req, void (*callback) (JsonObject *, int, gpointer), gpointer data); -GThreadPool *dispatch_init_pool(trg_client * client); +GThreadPool *dispatch_init_pool(TrgClient * client); #endif /* DISPATCH_H_ */ |