From 610940a06dc09fc14581cffc2829358e926ec9c3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 28 Apr 2009 20:23:27 +0200 Subject: sticker: added sticker_delete_value() sticker_delete_value() deletes only one value in a sticker, while the old function sticker_delete() deletes all values. --- src/sticker.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/sticker.h') diff --git a/src/sticker.h b/src/sticker.h index 5daba3def..8e6410914 100644 --- a/src/sticker.h +++ b/src/sticker.h @@ -88,6 +88,13 @@ sticker_store_value(const char *type, const char *uri, bool sticker_delete(const char *type, const char *uri); +/** + * Deletes a sticker value. Fails if no sticker with this name + * exists. + */ +bool +sticker_delete_value(const char *type, const char *uri, const char *name); + /** * Frees resources held by the sticker object. * -- cgit v1.2.3