Debian Codegraph @

src/dnswire.c

raw
1 /*
2 * Author Jerry Lundström <[email protected]>
3 * Copyright (c) 2019-2026 OARC, Inc.
4 * All rights reserved.
5 *
6 * This file is part of the dnswire library.
7 *
8 * dnswire library is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * dnswire library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with dnswire library. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22 #include "config.h"
23
24 #include "dnswire/dnswire.h"
25
26 const char* const dnswire_result_string[] = {
27 "ok",
28 "error",
29 "again",
30 "need_more",
31 "have_dnstap",
32 "endofdata",
33 "bidirectional",
34 };