Freeciv-3.2
|
#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 | SEND_PACKET_DISCARD() |
#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) |
Definition at line 22 of file packets_json.h.
Definition at line 116 of file packets_json.h.
Definition at line 122 of file packets_json.h.
#define PACKET_STRVEC_SEPARATOR '\3' |
Definition at line 115 of file packets_json.h.
#define RECEIVE_PACKET_END | ( | result | ) |
Definition at line 94 of file packets_json.h.
Definition at line 110 of file packets_json.h.
#define RECEIVE_PACKET_START | ( | packet_type, | |
result | |||
) |
Definition at line 78 of file packets_json.h.
#define SEND_PACKET_DISCARD | ( | ) |
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 | ||
) |