derelict.enet.types

Undocumented in source.

Members

Aliases

ENET_NET_TO_HOST_16
alias ENET_NET_TO_HOST_16 = ENET_HOST_TO_NET_16
Undocumented in source.
ENET_NET_TO_HOST_32
alias ENET_NET_TO_HOST_32 = ENET_HOST_TO_NET_32
Undocumented in source.
ENetChecksumCallback
alias ENetChecksumCallback = enet_uint32 function(const ENetBuffer* buffers, size_t bufferCount)

Callback that computes the checksum of the data held in buffers[0:bufferCount-1]

ENetEventType
alias ENetEventType = int

An ENet event type, as specified in @ref ENetEvent.

ENetInterceptCallback
alias ENetInterceptCallback = int function(ENetHost* host, ENetEvent* event)

Callback for intercepting received raw UDP packets. Should return 1 to intercept, 0 to ignore, or -1 to propagate an error.

ENetListIterator
alias ENetListIterator = ENetListNode*
Undocumented in source.
ENetPacketFlag
alias ENetPacketFlag = int

Packet flag bit constants.

ENetPacketFreeCallback
alias ENetPacketFreeCallback = void function(ENetPacket*)
Undocumented in source.
ENetPeerState
alias ENetPeerState = int
Undocumented in source.
ENetProtocolCommand
alias ENetProtocolCommand = int
Undocumented in source.
ENetProtocolFlag
alias ENetProtocolFlag = int
Undocumented in source.
ENetSocket
alias ENetSocket = SOCKET
Undocumented in source.
ENetSocket
alias ENetSocket = int
Undocumented in source.
ENetSocketOption
alias ENetSocketOption = int
Undocumented in source.
ENetSocketSet
alias ENetSocketSet = fd_set
Undocumented in source.
ENetSocketSet
alias ENetSocketSet = fd_set
Undocumented in source.
ENetSocketShutdown
alias ENetSocketShutdown = int
Undocumented in source.
ENetSocketType
alias ENetSocketType = int
Undocumented in source.
ENetSocketWait
alias ENetSocketWait = int
Undocumented in source.
ENetVersion
alias ENetVersion = enet_uint32
Undocumented in source.
SOCKET
alias SOCKET = ulong
Undocumented in source.
SOCKET
alias SOCKET = uint
Undocumented in source.
enet_uint16
alias enet_uint16 = ushort
Undocumented in source.
enet_uint32
alias enet_uint32 = uint
Undocumented in source.
enet_uint8
alias enet_uint8 = ubyte
Undocumented in source.

Enums

ENET_EVENT_TYPE_NONE
anonymousenum ENET_EVENT_TYPE_NONE
Undocumented in source.
ENET_HOST_RECEIVE_BUFFER_SIZE
anonymousenum ENET_HOST_RECEIVE_BUFFER_SIZE
Undocumented in source.
ENET_PACKET_FLAG_RELIABLE
anonymousenum ENET_PACKET_FLAG_RELIABLE
Undocumented in source.
ENET_PEER_STATE_DISCONNECTED
anonymousenum ENET_PEER_STATE_DISCONNECTED
Undocumented in source.
ENET_PROTOCOL_COMMAND_FLAG_ACKNOWLEDGE
anonymousenum ENET_PROTOCOL_COMMAND_FLAG_ACKNOWLEDGE
Undocumented in source.
ENET_PROTOCOL_COMMAND_NONE
anonymousenum ENET_PROTOCOL_COMMAND_NONE
Undocumented in source.
ENET_PROTOCOL_MINIMUM_MTU
anonymousenum ENET_PROTOCOL_MINIMUM_MTU
Undocumented in source.
ENET_SOCKET_SHUTDOWN_READ
anonymousenum ENET_SOCKET_SHUTDOWN_READ
Undocumented in source.
ENET_SOCKET_TYPE_STREAM
anonymousenum ENET_SOCKET_TYPE_STREAM
Undocumented in source.
ENET_SOCKET_WAIT_NONE
anonymousenum ENET_SOCKET_WAIT_NONE
Undocumented in source.
ENET_SOCKOPT_NONBLOCK
anonymousenum ENET_SOCKOPT_NONBLOCK
Undocumented in source.

Functions

ENET_HOST_TO_NET_16
ushort ENET_HOST_TO_NET_16(ushort x)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_HOST_TO_NET_16
ushort ENET_HOST_TO_NET_16(ushort x)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_HOST_TO_NET_32
uint ENET_HOST_TO_NET_32(uint x)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_HOST_TO_NET_32
uint ENET_HOST_TO_NET_32(uint x)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_SOCKETSET_ADD
void ENET_SOCKETSET_ADD(ENetSocketSet sockset, ENetSocket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_SOCKETSET_ADD
void ENET_SOCKETSET_ADD(ENetSocketSet sockset, ENetSocket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_SOCKETSET_CHECK
int ENET_SOCKETSET_CHECK(ENetSocketSet sockset, ENetSocket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_SOCKETSET_CHECK
bool ENET_SOCKETSET_CHECK(ENetSocketSet sockset, ENetSocket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_SOCKETSET_EMPTY
void ENET_SOCKETSET_EMPTY(ENetSocketSet sockset)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_SOCKETSET_EMPTY
void ENET_SOCKETSET_EMPTY(ENetSocketSet sockset)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_SOCKETSET_REMOVE
void ENET_SOCKETSET_REMOVE(ENetSocketSet sockset, ENetSocket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_SOCKETSET_REMOVE
void ENET_SOCKETSET_REMOVE(ENetSocketSet sockset, ENetSocket socket)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_VERSION_CREATE
int ENET_VERSION_CREATE(int major, int minor, int patch)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_VERSION_GET_MAJOR
int ENET_VERSION_GET_MAJOR(int version_)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_VERSION_GET_MINOR
int ENET_VERSION_GET_MINOR(int version_)
Undocumented in source. Be warned that the author may not have intended to support it.
ENET_VERSION_GET_PATCH
int ENET_VERSION_GET_PATCH(int version_)
Undocumented in source. Be warned that the author may not have intended to support it.
enet_list_back
void* enet_list_back(ENetList* list)
Undocumented in source. Be warned that the author may not have intended to support it.
enet_list_begin
ENetListIterator enet_list_begin(ENetList* list)
Undocumented in source. Be warned that the author may not have intended to support it.
enet_list_empty
bool enet_list_empty(ENetList* list)
Undocumented in source. Be warned that the author may not have intended to support it.
enet_list_end
ENetListIterator enet_list_end(ENetList* list)
Undocumented in source. Be warned that the author may not have intended to support it.
enet_list_front
void* enet_list_front(ENetList* list)
Undocumented in source. Be warned that the author may not have intended to support it.
enet_list_next
ENetListIterator enet_list_next(ENetListIterator iterator)
Undocumented in source. Be warned that the author may not have intended to support it.
enet_list_previous
ENetListIterator enet_list_previous(ENetListIterator iterator)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

ENET_BUFFER_MAXIMUM
enum ENET_BUFFER_MAXIMUM;
Undocumented in source.
ENET_HOST_ANY
enum ENET_HOST_ANY;
Undocumented in source.
ENET_HOST_BROADCAST
enum ENET_HOST_BROADCAST;
Undocumented in source.
ENET_PORT_ANY
enum ENET_PORT_ANY;
Undocumented in source.
ENET_SOCKET_NULL
enum ENET_SOCKET_NULL;
Undocumented in source.
ENET_SOCKET_NULL
enum ENET_SOCKET_NULL;
Undocumented in source.
ENET_VERSION
enum ENET_VERSION;
Undocumented in source.
ENET_VERSION_MAJOR
enum ENET_VERSION_MAJOR;
Undocumented in source.
ENET_VERSION_MINOR
enum ENET_VERSION_MINOR;
Undocumented in source.
ENET_VERSION_PATCH
enum ENET_VERSION_PATCH;
Undocumented in source.
FD_SETSIZE
enum FD_SETSIZE;
Undocumented in source.

Structs

ENetAcknowledgement
struct ENetAcknowledgement
Undocumented in source.
ENetAddress
struct ENetAddress

Portable internet address structure.

ENetBuffer
struct ENetBuffer
Undocumented in source.
ENetBuffer
struct ENetBuffer
Undocumented in source.
ENetCallbacks
struct ENetCallbacks
Undocumented in source.
ENetChannel
struct ENetChannel
Undocumented in source.
ENetCompressor
struct ENetCompressor

An ENet packet compressor for compressing UDP packets before socket sends or receives.

ENetEvent
struct ENetEvent

An ENet event as returned by enet_host_service().

ENetHost
struct ENetHost

An ENet host for communicating with peers. * * No fields should be modified unless otherwise stated.

ENetIncomingCommand
struct ENetIncomingCommand
Undocumented in source.
ENetList
struct ENetList
Undocumented in source.
ENetListNode
struct ENetListNode
Undocumented in source.
ENetOutgoingCommand
struct ENetOutgoingCommand
Undocumented in source.
ENetPacket
struct ENetPacket

ENet packet structure.

ENetPeer
struct ENetPeer

An ENet peer which data packets may be sent or received from.

ENetProtocolAcknowledge
struct ENetProtocolAcknowledge
Undocumented in source.
ENetProtocolBandwidthLimit
struct ENetProtocolBandwidthLimit
Undocumented in source.
ENetProtocolCommandHeader
struct ENetProtocolCommandHeader
Undocumented in source.
ENetProtocolConnect
struct ENetProtocolConnect
Undocumented in source.
ENetProtocolDisconnect
struct ENetProtocolDisconnect
Undocumented in source.
ENetProtocolHeader
struct ENetProtocolHeader
Undocumented in source.
ENetProtocolPing
struct ENetProtocolPing
Undocumented in source.
ENetProtocolSendFragment
struct ENetProtocolSendFragment
Undocumented in source.
ENetProtocolSendReliable
struct ENetProtocolSendReliable
Undocumented in source.
ENetProtocolSendUnreliable
struct ENetProtocolSendUnreliable
Undocumented in source.
ENetProtocolSendUnsequenced
struct ENetProtocolSendUnsequenced
Undocumented in source.
ENetProtocolThrottleConfigure
struct ENetProtocolThrottleConfigure
Undocumented in source.
ENetProtocolVerifyConnect
struct ENetProtocolVerifyConnect
Undocumented in source.
fd_set
struct fd_set
Undocumented in source.

Unions

ENetProtocol
union ENetProtocol
Undocumented in source.

Meta