]> ToastFreeware Gitweb - gregoa/bti.git/blobdiff - bti.h
Merge pull request #19 from amir/master
[gregoa/bti.git] / bti.h
diff --git a/bti.h b/bti.h
index ebdbb413d48a2222081f714cadc9062801168d54..a8ee16fff3647efe5ba526468b6ffa289710e356 100644 (file)
--- 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