/*
*
* ProLinga-Data
*
* Copyright (C) 2002-2008 Xobas Software.
* All rights reserved.
*
* This file is part of ProLinga-Data.
*
* ProLinga-Data 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, either version 3 of the License, or
* (at your option) any later version.
*
* ProLinga-Data 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.
*
* You should have received a copy of the GNU General Public License
* along with ProLinga-Data. If not, see .
*
* More information is available at the following addresses:
*
* Website : http://www.prolinga.org
*
* Email : prolinga-list@prolinga.org
*
*
*/
#ifndef __UTILITY_HPP
#define __UTILITY_HPP
#include
/* Wildcards. Portions of code lifted from Florian Schintke
* http://user.cs.tu-berlin.de/~schintke/references/wildcards/?1079404782
*/
extern int WildcardMatch(char *wildcard, char *test);
/* this function implements the UN*X wildcards and returns */
/* 0 if *wildcard does not match *test */
/* 1 if *wildcard matches *test */
GValue *GValueFromString(const char *string, GType type);
#endif /* __UTILITY_HPP */