-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcom_ravencoin_core_BRCorePeer.h
executable file
·165 lines (145 loc) · 4.08 KB
/
com_ravencoin_core_BRCorePeer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_ravencoin_core_BRCorePeer */
#ifndef _Included_com_ravencoin_core_BRCorePeer
#define _Included_com_ravencoin_core_BRCorePeer
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getAddress
* Signature: ()[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_ravencoin_core_BRCorePeer_getAddress
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getPort
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_ravencoin_core_BRCorePeer_getPort
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getTimestamp
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeer_getTimestamp
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: setEarliestKeyTime
* Signature: (J)V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeer_setEarliestKeyTime
(JNIEnv *, jobject, jlong);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: setCurrentBlockHeight
* Signature: (J)V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeer_setCurrentBlockHeight
(JNIEnv *, jobject, jlong);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getConnectStatusValue
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_com_ravencoin_core_BRCorePeer_getConnectStatusValue
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: connect
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeer_connect
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: disconnect
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeer_disconnect
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: scheduleDisconnect
* Signature: (D)V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeer_scheduleDisconnect
(JNIEnv *, jobject, jdouble);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: setNeedsFilterUpdate
* Signature: (Z)V
*/
JNIEXPORT void JNICALL Java_com_ravencoin_core_BRCorePeer_setNeedsFilterUpdate
(JNIEnv *, jobject, jboolean);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getHost
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_ravencoin_core_BRCorePeer_getHost
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getVersion
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeer_getVersion
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getUserAgent
* Signature: ()Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_com_ravencoin_core_BRCorePeer_getUserAgent
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getLastBlock
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeer_getLastBlock
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getFeePerKb
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeer_getFeePerKb
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: getPingTime
* Signature: ()D
*/
JNIEXPORT jdouble JNICALL Java_com_ravencoin_core_BRCorePeer_getPingTime
(JNIEnv *, jobject);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: createJniCorePeerNatural
* Signature: ([BIJ)J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeer_createJniCorePeerNatural
(JNIEnv *, jclass, jbyteArray, jint, jlong);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: createJniCorePeer
* Signature: ([B[B[B)J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeer_createJniCorePeer
(JNIEnv *, jclass, jbyteArray, jbyteArray, jbyteArray);
/*
* Class: com_ravencoin_core_BRCorePeer
* Method: createJniCorePeerMagic
* Signature: (J)J
*/
JNIEXPORT jlong JNICALL Java_com_ravencoin_core_BRCorePeer_createJniCorePeerMagic
(JNIEnv *, jclass, jlong);
#ifdef __cplusplus
}
#endif
#endif