buldthensnip/path.c

33 lines
883 B
C

/*
This file is part of Iceball.
Iceball 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.
Iceball 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 Iceball. If not, see <http://www.gnu.org/licenses/>.
*/
#include "common.h"
char *path_filter(const char *instr)
{
#ifdef WIN32
// TODO? filter for Windows?
#endif
return strdup(instr);
}
int path_get_type(const char *path)
{
// TODO!
return PATH_PKG;
}