![]() |
![]() |
![]() |
![]() |
gchar * (*CamelIndexNorm) (CamelIndex *index
,const gchar *word
,gpointer user_data
);
void camel_index_name_add_word (CamelIndexName *name
,const gchar *word
);
gsize camel_index_name_add_buffer (CamelIndexName *name
,const gchar *buffer
,gsize len
);
void camel_index_construct (CamelIndex *index
,const gchar *path
,gint flags
);
void camel_index_set_normalize (CamelIndex *index
,CamelIndexNorm func
,gpointer user_data
);
Since: 2.32
CamelIndexName * camel_index_add_name (CamelIndex *index
,const gchar *name
);
a CamelIndexName with
added given name
, or NULL
, when the name
could not be
added.
[transfer none][nullable]
CamelIndexCursor * camel_index_find_name (CamelIndex *index
,const gchar *name
);
void camel_index_delete_name (CamelIndex *index
,const gchar *name
);
Deletes the given name
from index
.
CamelIndexCursor * camel_index_find (CamelIndex *index
,const gchar *word
);
a CamelIndexCursor object with
the given word
, or NULL
, when not found.
[transfer none][nullable]
CamelIndexCursor *
camel_index_words (CamelIndex *index
);
a CamelIndexCursor containing
all words of the index
, or NULL
, when there are none.
[transfer none][nullable]