/* silcepocutil.cpp Author: Pekka Riikonen Copyright (C) 2002 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ /* $Id$ */ #include "silcincludes.h" /* XXX TODO or use GNU regex if it compiles */ char *silc_string_regexify(const char *string) { return strdup(string); } char *silc_string_regex_combine(const char *string1, const char *string2) { return strdup(string1); } int silc_string_regex_match(const char *regex, const char *string) { return TRUE; } int silc_string_match(const char *string1, const char *string2) { return TRUE; } /* Return current time to struct timeval. */ int silc_gettimeofday(struct timeval *p) { return gettimeofday(p, NULL); }