--- a/libpurple/util.h Wed Oct 23 22:07:58 2013 +0200 +++ b/libpurple/util.h Thu Oct 24 15:55:59 2013 +0200 @@ -1437,6 +1437,15 @@ */ gchar *purple_uuid_random(void); +/** + * Sets given pointer to NULL. + * + * Function designed to be used as a GDestroyNotify callback. + * + * @param data A pointer to variable, which should be set to NULL. + */ +void purple_callback_set_zero(gpointer data); + G_END_DECLS #endif /* _PURPLE_UTIL_H_ */