summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-raw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/relay/relay-raw.h')
-rw-r--r--src/plugins/relay/relay-raw.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-raw.h b/src/plugins/relay/relay-raw.h
index a4d8d4f02..4546a2b5d 100644
--- a/src/plugins/relay/relay-raw.h
+++ b/src/plugins/relay/relay-raw.h
@@ -20,6 +20,8 @@
#ifndef WEECHAT_RELAY_RAW_H
#define WEECHAT_RELAY_RAW_H 1
+#include "relay-client.h"
+
#define RELAY_RAW_BUFFER_NAME "relay_raw"
#define RELAY_RAW_PREFIX_RECV "-->"
#define RELAY_RAW_PREFIX_SEND "<--"
@@ -47,7 +49,8 @@ extern void relay_raw_open (int switch_to_buffer);
extern struct t_relay_raw_message *relay_raw_message_add_to_list (time_t date,
const char *prefix,
const char *message);
-extern void relay_raw_print (struct t_relay_client *client, int flags,
+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_message_free_all ();
extern int relay_raw_add_to_infolist (struct t_infolist *infolist,