From 082dee0658b67744ab3428eea964f375f7aab9dc Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 12 May 2019 15:05:57 +0100 Subject: Added more functionality to Buf, substring, search for characer, and shifting string. --- buf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'buf.h') diff --git a/buf.h b/buf.h index 212577d..2d92f33 100644 --- a/buf.h +++ b/buf.h @@ -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 -- cgit v1.2.3