/
githubmirror
/
rsyslog
Обзор
Документация
Войти
/
githubmirror
/
rsyslog
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
runtime/segdisk_codec.h
14 строк
410 B
Rainer Gerhards
queue: expose segmented disk durability test hooks
13 июл 2026, 17:51
13 июл 2026, 17:51
8c5c8b8
Код
Авторство
О чём код?
/* Queue-private binary message codec for the segmented disk store. */ #ifndef INCLUDED_SEGDISK_CODEC_H #define INCLUDED_SEGDISK_CODEC_H #include <stddef.h> #include <stdint.h> #include "rsyslog.h" #include "msg.h" #include "segdisk_format.h" rsRetVal segdiskCodecEncode(smsg_t *msg, unsigned char **buf, size_t *len); rsRetVal segdiskCodecDecode(const unsigned char *buf, size_t len, smsg_t **msg); #endif