Mercurial > hg
comparison mcabber/src/hooks.c @ 1448:844410b9b4cc
Remove configure option --enable-fifo
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 27 Mar 2008 23:27:19 +0100 |
parents | ba706e97d6ec |
children | a9a1770e4578 |
comparison
equal
deleted
inserted
replaced
1447:ba706e97d6ec | 1448:844410b9b4cc |
---|---|
30 #include "hbuf.h" | 30 #include "hbuf.h" |
31 #include "settings.h" | 31 #include "settings.h" |
32 #include "utils.h" | 32 #include "utils.h" |
33 #include "utf8.h" | 33 #include "utf8.h" |
34 #include "commands.h" | 34 #include "commands.h" |
35 | 35 #include "fifo.h" |
36 #ifdef ENABLE_FIFO | |
37 # include "fifo.h" | |
38 #endif | |
39 | 36 |
40 static char *extcmd; | 37 static char *extcmd; |
41 | 38 |
42 static const char *COMMAND_ME = "/me "; | 39 static const char *COMMAND_ME = "/me "; |
43 | 40 |
52 if (now > last + 1) { | 49 if (now > last + 1) { |
53 // custom_hook(); | 50 // custom_hook(); |
54 last = now; | 51 last = now; |
55 } | 52 } |
56 */ | 53 */ |
57 #ifdef ENABLE_FIFO | |
58 fifo_read(); | 54 fifo_read(); |
59 #endif | |
60 } | 55 } |
61 | 56 |
62 void hk_message_in(const char *bjid, const char *resname, | 57 void hk_message_in(const char *bjid, const char *resname, |
63 time_t timestamp, const char *msg, const char *type, | 58 time_t timestamp, const char *msg, const char *type, |
64 guint encrypted) | 59 guint encrypted) |