mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-14 02:27:38 -07:00
add fromSocketAddressObject
This commit is contained in:
parent
30cfe65b39
commit
4ee73fa272
3 changed files with 75 additions and 91 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <ZeroTierOne.h>
|
||||
|
||||
#include <limits> // for numeric_limits
|
||||
#include <sys/socket.h> // for sockaddr_storage
|
||||
|
||||
#if defined(__ANDROID__)
|
||||
|
||||
|
@ -163,4 +164,6 @@ jbyteArray newByteArray(JNIEnv *env, size_t count);
|
|||
|
||||
bool isSocketAddressEmpty(const sockaddr_storage addr);
|
||||
|
||||
sockaddr_storage fromSocketAddressObject(JNIEnv *env, jobject sockAddressObject);
|
||||
|
||||
#endif // ZT_jniutils_h_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue