]> git.corax.cc Git - toolbox/commit
include/queue: Don't allow passing data along with files
authorMatthias Kruk <m@m10k.eu>
Wed, 30 Jun 2021 22:27:39 +0000 (07:27 +0900)
committerMatthias Kruk <m@m10k.eu>
Wed, 30 Jun 2021 22:33:45 +0000 (07:33 +0900)
commit5cf14d8492b53a3cddff0240f5f2c462094219f6
tree8977d3141ff7c9f7578625f884addbead34931ef
parent007e8a941ee8690e838ffd51d40eaa841265e9d8
include/queue: Don't allow passing data along with files

The queue implementation allows data to be passed along with files in
a queue. This increases the complexity of the queue implementation and
taints the API since the return value from queue_get_file() can't be
used without splitting it first.
This commit removes user-data passing from queue_put_file() and
queue_get_file().
include/queue.sh