8 #ifndef NTCORE_NTCORE_TEST_H_ 9 #define NTCORE_NTCORE_TEST_H_ 20 struct NT_String* NT_GetStringForTesting(
const char*
string,
int* struct_size);
29 void NT_FreeEntryInfoForTesting(
struct NT_EntryInfo* info);
37 struct NT_Value* NT_GetValueBooleanForTesting(uint64_t last_change,
int val,
40 struct NT_Value* NT_GetValueDoubleForTesting(uint64_t last_change,
double val,
43 struct NT_Value* NT_GetValueStringForTesting(uint64_t last_change,
44 const char* str,
int* struct_size);
46 struct NT_Value* NT_GetValueRawForTesting(uint64_t last_change,
const char* raw,
47 int raw_len,
int* struct_size);
49 struct NT_Value* NT_GetValueBooleanArrayForTesting(uint64_t last_change,
54 struct NT_Value* NT_GetValueDoubleArrayForTesting(uint64_t last_change,
59 struct NT_Value* NT_GetValueStringArrayForTesting(uint64_t last_change,
65 struct NT_RpcParamDef* NT_GetRpcParamDefForTesting(
const char* name,
78 unsigned int version,
const char* name,
size_t num_params,
83 struct NT_RpcCallInfo* NT_GetRpcCallInfoForTesting(
84 unsigned int rpc_id,
unsigned int call_uid,
const char* name,
85 const char* params,
size_t params_len,
int* struct_size);
89 #endif // NTCORE_NTCORE_TEST_H_ unsigned int protocol_version
The protocol version being used for this connection.
Definition: ntcore_c.h:175
uint64_t last_change
Timestamp of last change to entry (type or value).
Definition: ntcore_c.h:148
uint64_t last_update
The last time any update was received from the remote node (same scale as returned by nt::Now())...
Definition: ntcore_c.h:169
unsigned int remote_port
The port number of the remote node.
Definition: ntcore_c.h:163
NetworkTables RPC Version 1 Definition Result.
Definition: ntcore_c.h:185
NetworkTables Connection Information.
Definition: ntcore_c.h:152
NetworkTables Entry Value.
Definition: ntcore_c.h:110
NetworkTables Entry Information.
Definition: ntcore_c.h:134
unsigned int flags
Entry flags.
Definition: ntcore_c.h:145
struct NT_String name
Entry name.
Definition: ntcore_c.h:139
A NetworkTables string.
Definition: ntcore_c.h:93
NetworkTables RPC Version 1 Definition.
Definition: ntcore_c.h:191
NetworkTables RPC Version 1 Definition Parameter.
Definition: ntcore_c.h:179
enum NT_Type type
Entry type.
Definition: ntcore_c.h:142
struct NT_String remote_ip
The IP address of the remote node.
Definition: ntcore_c.h:160
struct NT_String remote_id
The remote identifier (as set on the remote node by NetworkTableInstance::SetNetworkIdentity() or nt:...
Definition: ntcore_c.h:157