/src/open5gs/tests/fuzzing/fuzzing.h
Line | Count | Source |
1 | | /* |
2 | | * Copyright (C) 2019-2023 by Sukchan Lee <acetcom@gmail.com> |
3 | | * |
4 | | * This file is part of Open5GS. |
5 | | * |
6 | | * This program is free software: you can redistribute it and/or modify |
7 | | * it under the terms of the GNU Affero General Public License as published by |
8 | | * the Free Software Foundation, either version 3 of the License, or |
9 | | * (at your option) any later version. |
10 | | * |
11 | | * This program is distributed in the hope that it will be useful, |
12 | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | | * GNU General Public License for more details. |
15 | | * |
16 | | * You should have received a copy of the GNU General Public License |
17 | | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
18 | | */ |
19 | | #include "ogs-core.h" |
20 | | #include "core/abts.h" |
21 | | |
22 | | static int initialized = 0; |
23 | | |
24 | 1 | void initialize(void) { |
25 | | |
26 | 1 | ogs_pkbuf_config_t config; |
27 | | |
28 | 1 | ogs_core_initialize(); |
29 | | |
30 | 1 | ogs_pkbuf_default_init(&config); |
31 | 1 | ogs_pkbuf_default_create(&config); |
32 | | |
33 | 1 | initialized = 1; |
34 | 1 | } |