2 * fgcom - VoIP-Client for the FlightGear-Radio-Infrastructure
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
24 /* Initialize the file parser. */
25 int parser_init(const char *filename);
28 void parser_exit(void);
30 int parser_get_next_value(double *value);
32 extern int is_file_or_directory( const char * path ); /* 1=file, 2=dir, else 0 */
33 extern void trim_base_path_ib( char *path ); /* trim to base path IN BUFFER */
34 extern int get_data_path_per_os( char *path, size_t len ); /* get data path per OS - 0=ok, 1=error */