| 1 | #cxx . . $ `<file>/conf.h`/ifndef CONF_H__ |
| 2 | #define CONF_H__cxx . . $ `conf.h:2:9`! |
| 3 | |
| 4 | /* Where the global config resides. */ |
| 5 | #ifndef GLOBAL_CONFcxx . . $ `<built-in>:413:9`! |
| 6 | #define GLOBAL_CONF "/etc/ondirrc" |
| 7 | #endif |
| 8 | /* If your code blocks exceed this, something weird is going on. */ |
| 9 | #define MAX_SECTION_SIZEcxx . . $ `conf.h:9:9`! 16384 |
| 10 | /* Use .onenter or .onleave? */ |
| 11 | /* #define USE_ONENTERLEAVE */ |
| 12 | |
| 13 | typedef enumcxx . . $ $anonymous_type_2e81e8ee0f4a79a1_0# { |
| 14 | PT_ENTERcxx . . $ PT_ENTER., |
| 15 | PT_LEAVEcxx . . $ PT_LEAVE., |
| 16 | } pathtype_tcxx . . $ pathtype_t#; |
| 17 | |
| 18 | struct odpath_tcxx . . $ odpath_t# { |
| 19 | const char **pathscxx . . $ odpath_t#paths., *contentcxx . . $ odpath_t#content.; |
| 20 | int npathscxx . . $ odpath_t#npaths., finalcxx . . $ odpath_t#final.; |
| 21 | pathtype_tcxx . . $ pathtype_t# typecxx . . $ odpath_t#type.; |
| 22 | struct odpath_tcxx . . $ odpath_t# *nextcxx . . $ odpath_t#next.; |
| 23 | }; |
| 24 | |
| 25 | /* load ondir configuration file */ |
| 26 | struct odpath_tcxx . . $ odpath_t# *load_confcxx . . $ load_conf(24e337d2fbce6db6).(const char *file, struct odpath_tcxx . . $ odpath_t# *root); |
| 27 | |
| 28 | /* Expand all environment variables in 'in' */ |
| 29 | char *expand_envarscxx . . $ expand_envars(a8b8e32347182212).(const char *in); |
| 30 | |
| 31 | void fatalcxx . . $ fatal(326aeb464d16410c).(const char *fmt, ...); |
| 32 | void errorcxx . . $ error(326aeb464d16410c).(const char *fmt, ...); |
| 33 | void warningcxx . . $ warning(326aeb464d16410c).(const char *fmt, ...); |
| 34 | void infocxx . . $ info(326aeb464d16410c).(const char *fmt, ...); |
| 35 | |
| 36 | #endif |