diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:18 +0000 |
commit | 5da14042f70711ea5cf66e034699730335462f66 (patch) | |
tree | 0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/lib/monkey/plugins/logger/pointers.c | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz netdata-5da14042f70711ea5cf66e034699730335462f66.zip |
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/lib/monkey/plugins/logger/pointers.c')
-rw-r--r-- | src/fluent-bit/lib/monkey/plugins/logger/pointers.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/monkey/plugins/logger/pointers.c b/src/fluent-bit/lib/monkey/plugins/logger/pointers.c new file mode 100644 index 000000000..11c48906a --- /dev/null +++ b/src/fluent-bit/lib/monkey/plugins/logger/pointers.c @@ -0,0 +1,43 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ + +/* Monkey HTTP Server + * ================== + * Copyright 2001-2017 Eduardo Silva <eduardo@monkey.io> + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <monkey/mk_plugin.h> + +#include "logger.h" +#include "pointers.h" + +const mk_ptr_t mk_logger_iov_none = mk_ptr_init(""); + +/* Writter helpers */ +const mk_ptr_t mk_logger_iov_dash = mk_ptr_init(MK_LOGGER_IOV_DASH); +const mk_ptr_t mk_logger_iov_space = mk_ptr_init(MK_IOV_SPACE); +const mk_ptr_t mk_logger_iov_lf = mk_ptr_init(MK_IOV_LF); +const mk_ptr_t mk_logger_iov_empty = mk_ptr_init(MK_LOGGER_IOV_EMPTY); + +/* Error messages */ +const mk_ptr_t error_msg_400 = mk_ptr_init(ERROR_MSG_400); +const mk_ptr_t error_msg_403 = mk_ptr_init(ERROR_MSG_403); +const mk_ptr_t error_msg_404 = mk_ptr_init(ERROR_MSG_404); +const mk_ptr_t error_msg_405 = mk_ptr_init(ERROR_MSG_405); +const mk_ptr_t error_msg_408 = mk_ptr_init(ERROR_MSG_408); +const mk_ptr_t error_msg_411 = mk_ptr_init(ERROR_MSG_411); +const mk_ptr_t error_msg_413 = mk_ptr_init(ERROR_MSG_413); +const mk_ptr_t error_msg_500 = mk_ptr_init(ERROR_MSG_500); +const mk_ptr_t error_msg_501 = mk_ptr_init(ERROR_MSG_501); +const mk_ptr_t error_msg_505 = mk_ptr_init(ERROR_MSG_505); |