open5gs/src/mme/mme-timer.h

60 lines
1.4 KiB
C
Raw Normal View History

2019-07-20 02:20:09 +00:00
/*
* Copyright (C) 2019 by Sukchan Lee <acetcom@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/>.
*/
#ifndef MME_TIMER_H
#define MME_TIMER_H
#include "ogs-core.h"
#ifdef __cplusplus
extern "C" {
#endif
/* forward declaration */
2019-07-20 02:20:09 +00:00
typedef enum {
MME_TIMER_BASE = 0,
/* S1AP */
MME_TIMER_S1_DELAYED_SEND,
/* EMM */
2019-07-20 02:20:09 +00:00
MME_TIMER_T3413,
/* SGSAP */
MME_TIMER_SGS_CLI_CONN_TO_SRV,
2019-07-20 02:20:09 +00:00
MME_TIMER_TOP,
} mme_timer_e;
void mme_timer_init(void);
void mme_timer_final(void);
const char *mme_timer_get_name(mme_timer_e id);
void mme_timer_s1_delayed_send(void *data);
void mme_timer_t3413_expire(void *data);
2019-07-20 06:34:41 +00:00
void mme_timer_sgs_cli_conn_to_srv(void *data);
2019-07-20 02:20:09 +00:00
#ifdef __cplusplus
}
#endif
#endif /* MME_TIMER_H */