Files
open5gs/src/mme/ue-info.h
Bostjan Meglic 37c74da44f [ue-info] consolidate page/page size for ue-info API interface
Remove function pointers to set page/page sizes per info type
(UE/PDU/gNB/eNB info). Instead, call dumpers functions with this
information as function arguments.
2025-10-17 08:30:45 +09:00

45 lines
1.2 KiB
C

/*
* Copyright (C) 2025 by Juraj Elias <juraj.elias@gmail.com>
*
* This file is part of Open5GS.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/*
* /ue-info — MME-side JSON exporter (Prometheus HTTP endpoint)
*
* License: AGPLv3+
*/
#pragma once
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef UE_INFO_PAGE_SIZE_DEFAULT
#define UE_INFO_PAGE_SIZE_DEFAULT 100U
#endif
size_t mme_dump_ue_info(char *buf, size_t buflen,
size_t page, size_t page_size);
size_t mme_dump_ue_info_paged(char *buf, size_t buflen,
size_t page, size_t page_size);
#ifdef __cplusplus
}
#endif