Updated ideas.
This commit is contained in:
@ -9,6 +9,8 @@
|
||||
#include "../libs.h"
|
||||
|
||||
#define STRING_HANDLEBAR_KEY_MAXLENGTH 32
|
||||
#define STRING_HANDLEBAR_LIST_VARIABLE_SIZE 512
|
||||
#define STRING_HANDLEBAR_LIST_VARIABLE_COUNT 64
|
||||
|
||||
/** Representation of a String Handlebar Variable */
|
||||
typedef struct {
|
||||
@ -16,4 +18,11 @@ typedef struct {
|
||||
char *key;
|
||||
/** The value to replace it with */
|
||||
char *value;
|
||||
} stringhandlebarvariable_t;
|
||||
} stringhandlebarvariable_t;
|
||||
|
||||
typedef struct {
|
||||
char buffer[
|
||||
STRING_HANDLEBAR_LIST_VARIABLE_SIZE * STRING_HANDLEBAR_LIST_VARIABLE_COUNT
|
||||
];
|
||||
stringhandlebarvariable_t variables[STRING_HANDLEBAR_LIST_VARIABLE_COUNT];
|
||||
} stringhandlebarvariablelist_t;
|
Reference in New Issue
Block a user