/* * path.h * This file is part of Paddle Puffle * * Copyright (C) 2015 - Félix Arreola Rodríguez * * Paddle Puffle 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 2 of the License, or * (at your option) any later version. * * Paddle Puffle 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 Paddle Puffle. If not, see . */ #ifndef __PATH_H__ #define __PATH_H__ char *get_systemdata_path (void); char *get_l10n_path (void); char *get_userdata_path (void); void initSystemPaths (const char *argv_0); int folder_exists (const char *fname); int file_exists (const char *fname); int folder_create (const char *fname); #endif /* __PATH_H__ */