* round trip xml launch * roms load * removed debug * added binary data and changed rom format * changed hex format * fixed bug * added structure and start/length * removed base64 support * removed base64 support * fixed parsing bugs * fixed hex parse bug * fixed parser * fixing paths * fixed rbf parser * fixed initialization bug * fixed extension removal for when there are multiple extension options * fixed core path and cleaned up filelength * added md5 checks to arcade roms * fixed rbf search * added error support * Simplify error checking code * fixed arcade error message pop up * fixed bug in part zip initialization * removed dtdt * don't load second rom0 if first works * fixed directory problem * added more comments * added / to zip path * fixed / bug, truncate mame zip error message * fixed scrolling RBF * fixed scrolling name and error message * added code to remove _date in scrolling text * remove redundant /
16 lines
373 B
C
16 lines
373 B
C
#ifndef STRING_UTILS_H_
|
|
#define STRING_UTILS_H_
|
|
|
|
typedef struct {
|
|
unsigned int length;
|
|
unsigned int capacity;
|
|
unsigned int expand_length;
|
|
char * content;
|
|
} buffer_data;
|
|
|
|
buffer_data * buffer_init(const unsigned int initial_size);
|
|
int buffer_append(buffer_data *buffer, const char *append_data);
|
|
void buffer_destroy(buffer_data * buffer);
|
|
|
|
#endif // STRING_UTILS_H_
|