LibEvent – libevent Reference Manual
LibEvent
Description:
public
namespace
LibEvent
Namespace:
LibEvent
Package:
libevent
Content:
Classes:
Base
Config
Event
Enums:
BaseConfigFlag
Flags
LogSeverity
LoopFlags
MethodFeature
Constants:
public
const
int
MAX_PRIORITIES
public
const
int
VERSION
public
const
int
VERSION_NUMBER
Delegates:
public
delegate
void
FatalCallback
(
int
err)
public
delegate
void
FreeFunc
(
void
* ptr)
public
delegate
void
LogCallback
(
LogSeverity
severity,
string
message)
public
delegate
void
*
MallocFunc
(
size_t
sz)
public
delegate
void
OccuredCallback
(
Socket
socket,
short
event)
public
delegate
void
*
ReallocFunc
(
void
* ptr,
size_t
sz)
Methods:
public
unowned
string
[]
get_supported_methods
()
public
unowned
string
get_version
()
public
uint32
get_version_number
()
public
void
set_fatal_callback
(
FatalCallback
cb)
public
void
set_log_callback
(
LogCallback
cb)
public
void
set_mem_functions
(
MallocFunc
malloc_fn,
ReallocFunc
realloc_fn,
FreeFunc
free_fn)
2022 vala-language.org