const char *get_libdir(void) { return "."; }
-enum mode {
- mf_findwindow= 00001,
- mf_screenshot= 00010,
- mf_readscreenshot= 00020,
- mf_analyse= 00100,
- mfm_special= 07000,
-
- mode_findwindow= 00001,
- mode_screenshot= 00011,
- mode_analyse= 00120,
- mode_showcharset= 01000,
-
- mode_all= 00111,
-};
-
enum outmodekind {
omk_unset, omk_upload, omk_str, omk_raw, omk_none
};
static enum outmodekind o_outmode_kind;
static const char *o_outmode_str= 0;
-static enum mode o_mode= mode_all;
static char *o_screenshot_fn;
static const char *o_serv_pctb, *o_serv_dict_fetch, *o_serv_dict_submit;
static pid_t screenshot_compressor=-1;
+enum mode o_mode= mode_all;
enum flags o_flags=
ff_charset_allowedit |
ff_dict_fetch|ff_dict_submit|ff_dict_pirate;