diff options
Diffstat (limited to 'src/plugins/relay/relay-raw.h')
-rw-r--r-- | src/plugins/relay/relay-raw.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/plugins/relay/relay-raw.h b/src/plugins/relay/relay-raw.h index e830d7f92..fd17e12c0 100644 --- a/src/plugins/relay/relay-raw.h +++ b/src/plugins/relay/relay-raw.h @@ -32,6 +32,8 @@ #define RELAY_RAW_FLAG_SEND (1 << 1) #define RELAY_RAW_FLAG_BINARY (1 << 2) +struct t_relay_remote; + struct t_relay_raw_message { time_t date; /* date/time of message */ @@ -53,9 +55,12 @@ extern struct t_relay_raw_message *relay_raw_message_add_to_list (time_t date, int date_usec, const char *prefix, const char *message); -extern void relay_raw_print (struct t_relay_client *client, - enum t_relay_client_msg_type msg_type, int flags, - const char *data, int data_size); +extern void relay_raw_print_client (struct t_relay_client *client, + enum t_relay_msg_type msg_type, int flags, + const char *data, int data_size); +extern void relay_raw_print_remote (struct t_relay_remote *remote, + enum t_relay_msg_type msg_type, int flags, + const char *data, int data_size); extern void relay_raw_message_free_all (); extern int relay_raw_add_to_infolist (struct t_infolist *infolist, struct t_relay_raw_message *raw_message); |