diff options
author | M.Gergő | 2020-05-26 17:39:24 +0200 |
---|---|---|
committer | M.Gergő | 2020-05-26 17:39:24 +0200 |
commit | b3867d1d28968cf0790fbfa4413d0a8aec7949ef (patch) | |
tree | e89440dee6ae98956885470caf2a6e7efb2a0c0a /src/inirw_internal.h | |
parent | fa19b34f49f6c85a4abf211762a15285d9f76310 (diff) | |
download | lightconfini-b3867d1d28968cf0790fbfa4413d0a8aec7949ef.tar.gz lightconfini-b3867d1d28968cf0790fbfa4413d0a8aec7949ef.zip |
Make dynamic lib
Diffstat (limited to 'src/inirw_internal.h')
-rw-r--r-- | src/inirw_internal.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/inirw_internal.h b/src/inirw_internal.h index f698f29..8bab129 100644 --- a/src/inirw_internal.h +++ b/src/inirw_internal.h @@ -42,20 +42,20 @@ size_t getFileMaxLineLen(FILE *tfd); #if defined(ini_read_c) || defined(ini_write_c) enum lcini_states {Start, BgnSp, CommEndW, SectEndW, SectEndD, EqW1, EqW2, ValPSP, ValW, ValFSP, DqmW, Bslsh, Error, Stop }; - static size_t strNullLen(const uint8_t *str); - static struct lcini_data *iniFSM(struct lcini_data *data, const uint8_t *in, int32_t len); + size_t strNullLen(const uint8_t *str); + struct lcini_data *iniFSM(struct lcini_data *data, const uint8_t *in, int32_t len); - static uint8_t isascalnum(uint8_t c); /* Check if input is ASCII Alpha-numeric */ - static uint8_t checkspace(uint8_t c); /* Only for ASCII characters */ - static size_t strLcpy(uint8_t *dst, size_t dstlen, const uint8_t *src, size_t srclen); - static uint8_t *lciniStrResize(uint8_t *ptr, size_t oldsize, size_t newsize); - static uint8_t unescape(uint8_t c); + uint8_t isascalnum(uint8_t c); /* Check if input is ASCII Alpha-numeric */ + uint8_t checkspace(uint8_t c); /* Only for ASCII characters */ + size_t strLcpy(uint8_t *dst, size_t dstlen, const uint8_t *src, size_t srclen); + uint8_t *lciniStrResize(uint8_t *ptr, size_t oldsize, size_t newsize); + uint8_t unescape(uint8_t c); #ifdef ini_read_c /* int unescape(int c); */ #endif /* ini_read_c */ #ifdef ini_write_c - static uint8_t eescape(uint8_t c); + uint8_t eescape(uint8_t c); #endif /*ini_write_c*/ #endif /* ini_read_c, ini_write_c*/ |