FTEQW
Documentation of the FTE engine source tree.
ftenet_generic_connection_s Struct Reference

#include <netinc.h>

Public Attributes

char name [MAX_QPATH]
 
int(* GetLocalAddresses )(struct ftenet_generic_connection_s *con, unsigned int *adrflags, netadr_t *addresses, const char **adrparams, int maxaddresses)
 
qboolean(* ChangeLocalAddress )(struct ftenet_generic_connection_s *con, const char *addressstring, netadr_t *newadr)
 
qboolean(* GetPacket )(struct ftenet_generic_connection_s *con)
 
neterr_t(* SendPacket )(struct ftenet_generic_connection_s *con, int length, const void *data, netadr_t *to)
 
void(* Close )(struct ftenet_generic_connection_s *con)
 
int(* SetFDSets )(struct ftenet_generic_connection_s *con, fd_set *readfdset, fd_set *writefdset)
 
void(* PrintStatus )(struct ftenet_generic_connection_s *con)
 
netproto_t prot
 
netadrtype_t addrtype [FTENET_ADDRTYPES]
 
qboolean islisten
 
int connum
 
struct ftenet_connections_sowner
 
epollctx_t epoll
 
SOCKET thesocket
 
int thesocket
 

Member Data Documentation

◆ addrtype

netadrtype_t ftenet_generic_connection_s::addrtype[FTENET_ADDRTYPES]

◆ ChangeLocalAddress

qboolean(* ftenet_generic_connection_s::ChangeLocalAddress) (struct ftenet_generic_connection_s *con, const char *addressstring, netadr_t *newadr)

◆ Close

void(* ftenet_generic_connection_s::Close) (struct ftenet_generic_connection_s *con)

◆ connum

int ftenet_generic_connection_s::connum

◆ epoll

epollctx_t ftenet_generic_connection_s::epoll

◆ GetLocalAddresses

int(* ftenet_generic_connection_s::GetLocalAddresses) (struct ftenet_generic_connection_s *con, unsigned int *adrflags, netadr_t *addresses, const char **adrparams, int maxaddresses)

◆ GetPacket

qboolean(* ftenet_generic_connection_s::GetPacket) (struct ftenet_generic_connection_s *con)

◆ islisten

qboolean ftenet_generic_connection_s::islisten

◆ name

char ftenet_generic_connection_s::name[MAX_QPATH]

◆ owner

struct ftenet_connections_s* ftenet_generic_connection_s::owner

◆ PrintStatus

void(* ftenet_generic_connection_s::PrintStatus) (struct ftenet_generic_connection_s *con)

◆ prot

netproto_t ftenet_generic_connection_s::prot

◆ SendPacket

neterr_t(* ftenet_generic_connection_s::SendPacket) (struct ftenet_generic_connection_s *con, int length, const void *data, netadr_t *to)

◆ SetFDSets

int(* ftenet_generic_connection_s::SetFDSets) (struct ftenet_generic_connection_s *con, fd_set *readfdset, fd_set *writefdset)

◆ thesocket [1/2]

SOCKET ftenet_generic_connection_s::thesocket

◆ thesocket [2/2]

int ftenet_generic_connection_s::thesocket

The documentation for this struct was generated from the following file: