1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef _RVC_SLOT_H
- #define _RVC_SLOT_H
- #pragma once
- #include <stdio.h>
- #ifndef RVC_SLOT_MAX_NUM
- #define RVC_SLOT_MAX_NUM 16
- #endif
- typedef struct rvc_slotvar_s {
- char* strName;
- char* strValue;
- }rvc_slotvar_t;
- typedef struct rvc_slotfilter_s {
- char* strLogType;
- char* strEntity;
- char* strSeverityLevel;
- char* strSysError;
- char* strUserCode;
- char* strContentToVar;
- }rvc_slotfilter_t;
- typedef struct rvc_slotreset_s {
- char* strSource;
- }rvc_slotreset_t;
- typedef struct rvc_slot_s {
- char* strCode;
- char* strTimeout;
- char* strOneTrigger;
- rvc_slotvar_t Vars[RVC_SLOT_MAX_NUM];
- rvc_slotfilter_t Filters[RVC_SLOT_MAX_NUM];
- rvc_slotreset_t Reset[RVC_SLOT_MAX_NUM];
- }rvc_slot_t;
- #endif
|