2006-04-11 21:52:54 +00:00
|
|
|
/*
|
2007-04-11 08:12:51 +00:00
|
|
|
* Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
|
|
|
|
* NOVELL (All rights reserved)
|
2012-02-24 04:21:59 -08:00
|
|
|
* Copyright (c) 2010 - 2012
|
|
|
|
* Canonical Ltd.
|
2006-04-11 21:52:54 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of version 2 of the GNU General Public
|
|
|
|
* License published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program 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
|
2010-06-04 18:57:01 -07:00
|
|
|
* along with this program; if not, contact Canonical, Ltd.
|
2006-04-11 21:52:54 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PARSER_INCLUDE_H
|
|
|
|
#define PARSER_INCLUDE_H
|
|
|
|
|
|
|
|
extern int preprocess_only;
|
|
|
|
|
2013-10-01 10:59:04 -07:00
|
|
|
extern int add_search_dir(const char *dir);
|
2006-04-11 21:52:54 +00:00
|
|
|
extern void init_base_dir(void);
|
|
|
|
extern void set_base_dir(char *dir);
|
|
|
|
extern void parse_default_paths(void);
|
|
|
|
extern int do_include_preprocessing(char *profilename);
|
2021-04-20 01:32:41 -07:00
|
|
|
FILE *search_path(char *filename, char **fullpath, bool *skip);
|
2006-04-11 21:52:54 +00:00
|
|
|
|
2024-10-10 10:55:10 -07:00
|
|
|
extern void push_include_stack(const char *filename);
|
2010-06-04 18:47:44 -07:00
|
|
|
extern void pop_include_stack(void);
|
2013-10-26 00:15:13 -07:00
|
|
|
extern void reset_include_stack(const char *filename);
|
2010-06-04 18:47:44 -07:00
|
|
|
|
2006-04-11 21:52:54 +00:00
|
|
|
#endif
|