1/* 2 * Name: Shared functions 3 * 4 * Purpose: Functions that are used various times in cas 5 * 6 * Author: Pedro de Oliveira <falso@rdk.homeip.net> 7 * 8 * Copyright (c) 2004-2011 Pedro de Oliveira ( falso@rdk.homeip-net ) 9 * 10 * This file is part of aMule. 11 * 12 * This program is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by 14 * the Free Software Foundation; either version 2 of the License, or 15 * (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * You should have received a copy of the GNU General Public License 23 * along with this program; if not, write to the 24 * Free Software Foundation, Inc., 25 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 26*/ 27 28#ifndef CAS_FUNCTIONS_H 29#define CAS_FUNCTIONS_H 30 31char *get_path(const char *file); 32char *get_amule_path(const char *file, int force_directory, const char *cmdline_path); 33char *convbytes(char *input); 34char *timeconv(char *input); 35void replace(char *tmpl, const char *search, const char *replace); 36 37#endif 38/* // File_checked_for_headers */ 39