};
void log_init(void);
+void log_shutdown(void);
typedef void (*log_list_cb)(struct log_head *h);
struct log_head* log_list(int count, struct log_head *h);
int log_buffer_init(int size);
-int log_buffer_size(void);
void log_add(char *buf, int size, int source);
#endif