Prusa MINI Firmware overview
|
Go to the documentation of this file.
25 #ifndef INI_HANDLER_LINENO
26 #define INI_HANDLER_LINENO 0
30 #if INI_HANDLER_LINENO
32 const char* name,
const char* value,
36 const char* name,
const char* value);
40 typedef char* (*ini_reader)(
char* str,
int num,
void* stream);
75 #ifndef INI_ALLOW_MULTILINE
76 #define INI_ALLOW_MULTILINE 1
82 #define INI_ALLOW_BOM 1
87 #ifndef INI_START_COMMENT_PREFIXES
88 #define INI_START_COMMENT_PREFIXES ";#"
94 #ifndef INI_ALLOW_INLINE_COMMENTS
95 #define INI_ALLOW_INLINE_COMMENTS 1
97 #ifndef INI_INLINE_COMMENT_PREFIXES
98 #define INI_INLINE_COMMENT_PREFIXES ";"
102 #ifndef INI_USE_STACK
103 #define INI_USE_STACK 1
109 #define INI_MAX_LINE 200
115 #ifndef INI_ALLOW_REALLOC
116 #define INI_ALLOW_REALLOC 0
121 #ifndef INI_INITIAL_ALLOC
122 #define INI_INITIAL_ALLOC 200
126 #ifndef INI_STOP_ON_FIRST_ERROR
127 #define INI_STOP_ON_FIRST_ERROR 0
133 #ifndef INI_CALL_HANDLER_ON_NEW_SECTION
134 #define INI_CALL_HANDLER_ON_NEW_SECTION 0
140 #ifndef INI_ALLOW_NO_VALUE
141 #define INI_ALLOW_NO_VALUE 0
#define HANDLER(u, s, n, v)
char *(* ini_reader)(char *str, int num, void *stream)
Definition: ini.h:40
#define INI_INITIAL_ALLOC
Definition: ini.h:122
bool error
Definition: auto_build.py:637
int ini_parse_string(const char *string, ini_handler handler, void *user)
Definition: ini.c:277
size_t num_left
Definition: ini.c:34
start
Definition: g29_auto.py:150
int ini_parse(const char *filename, ini_handler handler, void *user)
Definition: ini.c:236
#define INI_MAX_LINE
Definition: ini.h:109
static char * lskip(const char *s)
Definition: ini.c:47
#define NULL
Definition: usbd_def.h:53
int ini_parse_string(const char *string, ini_handler handler, void *user)
Definition: ini.c:277
int ini_parse(const char *filename, ini_handler handler, void *user)
Definition: ini.c:236
end
Definition: createSpeedLookupTable.py:33
int ini_parse_stream(ini_reader reader, void *stream, ini_handler handler, void *user)
Definition: ini.c:83
int ini_parse_file(FILE *file, ini_handler handler, void *user)
Definition: ini.c:230
static char * find_chars_or_comment(const char *s, const char *chars)
Definition: ini.c:57
#define INI_START_COMMENT_PREFIXES
Definition: ini.h:88
static char * ini_reader_string(char *str, int num, void *stream)
Definition: ini.c:251
#define INI_INLINE_COMMENT_PREFIXES
Definition: ini.h:98
int ini_parse_stream(ini_reader reader, void *stream, ini_handler handler, void *user)
Definition: ini.c:83
int
Definition: createSpeedLookupTable.py:15
const char * ptr
Definition: ini.c:33
static char * strncpy0(char *dest, const char *src, size_t size)
Definition: ini.c:75
static char * rstrip(char *s)
Definition: ini.c:38
#define MAX_NAME
Definition: ini.c:29
int(* ini_handler)(void *user, const char *section, const char *name, const char *value)
Definition: ini.h:35
#define MAX_SECTION
Definition: ini.c:28
int ini_parse_file(FILE *file, ini_handler handler, void *user)
Definition: ini.c:230
static png_bytep size_t size
Definition: pngwrite.c:2170