Freeciv-3.3
|
#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_INSERT(dest, src) dest = src |
#define | PACKET_STRVEC_EXTRACT(dest, src) |
Functions | |
void * | get_packet_from_connection_json (struct connection *pc, enum packet_type *ptype) |
Definition at line 22 of file packets_json.h.
#define PACKET_STRVEC_EXTRACT | ( | dest, | |
src | |||
) |
Definition at line 120 of file packets_json.h.
#define PACKET_STRVEC_INSERT | ( | dest, | |
src | |||
) | dest = src |
Definition at line 118 of file packets_json.h.
#define RECEIVE_PACKET_END | ( | result | ) |
Definition at line 95 of file packets_json.h.
Definition at line 112 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 | ||
) |