From 2fc0b728fe04f9cc89ebe30c38615663c37c5b06 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 1 Jun 2026 19:10:42 +0200 Subject: add todos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- TODO | 1 + oikobusd.c | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/TODO b/TODO index a2cd761..7b6afe4 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,4 @@ Add support for SIGCONT Add ability to reexec Add ability to reload +Add option to not use discovery (for isolated instance) diff --git a/oikobusd.c b/oikobusd.c index 10041d8..9087bcf 100644 --- a/oikobusd.c +++ b/oikobusd.c @@ -504,6 +504,11 @@ peer_handshake(union file *this_, uint32_t epoll_events) uint8_t bit = (uint8_t)(1u << (this->handshake_state->realm % 8u)); this->realms[this->handshake_state->realm / 8u] |= bit; handshake_prepare(this, 1u)[0u] = 1u; + /* TODO we should send a realm index instead, so we can + * encode reals as indicies rather than names + * (index 0 should be reserved for the local-only + * realm: a default realm that can only be accessed + * on the same machine by the same user) */ } else { handshake_prepare(this, 1u)[0u] = 0u; } -- cgit v1.3.1