LibEvent.Base – libevent Reference Manual
Base
Object Hierarchy:
LibEvent.Base
LibEvent.Base
LibEvent.Base
Description:
[
Compact
]
[
CCode
( cname =
"struct event_base"
) ]
public
class
Base
Namespace:
LibEvent
Package:
libevent
Content:
Creation methods:
public
Base
()
public
Base.with_config
(
Config
cfg)
Methods:
public
void
@set
(
Event
event)
public
int
dispatch
()
public
void
dump_events
(
FileStream
file)
public
int
get_features
()
public
unowned
string
get_method
()
public
bool
got_break
()
public
bool
got_exit
()
public
TimeVal
init_common_timeout
(
TimeVal
duration)
public
int
loop
(
LoopFlags
flags)
public
int
loopbreak
()
public
int
loopexit
(
TimeVal
tv)
public
int
once
(
Base
@base,
Socket
fd,
short
event,
OccuredCallback
cb,
TimeVal
tv)
public
int
priority_init
(
int
npriorities)
public
int
reinit
()
2022 vala-language.org