diff options
author | dimitri staessens <[email protected]> | 2017-02-10 23:56:10 +0100 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-02-10 23:56:10 +0100 |
commit | 2da76c5db47aeabb91669d6ca9c4da92911fbec9 (patch) | |
tree | 9b7b8fd5a82174af60225982873c2e429f432e19 /include | |
parent | f87a2bc5199104d87ccc48dcc2b0e18d345a9bb4 (diff) | |
download | ouroboros-2da76c5db47aeabb91669d6ca9c4da92911fbec9.tar.gz ouroboros-2da76c5db47aeabb91669d6ca9c4da92911fbec9.zip |
cdap: Take void * for send operations
This facilitates sending arbitrary variables over CDAP.
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/cdap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ouroboros/cdap.h b/include/ouroboros/cdap.h index 23a8a3d6..9f6e2654 100644 --- a/include/ouroboros/cdap.h +++ b/include/ouroboros/cdap.h @@ -52,8 +52,8 @@ int cdap_destroy(struct cdap * instance); cdap_key_t cdap_request_send(struct cdap * instance, enum cdap_opcode code, - char * name, - uint8_t * data, + const char * name, + const void * data, size_t len, uint32_t flags); @@ -72,7 +72,7 @@ cdap_key_t cdap_request_wait(struct cdap * instance, int cdap_reply_send(struct cdap * instance, cdap_key_t key, int result, - uint8_t * data, + const void * data, size_t len); #endif /* OUROBOROS_CDAP_H */ |