From a96a5b74204b32b147e2cfacfec6c9d9e9ee2bf4 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 29 Jan 2004 08:24:16 +0000 Subject: added a doc comment. 2004-01-29 Not Zed * camel-object.c (camel_object_bag_rekey): added a doc comment. ** See bug #53520. * camel-session.c (get_service): free the url once done, it now gets copied by the service. * camel-service.c (construct): copy the url that comes in, don't just '0Wn34z' it. clena up exception handling too. svn path=/trunk/; revision=24513 --- camel/camel-object.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'camel/camel-object.c') diff --git a/camel/camel-object.c b/camel/camel-object.c index 7ca9e84d8a..682c0e1924 100644 --- a/camel/camel-object.c +++ b/camel/camel-object.c @@ -1897,7 +1897,17 @@ camel_object_bag_abort(CamelObjectBag *bag, const void *key) E_UNLOCK(type_lock); } - +/** + * camel_object_bag_rekey: + * @bag: + * @o: + * @newkey: + * + * Re-key an object, atomically. The key for object @o is set to + * @newkey, in an atomic manner. + * + * It is an api (fatal) error if @o is not currently in the bag. + **/ void camel_object_bag_rekey(CamelObjectBag *bag, void *o, const void *newkey) { -- cgit