📄 mconfig.h
字号:
/*
* Copyright (C) Obigo AB, 2002-2005.
* All rights reserved.
*
* This software is covered by the license agreement between
* the end user and Obigo AB, and may be
* used and copied only in accordance with the terms of the
* said agreement.
*
* Obigo AB assumes no responsibility or
* liability for any errors or inaccuracies in this software,
* or any consequential, incidental or indirect damage arising
* out of the use of the software.
*
*/
#ifndef _MCONFIG_H
#define _MCONFIG_H
#define MMS_INVALID_CFG_VARIABLE 0xfffffff0
#define IS_HOST_SEPARATOR(x) ((x) == '|')
#define IS_HOST_LETTER(x) ( \
((x) >= '0' && (x) <= '9') || \
((x) >= 'a' && (x) <= 'z') || \
((x) >= 'A' && (x) <= 'Z') || \
(x) == '.' || (x) == '-')
#define IS_PORT(x) ( \
((x) >= '0' && (x) <= '9') || \
(x) == ':')
typedef enum
{
MMS_SIG_CORE_GET_CONFIG_INT = M_FSM_CORE_CONFIG * MMS_MAX_SIG_PER_FSM,
MMS_SIG_CORE_GET_CONFIG_STR,
MMS_SIG_CORE_SET_CONFIG_INT,
MMS_SIG_CORE_SET_CONFIG_STR
} MmsCoreConfigSignalId;
void cfgInit(void);
void cfgTerminate(void);
UINT32 cfgGetInt(MmsConfigInt key);
char *cfgGetStr(MmsConfigStr key);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -