Constructor

PurpleSqliteHistoryAdapternew

unstable since: 3.0

Declaration [src]

PurpleHistoryAdapter*
purple_sqlite_history_adapter_new (
  const gchar* filename
)

Description [src]

Creates a new PurpleHistoryAdapter.

Available since: 3.0

Parameters

filename

Type: const gchar*

The filename of the sqlite database.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: PurpleHistoryAdapter

The new PurpleSqliteHistoryAdapter instance.

The caller of the function takes ownership of the data, and is responsible for freeing it.