diff options
author | Haru <haru@dotalux.com> | 2014-11-16 01:57:44 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-16 07:16:22 +0100 |
commit | e28e52c09c8aedfdce4d0673f84382a3ee44f63b (patch) | |
tree | 7d5736db9708cb1b343176d7d512b5637e0145b3 /src/common/strlib.h | |
parent | d5e8c4e4b75636451782098929699eb97cebebe4 (diff) | |
download | hercules-e28e52c09c8aedfdce4d0673f84382a3ee44f63b.tar.gz hercules-e28e52c09c8aedfdce4d0673f84382a3ee44f63b.tar.bz2 hercules-e28e52c09c8aedfdce4d0673f84382a3ee44f63b.tar.xz hercules-e28e52c09c8aedfdce4d0673f84382a3ee44f63b.zip |
Moved strlib_s, stringbuf_s and sv_s into strlib.c
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/strlib.h')
-rw-r--r-- | src/common/strlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/strlib.h b/src/common/strlib.h index 00a588772..8f61470cf 100644 --- a/src/common/strlib.h +++ b/src/common/strlib.h @@ -92,7 +92,7 @@ struct strlib_interface { /// The output buffer must be at least count*2+1 in size. /// Returns true on success, false on failure. bool (*bin2hex) (char* output, unsigned char* input, size_t count); -} strlib_s; +}; struct strlib_interface *strlib; @@ -108,7 +108,7 @@ struct stringbuf_interface { void (*Clear) (StringBuf* self); void (*Destroy) (StringBuf* self); void (*Free) (StringBuf* self); -} stringbuf_s; +}; struct stringbuf_interface *StrBuf; @@ -152,7 +152,7 @@ struct sv_interface { /// Tracks the progress of the operation (current line number, number of successfully processed rows). /// Returns 'true' if it was able to process the specified file, or 'false' if it could not be read. bool (*readdb) (const char* directory, const char* filename, char delim, int mincols, int maxcols, int maxrows, bool (*parseproc)(char* fields[], int columns, int current)); -} sv_s; +}; struct sv_interface *sv; |