From: Aleš Křenek Date: Tue, 15 Aug 2006 20:06:35 +0000 (+0000) Subject: merge of changes betwen merge_for_3_1_src and merge_30_31_src X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=28f674e98f7adbecceeec1a32aea40735da1cef5;p=jra1mw.git Merge ... changes betwen merge_for_3_1_src and merge_30_31_src --- diff --git a/org.glite.lb.common/src/notifid.c b/org.glite.lb.common/src/notifid.c index 8a1d5fe..ee3c162 100644 --- a/org.glite.lb.common/src/notifid.c +++ b/org.glite.lb.common/src/notifid.c @@ -86,3 +86,20 @@ char* edg_wll_NotifIdGetUnique(const edg_wll_NotifId notifid) free(id); return NULL; } + +edg_wll_NotifId * +edg_wll_NotifIdDup(const edg_wll_NotifId src) +{ + char *str; + edg_wll_NotifId id = NULL; + int ret; + + str = edg_wll_NotifIdUnparse(src); + if (str == NULL) + return NULL; + + ret = edg_wll_NotifIdParse((const char *)str, &id); + free(str); + + return id; +}