/**
* define a standard log function that always writes to stderr
*
- * \param loglevel_barier If the loglevel of the current message
+ * \param loglevel_barrier If the loglevel of the current message
* is less than that, the message is going to be ignored.
*
*/
unsigned for_each_line(char *, int, void (*)(char *));
#define FOR_EACH_STAT_ITEM(i) for (i = 0; i < NUM_STAT_ITEMS; i++)
-struct stat_item_data {
- const char *prefix, *postfix;
- unsigned x, y, len;
- int fg, bg, align;
-};
-
-/* gui_theme */
-struct gui_theme {
- const char *name;
- const char *author;
- int sb_fg, sb_bg;
- int cmd_fg, cmd_bg;
- int output_fg, output_bg;
- int msg_fg, msg_bg;
- int err_msg_fg, err_msg_bg;
- int welcome_fg, welcome_bg;
- int sep_fg, sep_bg;
- const char *sep_str;
- int default_fg, default_bg;
-
- int top_lines_default, top_lines_min;
- int lines_min, cols_min;
- struct stat_item_data data[NUM_STAT_ITEMS];
-};
-
-void init_theme(int i, struct gui_theme *);
-void next_theme(struct gui_theme *);
-void prev_theme(struct gui_theme *);
-#define LEFT 1
-#define RIGHT 2
-#define CENTER 3
-
-
__printf_2_3 void para_log(int, const char*, ...);
/* taken from printf man page */