]> ToastFreeware Gitweb - gregoa/bti.git/blobdiff - bti.h
code formatting cleanups
[gregoa/bti.git] / bti.h
diff --git a/bti.h b/bti.h
index ebdbb413d48a2222081f714cadc9062801168d54..13cdbdaaac994e66f66429e933e9dc1342c2a04c 100644 (file)
--- a/bti.h
+++ b/bti.h
@@ -78,4 +78,20 @@ struct bti_curl_buffer {
        int length;
 };
 
        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
 #endif