git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45f55e3
)
merge of changes betwen merge_for_3_1_src and merge_30_31_src
author
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 15 Aug 2006 20:06:35 +0000
(20:06 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 15 Aug 2006 20:06:35 +0000
(20:06 +0000)
org.glite.lb.common/src/notifid.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/src/notifid.c
b/org.glite.lb.common/src/notifid.c
index
8a1d5fe
..
ee3c162
100644
(file)
--- 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;
+}