From f1b067ac321838e72cb19ff297a41e4191d8b442 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Fri, 19 Mar 2010 12:06:17 +0000 Subject: [PATCH] edg_wll_GenerateSubjobIds now in context.h --- org.glite.lb.common/interface/context-int.h | 2 -- org.glite.lb.common/interface/context.h | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/org.glite.lb.common/interface/context-int.h b/org.glite.lb.common/interface/context-int.h index d1c5ae6..d7f4b0a 100644 --- a/org.glite.lb.common/interface/context-int.h +++ b/org.glite.lb.common/interface/context-int.h @@ -217,8 +217,6 @@ extern int edg_wll_IncSequenceCode(edg_wll_Context ctx); extern void edg_wll_FreeParams(edg_wll_Context context); -extern int edg_wll_GenerateSubjobIds(edg_wll_Context, glite_jobid_const_t, int, const char *, glite_jobid_t **); - #ifdef __cplusplus } #endif diff --git a/org.glite.lb.common/interface/context.h b/org.glite.lb.common/interface/context.h index a5324b3..ab0b1b2 100644 --- a/org.glite.lb.common/interface/context.h +++ b/org.glite.lb.common/interface/context.h @@ -290,6 +290,21 @@ int edg_wll_GetLoggingJob( glite_jobid_t *jobid_out ); +/** + * Generate or regenerate set of subjob ID's. + * Calls the same algorithm used to generate subjob ID's in edg_wll_RegisterJob(). + * Local semantics only, server is not contacted. + */ + +int edg_wll_GenerateSubjobIds( + edg_wll_Context context, + glite_jobid_const_t parent, + int num_subjobs, + const char * seed, + glite_jobid_t ** subjobs +); + + /* *@} end of group */ -- 1.8.2.3