You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#ifndef _MSH_FSTR_H
|
|
#define _MSH_FSTR_H
|
|
|
|
// current length of the string and remaining space, total allocated space is
|
|
// len + space
|
|
typedef struct _fstr {
|
|
unsigned long int len;
|
|
unsigned long int space;
|
|
char *s;
|
|
} fstr_t;
|
|
|
|
void fstr_append_char(fstr_t *, char);
|
|
|
|
#endif
|
|
|