Freeciv-3.1
|
#include <jansson.h>
Go to the source code of this file.
Macros | |
#define | log_packet_json log_debug |
#define | SEND_PACKET_START(packet_type) |
#define | SEND_PACKET_END(packet_type) |
#define | RECEIVE_PACKET_START(packet_type, result) |
#define | RECEIVE_PACKET_END(result) |
#define | RECEIVE_PACKET_FIELD_ERROR(field, ...) |
#define | PACKET_STRVEC_SEPARATOR '\3' |
#define | PACKET_STRVEC_COMPUTE(str, strvec) |
#define | PACKET_STRVEC_EXTRACT(strvec, str) |
Functions | |
void * | get_packet_from_connection_json (struct connection *pc, enum packet_type *ptype) |
#define log_packet_json log_debug |
Definition at line 22 of file packets_json.h.
Definition at line 108 of file packets_json.h.
Definition at line 114 of file packets_json.h.
#define PACKET_STRVEC_SEPARATOR '\3' |
Definition at line 107 of file packets_json.h.
#define RECEIVE_PACKET_END | ( | result | ) |
Definition at line 86 of file packets_json.h.
#define RECEIVE_PACKET_FIELD_ERROR | ( | field, | |
... | |||
) |
Definition at line 102 of file packets_json.h.
#define RECEIVE_PACKET_START | ( | packet_type, | |
result | |||
) |
Definition at line 70 of file packets_json.h.
#define SEND_PACKET_END | ( | packet_type | ) |
Definition at line 45 of file packets_json.h.
#define SEND_PACKET_START | ( | packet_type | ) |
Definition at line 27 of file packets_json.h.
void * get_packet_from_connection_json | ( | struct connection * | pc, |
enum packet_type * | ptype | ||
) |