+/*
+ * Copyright © 2012, Titanium Mirror, Inc.
+ * All Rights Reserved.
+ *
+ * This document is the proprietary and confidential property of
+ * Titanium Mirror, Inc. All use, distribution, reproduction or re-distribution
+ * is disallowed without the prior express written consent of
+ * Titanium Mirror, Inc.
+ */
+
+/*
+ * A custom strtok. This version skips any number and any combination of
+ * delimiter characters between tokens.
+ *
+ * @author R. Steve McKown <rsmckown@gmail.com>
+ */
+
+#ifndef MYSTRTOK_H
+#define MYSTRTOK_H
+
+#include <stdbool.h>
+
+/* Return tokens separated by any combination of contiguous characters drawn
+ * from the contents of delims. begin is the address of the pointer containing
+ * the original string on first call, and is updated during each call to skip
+ * the token already returned. Returns NULL when no more tokens are available
+ * in the string. The string pointed to by **begin is altered, as is true also
+ * with the generic strtok().
+ */
+char *my_strtok(char **begin, char* delims);
+
+/* Returns true if the word is contained within string. Words are delimited by
+ * any whitespace characters.
+ */
+bool str_has_word(const char* string, const char* word);
+
+/* Returns true if the pattern matches string. Only the asterisk character is
+ * used as a wildcard, meaning zero or more characters of any value. The
+ * wildcard, if present, may only be the last character in the pattern string.
+ */
+bool match(const char* pattern, const char* string);
+
+#endif /* end of include guard: MYSTRTOK_H */