comparison mcabber/src/fifo.h @ 1653:fca9a4c17432

Improve UI latency and CPU usage Remove main_loop(), and use GIOChannels for the FIFO system.
author Myhailo Danylenko <isbear@ukrpost.net>
date Tue, 01 Dec 2009 21:06:06 +0100
parents a64778f5f26b
children
comparison
equal deleted inserted replaced
1652:8036750d0169 1653:fca9a4c17432
1 #ifndef __FIFO_H__ 1 #ifndef __FIFO_H__
2 #define __FIFO_H__ 1 2 #define __FIFO_H__ 1
3 3
4 int fifo_init(const char *fifo_path); 4 int fifo_init(const char *fifo_path);
5 void fifo_deinit(void); 5 void fifo_deinit(void);
6 void fifo_read(void);
7 int fifo_get_fd(void);
8 6
9 #endif /* __FIFO_H__ */ 7 #endif /* __FIFO_H__ */
10 8
11 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ 9 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */