X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/blobdiff_plain/9185ab0c0a2ea1db12bcb31f81aba7f54c36bdbc..d20c2ca45742deb99e874071a175b29d6c5f9857:/bti.h diff --git a/bti.h b/bti.h index ebdbb41..a8ee16f 100644 --- a/bti.h +++ b/bti.h @@ -65,6 +65,7 @@ struct session { int no_oauth; int guest; int verbose; + int column_output; enum host host; enum action action; void *readline_handle; @@ -78,4 +79,20 @@ struct bti_curl_buffer { int length; }; +extern const char twitter_host[]; +extern const char identica_host[]; +extern const char twitter_name[]; +extern const char identica_name[]; +extern int debug; + +extern void bti_parse_configfile(struct session *session); + +#define dbg(format, arg...) \ + do { \ + if (debug) \ + fprintf(stdout, "bti: %s: " format , __func__ , \ + ## arg); \ + } while (0) + + #endif