41 lines
1.2 KiB
C
41 lines
1.2 KiB
C
/*
|
|
* globals.h - Global variables for libglacier
|
|
*
|
|
* This file is part of Glacier.
|
|
*
|
|
* Glacier is free software: you can redistribute it and/or modify it under the terms of the
|
|
* GNU Lesser General Public License as published by the Free Software Foundation, either
|
|
* version 3 of the License, or (at your option) any later version.
|
|
*
|
|
* Glacier 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 Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License along with Glacier. If
|
|
* not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef GLOBALS_H_
|
|
#define GLOBALS_H_
|
|
|
|
extern config_t cfg;
|
|
extern config_setting_t *setting;
|
|
extern const char str;
|
|
|
|
extern char GLACIER_ALLOWED_LICENSES;
|
|
extern int GLACIER_DO_INT_CHECK;
|
|
extern int GLACIER_VERBOSE;
|
|
|
|
extern const char *GLACIER_REPO;
|
|
extern const char *GLACIER_ARCH;
|
|
extern const char *GLACIER_TARGET;
|
|
extern const char *GLACIER_LOCALDB;
|
|
extern const char *GLACIER_SYSTEM_PROFILE;
|
|
|
|
const char *runtime_files[];
|
|
|
|
extern FILE *expected_hash;
|
|
extern FILE *pkg;
|
|
|
|
#endif
|