X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/c1d3e52e58e86c49f9d04e06ae8e0ece4b98250c..d6848e7305f443c0d55fc83ad93beccdb8a572ea:/Network.cpp diff --git a/Network.cpp b/Network.cpp index d9537bc..af9cff8 100644 --- a/Network.cpp +++ b/Network.cpp @@ -26,7 +26,7 @@ #include "Error.hpp" -bool CYRecvAll_(int socket, uint8_t *data, size_t size) { +_visible bool CYRecvAll_(int socket, uint8_t *data, size_t size) { while (size != 0) if (size_t writ = _syscall(recv(socket, data, size, 0))) { data += writ; size -= writ; @@ -35,7 +35,7 @@ bool CYRecvAll_(int socket, uint8_t *data, size_t size) { return true; } -bool CYSendAll_(int socket, const uint8_t *data, size_t size) { +_visible bool CYSendAll_(int socket, const uint8_t *data, size_t size) { while (size != 0) if (size_t writ = _syscall(send(socket, data, size, 0))) { data += writ; size -= writ;