Lcb – libcellbroadcast-0.0 Reference Manual
Packages
libcellbroadcast-0.0
Lcb
ChannelMode
SeverityLevel
DBusCbd
DBusCbdProxy
DBusCbdSkeleton
Message
cbd_get_messages
cbd_get_messages_sync
dbus_cbd_interface_info
dbus_cbd_override_properties
get_proxy
init
is_initted
uninit
util_load_messages_from_bytes
util_load_messages_from_file
util_load_raw_messages_from_bytes
util_load_raw_messages_from_file
util_save_messages_to_file
Lcb
Description:
Content:
Interfaces:
DBusCbd
-
Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-cbd.
Classes:
DBusCbdProxy
-
The
DBusCbdProxy
structure contains only private data and should only be accessed using the provided API.
DBusCbdSkeleton
-
The
DBusCbdSkeleton
structure contains only private data and should only be accessed using the provided API.
Message
Enums:
ChannelMode
-
How to set the channel list
SeverityLevel
Functions:
public
async
ListModel
cbd_get_messages
(
Cancellable
? cancellable)
throws
Error
public
ListModel
cbd_get_messages_sync
()
throws
Error
Get all messages.
public
unowned
DBusInterfaceInfo
dbus_cbd_interface_info
()
public
uint
dbus_cbd_override_properties
(
ObjectClass
klass,
uint
property_id_begin)
public
unowned
DBusCbd
get_proxy
()
This can be used to access the lower level API e.
public
bool
init
()
throws
Error
Initialize libcellbroadcast.
public
bool
is_initted
()
public
void
uninit
()
Uninitialize the library when no longer used.
public
ListModel
util_load_messages_from_bytes
(
Bytes
bytes)
throws
Error
A [class@Gio.
public
ListModel
util_load_messages_from_file
(
string
path)
throws
Error
A [class@Gio.
public
GenericArray
<
HashTable
<
void
*,
void
*>>
util_load_raw_messages_from_bytes
(
Bytes
bytes)
throws
Error
A [class@GPtrArray] containing the raw message contents.
public
GenericArray
<
HashTable
<
void
*,
void
*>>
util_load_raw_messages_from_file
(
string
path)
throws
Error
A [class@GPtrArray] containing the raw message contents.
public
bool
util_save_messages_to_file
(
ListModel
? messages,
string
path)
throws
Error
Save messages to a gvdb database file.