summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author郑超 <[email protected]>2022-11-07 12:51:46 +0000
committer郑超 <[email protected]>2022-11-07 12:51:46 +0000
commit7e3367635c4030ca2a0d5c967b8b25bad38281e9 (patch)
treeb8b59b825407dad8434a4958d954b4d55e5c37e0 /include
parentdf5671e3a2c4cfbf0ca8e55f5f1d9d7e8e69869c (diff)
New `TUNNEL` command for troubleshooting. The remote command processing code is refactored for better structure.
Diffstat (limited to 'include')
-rw-r--r--include/swarmkv/swarmkv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/swarmkv/swarmkv.h b/include/swarmkv/swarmkv.h
index 27bd57c..c7b0785 100644
--- a/include/swarmkv/swarmkv.h
+++ b/include/swarmkv/swarmkv.h
@@ -63,8 +63,8 @@ void swarmkv_close(struct swarmkv * db);
//Blocking function
struct swarmkv_reply *swarmkv_command(struct swarmkv *db, const char *target, const char *format, ...);
-//Non-blockign function
-typedef void swarmkv_cmd_callback_func_t(const struct swarmkv_reply* reply, void * arg);
+//Non-blocking function
+typedef void swarmkv_cmd_callback_func_t(const struct swarmkv_reply *reply, void * arg);
void swarmkv_command_async(struct swarmkv *db, swarmkv_cmd_callback_func_t * cb, void *cb_arg, const char *target, const char *format, ...);
void swarmkv_get(struct swarmkv * db,