diff options
Diffstat (limited to 'src/eclat.h')
-rw-r--r-- | src/eclat.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/eclat.h b/src/eclat.h index b0d46ac..e588b57 100644 --- a/src/eclat.h +++ b/src/eclat.h @@ -24,51 +24,34 @@ #include <string.h> #include <curl/curl.h> #include <expat.h> #include "grecs.h" #include "wordsplit.h" #include "libeclat.h" #define ECLAT_DEBCAT_MAIN 0 #define ECLAT_DEBCAT_CFGRAM 1 #define ECLAT_DEBCAT_CFLEX 2 #define ECLAT_DEBCAT_CONF 3 #define ECLAT_DEBCAT_CURL 4 -#define ECLAT_DEBCAT_MAX 5 - -extern const char *program_name; -extern int debug_level[]; +#define ECLAT_DEBCAT_FORLAN 5 extern char *endpoint; extern int use_ssl; extern int dry_run_mode; extern char *region_name; extern char *access_file_name; extern char *access_key; extern char *secret_key; -#define debug(cat, lev, s) \ - do { \ - if (debug_level[cat] >= (lev)) \ - debug_printf s; \ - } while(0) - -void die(int status, const char *fmt, ...); -void vdiag(grecs_locus_t const *locus, const char *qual, const char *fmt, - va_list ap); -void diag(grecs_locus_t const *locus, const char *qual, const char *fmt, ...); -void err(const char *fmt, ...); -void warn(const char *fmt, ...); -void debug_printf(const char *fmt, ...); - typedef int (*config_finish_hook_t) (void*); void add_config_finish_hook(config_finish_hook_t fun, void *data); void config_help(void); void config_init(void); void config_finish(struct grecs_node *tree); int run_config_finish_hooks(void); enum eclat_command { eclat_command_unspecified, eclat_command_start_instances, |