refactor: session module (split to define/utils/pool/table/timer/transition/manager)

This commit is contained in:
luwenpeng
2024-06-25 10:32:51 +08:00
parent 71422ebb36
commit 076b3c7b0b
55 changed files with 342 additions and 227 deletions

View File

@@ -2,8 +2,12 @@
#include <stdlib.h>
#include <string.h>
#include "config.h"
#include "log.h"
#include "toml.h"
#include "config.h"
#define CONFIG_LOG_ERROR(format, ...) LOG_ERROR("config", format, ##__VA_ARGS__)
#define CONFIG_LOG_DEBUG(format, ...) LOG_DEBUG("config", format, ##__VA_ARGS__)
// return 0: success
// retuun -1: failed