From: Aleš Křenek Date: Fri, 17 Mar 2006 16:26:31 +0000 (+0000) Subject: build proxy with fake write2rgma X-Git-Tag: glite-wms-utils-exception_R_3_1_0~18 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=131c29b054d1d04b3fea35fd63e8175991190256;p=jra1mw.git build proxy with fake write2rgma --- diff --git a/org.glite.lb.proxy/Makefile b/org.glite.lb.proxy/Makefile index f16d700..e1bc0ff 100644 --- a/org.glite.lb.proxy/Makefile +++ b/org.glite.lb.proxy/Makefile @@ -99,10 +99,10 @@ LB_PROXY_LIBS:= \ -glite_lb_proxy: lbproxy.o ${LB_SERVER_SHARE_LIB} +glite_lb_proxy: lbproxy.o fake_write2rgma.o ${LB_SERVER_SHARE_LIB} @echo DEBUG: mysql_version=${mysql_version} mysql_prefix=${mysql_prefix} @echo DEBUG: shell: x$(shell echo ${mysql_version} | cut -d. -f1,2)x - ${LINK} -o $@ lbproxy.o ${LB_PROXY_LIBS} + ${LINK} -o $@ lbproxy.o fake_write2rgma.o ${LB_PROXY_LIBS} default all: compile diff --git a/org.glite.lb.proxy/src/fake_write2rgma.c b/org.glite.lb.proxy/src/fake_write2rgma.c new file mode 100755 index 0000000..f49a5a8 --- /dev/null +++ b/org.glite.lb.proxy/src/fake_write2rgma.c @@ -0,0 +1,23 @@ +#ident "$Header$" + +#include + +#include "glite/wmsutils/jobid/cjobid.h" +#include "glite/lb/producer.h" +#include "glite/lb/jobstat.h" + +char* write2rgma_statline(edg_wll_JobStat *stat) +{ + fputs("fake write2rgma_statline()\n",stderr); + return NULL; +} + +void write2rgma_status(edg_wll_JobStat *stat) +{ + fputs("fake write2rgma_statline()\n",stderr); +} + +void write2rgma_chgstatus(edg_wll_JobStat *stat, char *prev_statline) +{ + fputs("fake write2rgma_chgstatus()\n",stderr); +}