diff options
author | Nikias Bassen | 2019-05-22 11:32:11 +0200 |
---|---|---|
committer | Nikias Bassen | 2019-05-22 11:32:11 +0200 |
commit | a6b542b389d0536d2730c1721164a712ec2f020e (patch) | |
tree | 52d7010bcf314c1969b0be12f1e49765f2200c77 /common/collection.h | |
parent | 9efb1745bf0eb68064a670b297d4ec7fc98caa02 (diff) | |
download | libusbmuxd-a6b542b389d0536d2730c1721164a712ec2f020e.tar.gz libusbmuxd-a6b542b389d0536d2730c1721164a712ec2f020e.tar.bz2 |
Add new usbmuxd_events_subscribe/unsubscribe functions with a context so it can be used in different threads
Diffstat (limited to 'common/collection.h')
-rw-r--r-- | common/collection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/collection.h b/common/collection.h index a91a465..47b9b7f 100644 --- a/common/collection.h +++ b/common/collection.h @@ -29,7 +29,7 @@ struct collection { void collection_init(struct collection *col); void collection_add(struct collection *col, void *element); -void collection_remove(struct collection *col, void *element); +int collection_remove(struct collection *col, void *element); int collection_count(struct collection *col); void collection_free(struct collection *col); |