Daniel Barlow
|
324465bc18
|
devout: write uevent KEY=value format to clients
|
2024-04-26 17:37:28 +01:00 |
|
Daniel Barlow
|
b33249a050
|
devout: add readiness notification
|
2024-04-26 17:23:29 +01:00 |
|
Daniel Barlow
|
b9c084415e
|
devout: handle readiness on netlink socket but no event
|
2024-04-26 17:20:33 +01:00 |
|
Daniel Barlow
|
cf9cadd212
|
devout: replay relevant events to new subscriber
|
2024-04-26 17:20:33 +01:00 |
|
Daniel Barlow
|
a116fe084a
|
devout: use socket constants from anoia.net.constants
|
2024-04-26 16:48:51 +01:00 |
|
Daniel Barlow
|
18335b95e3
|
devout: strip newlines from client terms
this is just to make testing with socat easier
|
2024-04-24 18:33:02 +01:00 |
|
Daniel Barlow
|
6bee2f67ac
|
devout: add incoming netlink messages to database
|
2024-04-24 18:32:27 +01:00 |
|
Daniel Barlow
|
b4ba3eea21
|
fix revents in unpack-pollfds
|
2024-04-24 18:31:26 +01:00 |
|
Daniel Barlow
|
032d0f8aca
|
add netlink socket
it's not hooked up to anything yet, but it proves we can
do this with lualinux
|
2024-04-23 23:34:25 +01:00 |
|
Daniel Barlow
|
b8ac9e5279
|
convert devout from minisock to lualinux
|
2024-04-23 23:33:11 +01:00 |
|
Daniel Barlow
|
97a8ae1c84
|
devout: add event loop and main run function
|
2024-04-23 20:15:02 +01:00 |
|
Daniel Barlow
|
52eb283a26
|
implement unsubscribe
and add ids to subscribe so that there's a unique identifier
to pass to unsubscribe
|
2024-04-23 20:12:46 +01:00 |
|
Daniel Barlow
|
f9c03998b8
|
implement subscriptions with callback
|
2024-04-21 13:19:17 +01:00 |
|
Daniel Barlow
|
e9370358ae
|
implement "remove" events
|
2024-04-21 11:19:06 +01:00 |
|
Daniel Barlow
|
762ce7b6b8
|
cut/paste devout implementation into a real module
|
2024-04-20 22:48:00 +01:00 |
|
Daniel Barlow
|
349bfecbb8
|
new package "devout", does nothing yet
|
2024-04-20 17:45:40 +01:00 |
|