summaryrefslogtreecommitdiff
path: root/src/map/npc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-02-08 04:50:58 +0100
committerHaru <haru@dotalux.com>2014-02-08 04:51:12 +0100
commitf2383946d9e52f61844a9f6e3ec679c99f697e04 (patch)
tree9544a3c286ad4f66fbd3a0b17af1dfc9db1a14bd /src/map/npc.h
parente4a1ca28de80e221198854b745be71d256e1f7b1 (diff)
downloadhercules-f2383946d9e52f61844a9f6e3ec679c99f697e04.tar.gz
hercules-f2383946d9e52f61844a9f6e3ec679c99f697e04.tar.bz2
hercules-f2383946d9e52f61844a9f6e3ec679c99f697e04.tar.xz
hercules-f2383946d9e52f61844a9f6e3ec679c99f697e04.zip
Added get_substring to the libpcre interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/npc.h')
-rw-r--r--src/map/npc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc.h b/src/map/npc.h
index 719974ac4..346a9f8c0 100644
--- a/src/map/npc.h
+++ b/src/map/npc.h
@@ -336,6 +336,7 @@ struct pcre_interface {
int (*copy_substring) (const char *subject, int *ovector, int stringcount, int stringnumber, char *buffer, int buffersize);
void (*free_substring) (const char *stringptr);
int (*copy_named_substring) (const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, char *buffer, int buffersize);
+ int (*get_substring) (const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr);
};
struct pcre_interface *libpcre;