diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-08-29 15:52:53 +0000 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-29 15:52:53 +0000 |
commit | 2fc3f5a58d0c161550050747dd18f96f0f96c694 (patch) | |
tree | 6f32f64e759434e60bbb6a7d46b8a3ce2ae8768e /src/ipcpd/shim-data.h | |
parent | f7942245a37c591d3c3b8d6526dcc38dcf255d25 (diff) | |
parent | 407f1e70cedcf8d7694a5fefa5faf3225abebc81 (diff) | |
download | ouroboros-2fc3f5a58d0c161550050747dd18f96f0f96c694.tar.gz ouroboros-2fc3f5a58d0c161550050747dd18f96f0f96c694.zip |
Merged in sandervrijders/ouroboros/be-dir-query (pull request #576)
shim-eth-llc: Hide directory query locking
Diffstat (limited to 'src/ipcpd/shim-data.h')
-rw-r--r-- | src/ipcpd/shim-data.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ipcpd/shim-data.h b/src/ipcpd/shim-data.h index 983f97f6..6380eea7 100644 --- a/src/ipcpd/shim-data.h +++ b/src/ipcpd/shim-data.h @@ -85,11 +85,14 @@ bool shim_data_dir_has(struct shim_data * data, uint64_t shim_data_dir_get_addr(struct shim_data * data, const uint8_t * hash); -struct dir_query * shim_data_dir_query_create(const uint8_t * hash); +struct dir_query * shim_data_dir_query_create(struct shim_data * data, + const uint8_t * hash); -void shim_data_dir_query_respond(struct dir_query * query); +void shim_data_dir_query_destroy(struct shim_data * data, + struct dir_query * query); -void shim_data_dir_query_destroy(struct dir_query * query); +void shim_data_dir_query_respond(struct shim_data * data, + const uint8_t * hash); int shim_data_dir_query_wait(struct dir_query * query, const struct timespec * timeout); |