Files
firmware/right/src/config/parse_config.h
2017-07-21 11:54:39 -07:00

26 lines
592 B
C

#ifndef __PARSE_CONFIG_H__
#define __PARSE_CONFIG_H__
// Includes:
#include "config_state.h"
// Typedefs:
typedef enum {
ParserError_Success,
ParserError_InvalidSerializedKeystrokeType,
ParserError_InvalidSerializedMouseAction,
ParserError_InvalidSerializedKeyActionType,
ParserError_InvalidLayerCount,
ParserError_InvalidModuleCount,
ParserError_InvalidActionCount,
ParserError_InvalidSerializedMacroActionType,
} parser_error_t;
// Functions:
parser_error_t ParseConfig(config_buffer_t *buffer);
#endif