2 * Name: Shared functions
4 * Purpose: Functions that are used various times in cas
6 * Author: Pedro de Oliveira <falso@rdk.homeip.net>
8 * Copyright (c) 2004-2011 Pedro de Oliveira ( falso@rdk.homeip-net )
10 * This file is part of aMule.
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.
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.
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
28 #ifndef CAS_FUNCTIONS_H
29 #define CAS_FUNCTIONS_H
31 char *get_path(const char *file
);
32 char *get_amule_path(const char *file
, int force_directory
, const char *cmdline_path
);
33 char *convbytes(char *input
);
34 char *timeconv(char *input
);
35 void replace(char *tmpl
, const char *search
, const char *replace
);
38 /* // File_checked_for_headers */