/* * This Source Code Form is subject to the terms of the Mozilla Public License, * v. 2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at https://mozilla.org/MPL/2.0/. */ #ifndef SRC_SETTINGS_H #define SRC_SETTINGS_H #include #include #define IPV6_STRLEN_MAX 39 // excluding '\0' struct settings_syslog_target { const char *ip; }; struct settings_syslog { struct settings_syslog_target target; }; struct settings { struct settings_syslog syslog; }; int settings_to_json(void *buffer, size_t data); #endif // !SRC_SETTINGS_H