mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 05:13:58 -07:00
add PeerRole.fromInt
This commit is contained in:
parent
7c5f256d4a
commit
056cef7292
4 changed files with 36 additions and 29 deletions
|
@ -73,6 +73,7 @@ extern jmethodID VirtualNetworkRoute_ctor;
|
|||
|
||||
extern jmethodID Event_fromInt_method;
|
||||
extern jmethodID InetAddress_getByAddress_method;
|
||||
extern jmethodID PeerRole_fromInt_method;
|
||||
|
||||
//
|
||||
// Instance fields
|
||||
|
@ -128,9 +129,6 @@ extern jfieldID VirtualNetworkRoute_via_field;
|
|||
// Static fields
|
||||
//
|
||||
|
||||
extern jfieldID PeerRole_PEER_ROLE_LEAF_field;
|
||||
extern jfieldID PeerRole_PEER_ROLE_MOON_field;
|
||||
extern jfieldID PeerRole_PEER_ROLE_PLANET_field;
|
||||
extern jfieldID ResultCode_RESULT_ERROR_BAD_PARAMETER_field;
|
||||
extern jfieldID ResultCode_RESULT_ERROR_NETWORK_NOT_FOUND_field;
|
||||
extern jfieldID ResultCode_RESULT_ERROR_UNSUPPORTED_OPERATION_field;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue