MEDIUM: sink: add a new dpapi ring buffer

Add a 1MB ring buffer called "dpapi" for communication with the
dataplane API. It would first be used to transmit ACME informations to
the dataplane API but could be used for more.
This commit is contained in:
William Lallemand 2025-04-16 13:56:12 +02:00
parent f6fc914fb6
commit bea6235629

View File

@ -1411,6 +1411,7 @@ static void sink_init()
sink_new_fd("stdout", "standard output (fd#1)", LOG_FORMAT_RAW, 1); sink_new_fd("stdout", "standard output (fd#1)", LOG_FORMAT_RAW, 1);
sink_new_fd("stderr", "standard output (fd#2)", LOG_FORMAT_RAW, 2); sink_new_fd("stderr", "standard output (fd#2)", LOG_FORMAT_RAW, 2);
sink_new_buf("buf0", "in-memory ring buffer", LOG_FORMAT_TIMED, 1048576); sink_new_buf("buf0", "in-memory ring buffer", LOG_FORMAT_TIMED, 1048576);
sink_new_buf("dpapi", "DPAPI ring buffer", LOG_FORMAT_TIMED, 1048576);
} }
static int sink_postcheck() static int sink_postcheck()