aboutsummaryrefslogtreecommitdiff
path: root/weechat/net.h
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-13 22:08:04 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-13 22:08:04 +0200
commit61b283f2e9a8343267ffd0280bacc1369075b763 (patch)
treef94f98204136ee213c7b9c3d7d6589f48040d3bc /weechat/net.h
parent84d31554ecf6840905e18aef33ef7a195174f800 (diff)
weechat: Proper namespacing of symbols
Symbol clash in dynamic libraries is a thing.
Diffstat (limited to 'weechat/net.h')
-rw-r--r--weechat/net.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/weechat/net.h b/weechat/net.h
index 7f4e9da..63636e7 100644
--- a/weechat/net.h
+++ b/weechat/net.h
@@ -4,6 +4,12 @@
#include "global.h"
+#define net_set_push_callback tomsg__net_set_push_callback
+#define net_set_history_callback tomsg__net_set_history_callback
+#define net_sendf tomsg__net_sendf
+#define net_handle_recv tomsg__net_handle_recv
+
+
enum net_response_type{
NET_OK, // -
NET_NUMBER, // number