From c9050b110457266488c3b51a38029138da2281aa Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Mon, 20 May 2019 17:28:25 +0100 Subject: Added custom pattern detector and extractor from buffer --- buf_misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'buf_misc.h') diff --git a/buf_misc.h b/buf_misc.h index ef86f42..ded41d7 100644 --- a/buf_misc.h +++ b/buf_misc.h @@ -36,6 +36,7 @@ public: int add(Buf *newdata); int pop_line(char **val, int *size); int print(); + int pop_pattern(int (*detect_pattern)(char *, int, int*), char **val, int *size); }; -- cgit v1.2.3