Function
EBackendCacheForeachFunc
since: 3.26
Declaration
gboolean
(* ECacheForeachFunc) (
ECache* cache,
const gchar* uid,
const gchar* revision,
const gchar* object,
EOfflineState offline_state,
gint ncols,
const gchar** column_names,
const gchar** column_values,
gpointer user_data
)
Description [src]
A callback called for each object row when using e_cache_foreach() function.
Available since: 3.26
Parameters
cache-
Type:
ECacheAn
ECache.The data is owned by the caller of the function. uid-
Type:
const gchar*A unique object identifier.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. revision-
Type:
const gchar*The object revision.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. object-
Type:
const gchar*The object itself.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. offline_state-
Type:
EOfflineStateObjects offline state, one of
EOfflineState. ncols-
Type:
gintCount of columns, items in column_names and column_values.
column_names-
Type: An array of
utf8Column names.
The length of the array is specified in the ncolsargument.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string. column_values-
Type: An array of
utf8Column values.
The length of the array is specified in the ncolsargument.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string. user_data-
Type:
gpointerUser data, as used in e_cache_foreach().
The argument can be NULL.The data is owned by the caller of the function.