Files @ bbc92828afdd
Branch filter:

Location: DistRen/src/server/Makefile.am

LordOfWar
created function \"change_job_priority\" and \"remove_job\" (this remove_job function recieves a job number and returns structure distrenjob, it was made to assist the change_job_priority function)

I also fixed an error where add_job_to_queue wasn't updating its prev_job pointer, which would of resulted in the loss of jobs between head and where the new job is inserted.
COMMON_SOURCES =  slavefuncs.c slavefuncs.h distrenjob.c distrenjob.h

bin_PROGRAMS = distrend distrenslave
distrend_SOURCES = distrend.c ${COMMON_SOURCES}
distrend_LDADD = @DISTLIBS_LIBS@ @top_builddir@/src/common/libdistrencommon.la
distrend_CFLAGS = @DISTLIBS_CFLAGS@ -I@top_srcdir@/src/common

distrenslave_SOURCES = slave.c ${COMMON_SOURCES}
distrenslave_LDADD = @DISTLIBS_LIBS@ @top_builddir@/src/common/libdistrencommon.la
distrenslave_CFLAGS = @DISTLIBS_CFLAGS@ -I@top_srcdir@/src/common