Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
packet_handlers Struct Reference

#include <packets.h>

Data Fields

union { 
 
   int(*   no_packet )(struct connection *pconn
 
   int(*   packet )(struct connection *pconn,
       const void *packet) 
 
   int(*   force_to_send )(struct connection *pconn,
       const void *packet, bool
      force_to_send) 
 
send [PACKET_LAST
 
void *(* receive [PACKET_LAST])(struct connection *pconn)
 

Detailed Description

Definition at line 74 of file packets.h.

Field Documentation

◆ force_to_send

int(* packet_handlers::force_to_send) (struct connection *pconn, const void *packet, bool force_to_send)

Definition at line 78 of file packets.h.

◆ no_packet

int(* packet_handlers::no_packet) (struct connection *pconn)

Definition at line 76 of file packets.h.

◆ packet

int(* packet_handlers::packet) (struct connection *pconn, const void *packet)

Definition at line 77 of file packets.h.

◆ receive

void *(* packet_handlers::receive[PACKET_LAST])(struct connection *pconn)

Definition at line 81 of file packets.h.

◆ [union]

union { ... } packet_handlers::send[PACKET_LAST]