diff options
author | FreeArtMan <dos21h@gmail.com> | 2019-05-12 15:05:57 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2019-05-12 15:05:57 +0100 |
commit | 082dee0658b67744ab3428eea964f375f7aab9dc (patch) | |
tree | 6dd58d5044513ec7bef3b445fefa7003e33ebeed /buf.h | |
parent | 654bb8b09dd90c12c3a51ffdce800b2255b753b5 (diff) | |
download | libbuf-082dee0658b67744ab3428eea964f375f7aab9dc.tar.gz libbuf-082dee0658b67744ab3428eea964f375f7aab9dc.zip |
Added more functionality to Buf, substring, search for characer, and shifting string.
Diffstat (limited to 'buf.h')
-rw-r--r-- | buf.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -76,6 +76,9 @@ public: int setc(int idx, char c); int pushc(char c); int getc(int idx, char *c); + int findc(char c, int *idx); + int popsubstring(int sz, char **val, int *size); + int shiftleft(int n); }; #endif
\ No newline at end of file |