aboutsummaryrefslogblamecommitdiff
path: root/config.h
blob: fdd95a2464f842fea2051c42f24c42014c1d68d6 (plain) (tree)
1
2
3
4
5
                    
 
                 
 










                                                                                            
                             
                       
                         




                                               
#include <stdbool.h>

#ifndef _CONFIG_H
#define _CONFIG_H

enum { ORDER_RUN, ORDER_WLAN, ORDER_ETH, ORDER_BATTERY, ORDER_LOAD, ORDER_TIME, MAX_ORDER };

#ifndef _IS_CONFIG_C /* Definitions for everybody */
extern const char *wlan_interface;
extern const char *eth_interface;
extern const char *wmii_path;
extern const char *time_format;
extern const char *battery_path;
extern const char **run_watches;
extern unsigned int num_run_watches;
extern const char *wmii_normcolors;
extern const char order[MAX_ORDER][2];
extern unsigned int interval;

extern bool use_colors;
extern bool get_ethspeed;
#endif

char *glob_path(const char *path);
int load_configuration(const char *configfile);

#endif