diff options
Diffstat (limited to 'src/sticker.h')
-rw-r--r-- | src/sticker.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sticker.h b/src/sticker.h index ab3a35572..689555fb0 100644 --- a/src/sticker.h +++ b/src/sticker.h @@ -41,6 +41,8 @@ #ifndef STICKER_H #define STICKER_H +#include <glib.h> + #include <stdbool.h> /** @@ -62,6 +64,15 @@ bool sticker_enabled(void); /** + * Populates a GList with GPtrArrays of sticker names and values from + * an object's sticker record. The caller must free each GPtrArray + * element of the returned list with g_ptr_array_free(), as well as + * the returned GList with g_list_free(). + */ +GList * +sticker_list_values(const char *type, const char *uri); + +/** * Returns one value from an object's sticker record. The caller must * free the return value with g_free(). */ |