Private methods
This page documents the internal methods for XPA.jl developers. Since these are not part of the public API, the page is hidden from the site navigation.
The functions documented here are internal to XPA.jl and should not be considered as being part of the stable/public API.
Types
XPA.SendBuffer — Type
XPA.SendBufferAn instance of the XPA.SendBuffer structure is provided to send callbacks to record the addresses where to store the address and size of the data associated to the answer of an XPA.get request. A send callback shall use XPA.store! to set the buffer contents.
See also
XPA.ReceiveBuffer — Type
An instance of the XPA.ReceiveBuffer structure is provided to receive callbacks to record the address and the size of the data sent by an XPA.set request. Methods pointer(buf) and sizeof(buf) can be used to query the address and the number of bytes of the buffer buf.
See also
XPA.get, XPA.Server, and XPA.ReceiveCallback.
XPA.NullBuffer — Type
XPA.NullBuffersingleton type representing an empty buffer when sending data to a server. Its length is 0 byte and its address is Ptr{Cvoid}(0).
XPA.TupleOf — Type
XPA.TupleOf{T} represents a tuple of any number of elements of type T, it is an alias for Tuple{Vararg{T}}
XPA.CDefs module
XPA.CDefs.SelOn — Type
abstract type SelOnWrapper around XPA's SelOn type:
typedef void (*SelOn)(void *client_data);XPA.CDefs.SelOff — Type
abstract type SelOffWrapper around XPA's SelOff type:
typedef void (*SelOff)(void *client_data);XPA.CDefs.SelAdd — Type
abstract type SelAddWrapper around XPA's SelAdd type:
typedef void *(*SelAdd)(void *client_data, int fd);XPA.CDefs.SelDel — Type
abstract type SelDelWrapper around XPA's SelDel type:
typedef void (*SelDel)(void *client_data);XPA.CDefs.SendCb — Type
SendCbWrapper around XPA's SendCb type:
typedef int (*SendCb)(void *client_data, void *call_data, char *paramlist,
char **buf, size_t *len);XPA.CDefs.ReceiveCb — Type
ReceiveCbWrapper around XPA's ReceiveCb type:
typedef int (*ReceiveCb)(void *client_data, void *call_data,
char *paramlist, char *buf, size_t len);XPA.CDefs.MyFree — Type
MyFreeWrapper around XPA's MyFree type:
typedef void (*MyFree)(void *buf);XPA.CDefs.InfoCb — Type
InfoCbWrapper around XPA's InfoCb type:
typedef int (*InfoCb)(void *client_data, void *call_data, char *paramlist);XPA.CDefs.XPACommRec — Type
XPACommRecXPA communication structure for each connection.
XPA.CDefs.NSRec — Type
abstract type NSRecOpaque structure for struct nsrec.
XPA.CDefs.ClipRec — Type
abstract type ClipRecOpaque structure for struct cliprec.
XPA.CDefs.XPAInputRec — Type
abstract type XPAInputRecOpaque structure for struct xpainputrec.
XPA.CDefs.XPAClientRec — Type
abstract type XPAClientRecOpaque structure for struct xpaclientrec.
XPA.CDefs.XPACmdRec — Type
abstract type XPACmdRecOpaque structure for struct xpacmdrec.