com_zerotierone_sdk_Node.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /* DO NOT EDIT THIS FILE - it is machine generated */
  2. #include <jni.h>
  3. /* Header for class com_zerotier_sdk_Node */
  4. #ifndef _Included_com_zerotierone_sdk_Node
  5. #define _Included_com_zerotierone_sdk_Node
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. /*
  10. * Class: com_zerotier_sdk_Node
  11. * Method: node_init
  12. * Signature: (J)Lcom/zerotier/sdk/ResultCode;
  13. */
  14. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_node_1init
  15. (JNIEnv *, jobject, jlong);
  16. /*
  17. * Class: com_zerotier_sdk_Node
  18. * Method: node_delete
  19. * Signature: (J)V
  20. */
  21. JNIEXPORT void JNICALL Java_com_zerotier_sdk_Node_node_1delete
  22. (JNIEnv *, jobject, jlong);
  23. /*
  24. * Class: com_zerotier_sdk_Node
  25. * Method: processVirtualNetworkFrame
  26. * Signature: (JJJJJII[B[J)Lcom/zerotier/sdk/ResultCode;
  27. */
  28. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_processVirtualNetworkFrame
  29. (JNIEnv *, jobject, jlong, jlong, jlong, jlong, jlong, jint, jint, jbyteArray, jlongArray);
  30. /*
  31. * Class: com_zerotier_sdk_Node
  32. * Method: processWirePacket
  33. * Signature: (JJLjava/net/InetSockAddress;Ljava/net/InetSockAddress;[B[J)Lcom/zerotier/sdk/ResultCode;
  34. */
  35. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_processWirePacket
  36. (JNIEnv *, jobject, jlong, jlong, jobject, jobject, jbyteArray, jlongArray);
  37. /*
  38. * Class: com_zerotier_sdk_Node
  39. * Method: processBackgroundTasks
  40. * Signature: (JJ[J)Lcom/zerotier/sdk/ResultCode;
  41. */
  42. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_processBackgroundTasks
  43. (JNIEnv *, jobject, jlong, jlong, jlongArray);
  44. /*
  45. * Class: com_zerotier_sdk_Node
  46. * Method: join
  47. * Signature: (JJ)Lcom/zerotier/sdk/ResultCode;
  48. */
  49. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_join
  50. (JNIEnv *, jobject, jlong, jlong);
  51. /*
  52. * Class: com_zerotier_sdk_Node
  53. * Method: leave
  54. * Signature: (JJ)Lcom/zerotier/sdk/ResultCode;
  55. */
  56. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_leave
  57. (JNIEnv *, jobject, jlong, jlong);
  58. /*
  59. * Class: com_zerotier_sdk_Node
  60. * Method: multicastSubscribe
  61. * Signature: (JJJJ)Lcom/zerotier/sdk/ResultCode;
  62. */
  63. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_multicastSubscribe
  64. (JNIEnv *, jobject, jlong, jlong, jlong, jlong);
  65. /*
  66. * Class: com_zerotier_sdk_Node
  67. * Method: multicastUnsubscribe
  68. * Signature: (JJJJ)Lcom/zerotier/sdk/ResultCode;
  69. */
  70. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_multicastUnsubscribe
  71. (JNIEnv *, jobject, jlong, jlong, jlong, jlong);
  72. /*
  73. * Class: com_zerotier_sdk_Node
  74. * Method: address
  75. * Signature: (J)J
  76. */
  77. JNIEXPORT jlong JNICALL Java_com_zerotier_sdk_Node_address
  78. (JNIEnv *, jobject, jlong);
  79. /*
  80. * Class: com_zerotier_sdk_Node
  81. * Method: status
  82. * Signature: (J)Lcom/zerotier/sdk/NodeStatus;
  83. */
  84. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_status
  85. (JNIEnv *, jobject, jlong);
  86. /*
  87. * Class: com_zerotier_sdk_Node
  88. * Method: networkConfig
  89. * Signature: (JJ)Lcom/zerotier/sdk/VirtualNetworkConfig;
  90. */
  91. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_networkConfig
  92. (JNIEnv *, jobject, jlong, jlong);
  93. /*
  94. * Class: com_zerotier_sdk_Node
  95. * Method: version
  96. * Signature: ()Lcom/zerotier/sdk/Version;
  97. */
  98. JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_version
  99. (JNIEnv *, jobject);
  100. /*
  101. * Class: com_zerotier_sdk_Node
  102. * Method: peers
  103. * Signature: (J)[Lcom/zerotier/sdk/Peer;
  104. */
  105. JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_peers
  106. (JNIEnv *, jobject, jlong);
  107. /*
  108. * Class: com_zerotier_sdk_Node
  109. * Method: networks
  110. * Signature: (J)[Lcom/zerotier/sdk/VirtualNetworkConfig;
  111. */
  112. JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networks
  113. (JNIEnv *, jobject, jlong);
  114. #ifdef __cplusplus
  115. }
  116. #endif
  117. #endif