zathura/config.h

27 lines
560 B
C
Raw Normal View History

2010-11-10 20:31:15 +01:00
/* See LICENSE file for license and copyright information */
#ifndef CONFIG_H
#define CONFIG_H
2011-04-01 09:55:37 +02:00
#define GLOBAL_RC "/etc/zathurarc"
#define ZATHURA_RC "zathurarc"
#include "zathura.h"
2011-04-01 09:55:37 +02:00
2011-02-08 07:51:53 +01:00
/**
* This function loads the default values of the configuration
2011-04-18 18:19:41 +02:00
*
2012-02-08 15:30:13 +01:00
* @param zathura The zathura session
2011-02-08 07:51:53 +01:00
*/
void config_load_default(zathura_t* zathura);
2010-11-12 13:48:18 +01:00
2011-04-01 09:55:37 +02:00
/**
* Loads and evaluates a configuration file
*
2012-02-08 15:30:13 +01:00
* @param zathura The zathura session
2011-04-01 09:55:37 +02:00
* @param path Path to the configuration file
*/
void config_load_file(zathura_t* zathura, char* path);
2011-04-01 09:55:37 +02:00
#endif // CONFIG_H