build proxy with fake write2rgma
authorAleš Křenek <ljocha@ics.muni.cz>
Fri, 17 Mar 2006 16:26:31 +0000 (16:26 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Fri, 17 Mar 2006 16:26:31 +0000 (16:26 +0000)
org.glite.lb.proxy/Makefile
org.glite.lb.proxy/src/fake_write2rgma.c [new file with mode: 0755]

index f16d700..e1bc0ff 100644 (file)
@@ -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 (executable)
index 0000000..f49a5a8
--- /dev/null
@@ -0,0 +1,23 @@
+#ident "$Header$"
+
+#include <stdio.h>
+
+#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);
+}