Top | ![]() |
![]() |
![]() |
![]() |
|
camel_strcase_equal () |
|
camel_strcase_hash () |
|
camel_strstrcase () |
const |
camel_strdown () |
const |
camel_pstring_add () |
const |
camel_pstring_strdup () |
|
camel_pstring_free () |
const |
camel_pstring_peek () |
|
camel_pstring_contains () |
|
camel_pstring_dump_stat () |
constgchar * camel_pstring_add (,
gchar *string);
gboolean own
Add string
to the pool.
The NULL
Unreference the returned string with camel_pstring_free()
.
constgchar * camel_pstring_strdup (const
);gchar *string
Create a new pooled string entry for strings
. A pooled string
is a table where common strings are canonicalized. They are also
reference counted and freed when no longer referenced.
The NULL
Unreference the returned string with camel_pstring_free()
.
void camel_pstring_free (const
);gchar *string
Unreferences a pooled string. If the string's reference count drops to
zero it will be deallocated. NULL
constgchar * camel_pstring_peek (const
);gchar *string
Returns the canonicalized copy of string
without increasing its
reference count in the string pool. If necessary, string
is first
added to the string pool.
The NULL
Since: 2.24
gboolean camel_pstring_contains (const
);gchar *string
Returns whether the string
exists in the string pool.
The NULL
Since: 3.22
void camel_pstring_dump_stat (void
);
Dumps to stdout memory statistic about the string pool.
Since: 3.6