]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - string.h
string: Introduce compute_word_num().
[paraslash.git] / string.h
index 9dbe9420e27dbf5989a6f18d4eb4e0d48d51d581..23b790021277475ea281e12a9b2a39d05e7ffb62 100644 (file)
--- a/string.h
+++ b/string.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2011 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -83,3 +83,4 @@ int create_argv(const char *buf, const char *delim, char ***result);
 void free_argv(char **argv);
 int para_regcomp(regex_t *preg, const char *regex, int cflags);
 void freep(void *arg);
+int compute_word_num(const char *buf, const char *delim, int offset);