summaryrefslogtreecommitdiffabout
path: root/src/eclat.h
Unidiff
Diffstat (limited to 'src/eclat.h') (more/less context) (ignore whitespace changes)
-rw-r--r--src/eclat.h19
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
@@ -33,10 +33,7 @@
33#define ECLAT_DEBCAT_CFLEX 2 33#define ECLAT_DEBCAT_CFLEX 2
34#define ECLAT_DEBCAT_CONF 3 34#define ECLAT_DEBCAT_CONF 3
35#define ECLAT_DEBCAT_CURL 4 35#define ECLAT_DEBCAT_CURL 4
36#define ECLAT_DEBCAT_MAX 5 36#define ECLAT_DEBCAT_FORLAN 5
37
38extern const char *program_name;
39extern int debug_level[];
40 37
41extern char *endpoint; 38extern char *endpoint;
42extern int use_ssl; 39extern int use_ssl;
@@ -46,20 +43,6 @@ extern char *access_file_name;
46extern char *access_key; 43extern char *access_key;
47extern char *secret_key; 44extern char *secret_key;
48 45
49 #define debug(cat, lev, s) \
50 do { \
51 if (debug_level[cat] >= (lev)) \
52 debug_printf s; \
53 } while(0)
54
55void die(int status, const char *fmt, ...);
56void vdiag(grecs_locus_t const *locus, const char *qual, const char *fmt,
57 va_list ap);
58void diag(grecs_locus_t const *locus, const char *qual, const char *fmt, ...);
59void err(const char *fmt, ...);
60void warn(const char *fmt, ...);
61void debug_printf(const char *fmt, ...);
62
63typedef int (*config_finish_hook_t) (void*); 46typedef int (*config_finish_hook_t) (void*);
64 47
65void add_config_finish_hook(config_finish_hook_t fun, void *data); 48void add_config_finish_hook(config_finish_hook_t fun, void *data);

Return to:

Send suggestions and report system problems to the System administrator.