Commit graph

11 commits

Author SHA1 Message Date
e96ba1dca1 cargo: Add some Cargo metadata
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add a homepage URL and a the readme to sysvmq's Cargo.toml.
2023-12-08 01:22:33 +01:00
a29aa7971d readme: Add an example to the readme 2023-12-08 01:22:33 +01:00
8b1a84ba53 sysvmq: Update rust edition to 2021
Update rust edition to 2021.
2023-12-08 01:22:33 +01:00
39b8d6ace8 sysvmq: Implement send and recv and refactor
Implement sending to and receiving from SysV IPC message queues. While
at it refactor the whole library. Write documentation for the sysvmq
library.
2023-12-08 01:22:33 +01:00
eedbbedb6a cargo: Update nix to the latest version
Update the sysvmq dependency nix to the latest version.
2023-12-08 01:22:33 +01:00
d6b82f0e72 clippy: Fix several clippy issues
In order to enable several clippy lint groups fix several findings.
2023-12-08 01:22:33 +01:00
21bc394c58 sysvmq: Create a rudimentary readme file
Create a rudimentary readme file.
2023-12-08 01:22:33 +01:00
ecd5ee5a36 Add functions to print information about SysV mqs
Not needed yet but maybe useful..
2021-07-09 00:31:51 +02:00
f4796e7da6 Refactor sysvmq::unlink_* and check for error
Use `sysvmq::id_from_key(key)` to receive the id of a queue identified
with `key`. Here an error check is added as well. Adapt
`Sysv::Unlink::run()` to comply with that change.
2021-07-08 14:20:53 +02:00
cc19087195 Implement deletion of SysV IPC message queues
As usual also the readme and the man page are updated.
2021-07-07 20:48:07 +02:00
4d200bb5f3 Implement creation of SysV IPC message queues
This adds the `sysvmq` package which handles SysV IPC message queues.
For consistency the parameter for `permissions` is renamed to `mode`
also for POSIX message queues.
2021-07-07 20:31:16 +02:00