fix regression due to too fast rewrite
[apps/madmutt.git] / sidebar.h
index f31c960..9aba9a3 100644 (file)
--- a/sidebar.h
+++ b/sidebar.h
@@ -8,14 +8,16 @@
  * please see the file GPL in the top level source directory.
  */
 
-#ifndef SIDEBAR_H
-#define SIDEBAR_H
+#ifndef _SIDEBAR_H
+#define _SIDEBAR_H
 
-/* parameter is whether or not to go to the status line */
-/* used for omitting the last | that covers up the status bar in the index */
-int draw_sidebar (int);
-void scroll_sidebar (int, int);
-void set_curbuffy (char *);
-void set_buffystats (CONTEXT *);
+int sidebar_draw (int);
+void sidebar_draw_frames (void);
+void sidebar_scroll (int, int);
+void sidebar_set_buffystats (CONTEXT *);
+const char* sidebar_get_current (void);
+void sidebar_set_current (const char*);
+/* returns one if buff_check should thorougly count */
+int sidebar_need_count (void);
 
-#endif /* SIDEBAR_H */
+#endif /* _SIDEBAR_H */