Commit graph

13 commits

Author SHA1 Message Date
76e3144436 Ready for Zig v0.15.2. Details in commit message.
The library jumped to Zig v0.15.2 which implies a new build system.
`build.zig` now compiles libipc as both static and dynamic libraries,
and provides an entry point to use `libipc` as-is for Zig applications.

Some examples have been added to help new users play with the library.

Thanks to these fairly complete examples, two (very small) leaks related
to sentinel values (in arrays containing paths) were fixed.
2025-10-25 16:35:02 +02:00
f59eb58e0b Switch: callbacks can be set to "NULL" to keep default operations. 2024-06-18 13:19:30 +02:00
8ffd0faba1 Some documentation in libipc.h, size_t for buffer sizes. 2024-06-17 14:50:26 +02:00
c0d6404186 Switching now handles callbacks correctly. 2024-06-17 00:14:48 +02:00
18a77fa2ef Switching now works with provided bindings. 2024-06-16 16:02:03 +02:00
8e889ef242 Event now includes a "newfd" field for new client's fd. 2024-06-15 22:19:31 +02:00
13081f3612 Compiles with zig-0.12 2024-06-06 03:39:52 +02:00
d441b3bf88 Fix all const values marked as "variables". 2024-03-21 02:53:25 +01:00
0d74c82e7c Update to new Zig API (0.11.0-dev.3892+0a6cd257b). 2023-07-01 13:43:41 +02:00
bc4c54f624 Manage disconnection (BrokenPipe) error while sending a message. 2023-05-15 09:12:32 +02:00
527049ed3d Following the new Zig std. 2023-05-03 03:21:30 +02:00
70c062a598 Code style using 'zig fmt'. 2023-02-07 07:47:00 +01:00
721d8842c5 Initial commit. Old commit history: https://git.baguette.netlib.re/Baguette/libipc-old 2023-02-06 10:44:51 +01:00