sysvmq/CHANGELOG.md
finga 24d9d5090e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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:50:02 +01:00

1.5 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Basic tests to create, send, receive and delete a message queue as well as changing the mode of a queue.
  • The functions SysvMq::stat(), SysvMq::info(), SysvMq::msg_stat() and SysvMq::msg_info() are added to receive parameters of a queue.
  • The function new() passes now a key which is used for the new message queue.
  • A basic test to test the happy path of a queue.
  • The function get() to gather facts from a message queue.
  • The function set() to set facts of a message queue.
  • The function create() to create a message queue.
  • The functions send() and SysvMq::send() to send messages to a queue.
  • The functions recv() and SysvMq::recv() to receive messages from a queue.
  • The function SysvMq::delete() to delete a queue.

Changed

  • The function SysvMq::mode() now also updates the message queue accordingly.
  • Remove PhantomData from the SysvMq struct.
  • The function SysvMq::create() is replaced by SysvMq::new().
  • Remove generic type for SysvMq.
  • Rename unlink_id() to delete().
  • Update to the latest verscion of nix.
  • Fix several clippy findings in preperation to enable several lint groups.

Removed

  • The function id_from_key() was removed.