diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2022-11-24 04:20:06 +0100 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2022-11-24 04:20:06 +0100 |
commit | be825f57597b0e9dcf07d257e93f03e30935f7db (patch) | |
tree | 58059fe89c3e2faf8be5999b7cac010e03f1ae31 /ot_mutex.h | |
parent | 110868ec4ebe60521d5a4ced63feca6a1cf0aa2a (diff) |
Add support for dynamic accesslists
Diffstat (limited to 'ot_mutex.h')
-rw-r--r-- | ot_mutex.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,8 +8,8 @@ | |||
8 | 8 | ||
9 | #include <sys/uio.h> | 9 | #include <sys/uio.h> |
10 | 10 | ||
11 | void mutex_init( ); | 11 | void mutex_init( void ); |
12 | void mutex_deinit( ); | 12 | void mutex_deinit( void ); |
13 | 13 | ||
14 | ot_vector *mutex_bucket_lock( int bucket ); | 14 | ot_vector *mutex_bucket_lock( int bucket ); |
15 | ot_vector *mutex_bucket_lock_by_hash( ot_hash hash ); | 15 | ot_vector *mutex_bucket_lock_by_hash( ot_hash hash ); |
@@ -17,7 +17,7 @@ ot_vector *mutex_bucket_lock_by_hash( ot_hash hash ); | |||
17 | void mutex_bucket_unlock( int bucket, int delta_torrentcount ); | 17 | void mutex_bucket_unlock( int bucket, int delta_torrentcount ); |
18 | void mutex_bucket_unlock_by_hash( ot_hash hash, int delta_torrentcount ); | 18 | void mutex_bucket_unlock_by_hash( ot_hash hash, int delta_torrentcount ); |
19 | 19 | ||
20 | size_t mutex_get_torrent_count(); | 20 | size_t mutex_get_torrent_count(void); |
21 | 21 | ||
22 | typedef enum { | 22 | typedef enum { |
23 | TASK_STATS_CONNS = 0x0001, | 23 | TASK_STATS_CONNS = 0x0001, |