projects
/
cascardo
/
chat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add function to return TCP file descriptor
[cascardo/chat.git]
/
xmpp.c
diff --git
a/xmpp.c
b/xmpp.c
index
8e37c78
..
283c68a
100644
(file)
--- a/
xmpp.c
+++ b/
xmpp.c
@@
-113,6
+113,12
@@
hc_xmpp_server (hc_xmpp_t *xmpp)
return xmpp->server;
}
+int
+hc_xmpp_fd (hc_xmpp_t *xmpp)
+{
+ return xmpp->fd;
+}
+
void
hc_xmpp_send_buffer (hc_xmpp_t *xmpp, char *buffer, size_t len)
{