From 131c29b054d1d04b3fea35fd63e8175991190256 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Fri, 17 Mar 2006 16:26:31 +0000 Subject: [PATCH] build proxy with fake write2rgma --- org.glite.lb.proxy/Makefile | 4 ++-- org.glite.lb.proxy/src/fake_write2rgma.c | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100755 org.glite.lb.proxy/src/fake_write2rgma.c 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); +} -- 1.8.2.3