From: Zdeněk Šustr Date: Fri, 19 Mar 2010 12:06:17 +0000 (+0000) Subject: edg_wll_GenerateSubjobIds now in context.h X-Git-Tag: glite-jobid-api-c_R_1_0_2_1~38 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=f1b067ac321838e72cb19ff297a41e4191d8b442;p=jra1mw.git edg_wll_GenerateSubjobIds now in context.h --- 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 */