From: Michal Voců Date: Fri, 4 Jan 2008 12:22:25 +0000 (+0000) Subject: use glite_jobid_const_t X-Git-Tag: merge_313_3_dst~4 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=86929ea28d58d2afb3de931c91c85963ae61a913;p=jra1mw.git use glite_jobid_const_t --- diff --git a/org.glite.lb.client/interface/producer.h.T b/org.glite.lb.client/interface/producer.h.T index 972f3fd..86025ee 100644 --- a/org.glite.lb.client/interface/producer.h.T +++ b/org.glite.lb.client/interface/producer.h.T @@ -144,7 +144,7 @@ extern int edg_wll_LogFlushAll( */ extern int edg_wll_SetLoggingJob( edg_wll_Context context, - const edg_wlc_JobId job, + glite_jobid_const_t job, const char * code, int flags ); @@ -160,7 +160,7 @@ extern int edg_wll_SetLoggingJob( */ extern int edg_wll_SetLoggingJobProxy( edg_wll_Context context, - const edg_wlc_JobId job, + glite_jobid_const_t job, const char * code, const char * user, int flags @@ -191,7 +191,7 @@ extern int edg_wll_SetLoggingJobProxy( extern int edg_wll_RegisterJob( edg_wll_Context context, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -206,7 +206,7 @@ extern int edg_wll_RegisterJob( extern int edg_wll_RegisterJobSync( edg_wll_Context context, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -237,7 +237,7 @@ extern int edg_wll_RegisterJobSync( extern int edg_wll_RegisterJobProxy( edg_wll_Context context, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -250,7 +250,7 @@ extern int edg_wll_RegisterJobProxy( /* original register to LBProxy */ extern int edg_wll_RegisterJobProxyOld( edg_wll_Context context, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -264,7 +264,7 @@ extern int edg_wll_RegisterJobProxyOld( extern int edg_wll_RegisterJobProxyOnly( edg_wll_Context context, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -289,7 +289,7 @@ extern int edg_wll_RegisterJobProxyOnly( extern int edg_wll_RegisterSubjobs( edg_wll_Context context, - const edg_wlc_JobId parent, + glite_jobid_const_t parent, char const * const * jdls, const char * ns, edg_wlc_JobId const * subjobs @@ -309,7 +309,7 @@ extern int edg_wll_RegisterSubjobs( extern int edg_wll_RegisterSubjobsProxy( edg_wll_Context context, - const edg_wlc_JobId parent, + glite_jobid_const_t parent, char const * const * jdls, const char * ns, edg_wlc_JobId const * subjobs @@ -323,7 +323,7 @@ extern int edg_wll_RegisterSubjobsProxy( extern int edg_wll_GenerateSubjobIds( edg_wll_Context context, - const edg_wlc_JobId parent, + glite_jobid_const_t parent, int num_subjobs, const char * seed, edg_wlc_JobId ** subjobs @@ -345,7 +345,7 @@ extern int edg_wll_GenerateSubjobIds( extern int edg_wll_ChangeACL( edg_wll_Context context, - const edg_wlc_JobId job, + glite_jobid_const_t job, const char * user_id, enum edg_wll_UserIdType user_id_type, enum edg_wll_Permission permission, diff --git a/org.glite.lb.client/src/producer.c b/org.glite.lb.client/src/producer.c index 20705ca..48d571e 100644 --- a/org.glite.lb.client/src/producer.c +++ b/org.glite.lb.client/src/producer.c @@ -613,7 +613,7 @@ edg_wll_logflushall_end: */ int edg_wll_SetLoggingJob( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, const char *code, int flags) { @@ -662,7 +662,7 @@ int edg_wll_SetLoggingJob( */ int edg_wll_SetLoggingJobProxy( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, const char *code, const char *user, int flags) @@ -731,7 +731,7 @@ edg_wll_setloggingjobproxy_end: static int edg_wll_RegisterJobMaster( edg_wll_Context ctx, int flags, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -841,7 +841,7 @@ edg_wll_registerjobmaster_end: */ int edg_wll_RegisterJobSync( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -860,7 +860,7 @@ int edg_wll_RegisterJobSync( */ int edg_wll_RegisterJob( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -882,7 +882,7 @@ int edg_wll_RegisterJob( */ int edg_wll_RegisterJobProxy( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -1043,7 +1043,7 @@ edg_wll_registerjobproxy_end: */ int edg_wll_RegisterJobProxyOld( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -1066,7 +1066,7 @@ int edg_wll_RegisterJobProxyOld( */ int edg_wll_RegisterJobProxy( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -1089,7 +1089,7 @@ int edg_wll_RegisterJobProxy( */ int edg_wll_RegisterJobProxyOnly( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -1109,7 +1109,7 @@ int edg_wll_RegisterJobProxyOnly( static int edg_wll_RegisterSubjob( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -1130,7 +1130,7 @@ int edg_wll_RegisterSubjob( static int edg_wll_RegisterSubjobProxy( edg_wll_Context ctx, - const edg_wlc_JobId job, + glite_jobid_const_t job, enum edg_wll_RegJobJobtype type, const char * jdl, const char * ns, @@ -1150,7 +1150,7 @@ int edg_wll_RegisterSubjobProxy( */ int edg_wll_RegisterSubjobs( edg_wll_Context ctx, - const edg_wlc_JobId parent, + glite_jobid_const_t parent, char const * const * jdls, const char * ns, edg_wlc_JobId const * subjobs) @@ -1195,7 +1195,7 @@ edg_wll_registersubjobs_end: */ int edg_wll_RegisterSubjobsProxy( edg_wll_Context ctx, - const edg_wlc_JobId parent, + glite_jobid_const_t parent, char const * const * jdls, const char * ns, edg_wlc_JobId const * subjobs) @@ -1239,7 +1239,7 @@ edg_wll_registersubjobsproxy_end: */ int edg_wll_ChangeACL( edg_wll_Context ctx, - const edg_wlc_JobId jobid, + glite_jobid_const_t jobid, const char *user_id, enum edg_wll_UserIdType user_id_type, enum edg_wll_Permission permission, diff --git a/org.glite.lb.common/interface/context-int.h b/org.glite.lb.common/interface/context-int.h index e08b3b7..bc8edc9 100644 --- a/org.glite.lb.common/interface/context-int.h +++ b/org.glite.lb.common/interface/context-int.h @@ -182,7 +182,7 @@ 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, const edg_wlc_JobId, int, const char *, edg_wlc_JobId **); +extern int edg_wll_GenerateSubjobIds(edg_wll_Context, glite_jobid_const_t, int, const char *, edg_wlc_JobId **); #ifdef __cplusplus }