config.h 560 Bytes
Newer Older
Moritz Lipp's avatar
Moritz Lipp committed
1
/* See LICENSE file for license and copyright information */
2 3 4 5

#ifndef CONFIG_H
#define CONFIG_H

Moritz Lipp's avatar
Moritz Lipp committed
6 7
#define GLOBAL_RC  "/etc/zathurarc"
#define ZATHURA_RC "zathurarc"
8

9
#include "zathura.h"
Moritz Lipp's avatar
Moritz Lipp committed
10

Moritz Lipp's avatar
Moritz Lipp committed
11 12
/**
 * This function loads the default values of the configuration
Sebastian Ramacher's avatar
Sebastian Ramacher committed
13
 *
Moritz Lipp's avatar
Moritz Lipp committed
14
 * @param zathura The zathura session
Moritz Lipp's avatar
Moritz Lipp committed
15
 */
16
void config_load_default(zathura_t* zathura);
Moritz Lipp's avatar
Moritz Lipp committed
17

Moritz Lipp's avatar
Moritz Lipp committed
18 19 20
/**
 * Loads and evaluates a configuration file
 *
Moritz Lipp's avatar
Moritz Lipp committed
21
 * @param zathura The zathura session
Moritz Lipp's avatar
Moritz Lipp committed
22 23
 * @param path Path to the configuration file
 */
24
void config_load_file(zathura_t* zathura, char* path);
Moritz Lipp's avatar
Moritz Lipp committed
25

26
#endif // CONFIG_H