5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2002 Pekka Riikonen
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; version 2 of the License.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
21 #include "silcincludes.h"
23 /* XXX TODO or use GNU regex if it compiles */
24 char *silc_string_regexify(const char *string)
26 return strdup(string);
29 char *silc_string_regex_combine(const char *string1, const char *string2)
31 return strdup(string1);
34 int silc_string_regex_match(const char *regex, const char *string)
39 int silc_string_match(const char *string1, const char *string2)
44 /* Return current time to struct timeval. */
46 int silc_gettimeofday(struct timeval *p)
48 return gettimeofday(p, NULL);