From 6d65e1a7ed66fb8b08db74ffe9e572730c932616 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Sep 2011 22:45:51 +0000 Subject: Export API functions git-svn-id: http://svn.drobilla.net/zix/trunk@18 df6676b4-ccc9-40e5-b5d6-7c4628a128e3 --- zix/strindex.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zix') diff --git a/zix/strindex.h b/zix/strindex.h index e6195d7..628b92a 100644 --- a/zix/strindex.h +++ b/zix/strindex.h @@ -32,12 +32,14 @@ typedef struct _ZixStrindex ZixStrindex; Construct a new strindex that contains all suffixes of the string @a s. A copy of @a s is taken and stored for the lifetime of the strindex. */ +ZIX_API ZixStrindex* zix_strindex_new(const char* s); /** Destroy @a t. */ +ZIX_API void zix_strindex_free(ZixStrindex* strindex); @@ -45,6 +47,7 @@ zix_strindex_free(ZixStrindex* strindex); Check if the string in @a strindex contains the substring @a str. If such a substring is found, @a match is pointed at an occurrence of it. */ +ZIX_API ZixStatus zix_strindex_find(ZixStrindex* strindex, const char* str, char** match); -- cgit v1.2.1