Constructor

PurpleSqliteHistoryAdapternew

Declaration [src]

PurpleHistoryAdapter*
purple_sqlite_history_adapter_new (
  const gchar* filename
)

Description [src]

Creates a new PurpleHistoryAdapter.

Available since:3.0.0

Parameters

filename 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

Returns: PurpleHistoryAdapter
 

The new PurpleSqliteHistoryAdapter instance.

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