mirror of https://github.com/BOINC/boinc.git
functions of result stucture handling
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@658 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
30396cfbbb
commit
60997dd7e6
|
@ -24,7 +24,8 @@ noinst_HEADERS = condor_common.h \
|
||||||
condor_wu.h \
|
condor_wu.h \
|
||||||
condor_file.h \
|
condor_file.h \
|
||||||
condor_log.h \
|
condor_log.h \
|
||||||
condor_utils.h
|
condor_utils.h \
|
||||||
|
condor_result.h
|
||||||
|
|
||||||
libdc_condor_la_SOURCES = condor_master.c \
|
libdc_condor_la_SOURCES = condor_master.c \
|
||||||
condor_common.c \
|
condor_common.c \
|
||||||
|
@ -33,7 +34,8 @@ libdc_condor_la_SOURCES = condor_master.c \
|
||||||
condor_managewu.c \
|
condor_managewu.c \
|
||||||
condor_log.cc \
|
condor_log.cc \
|
||||||
condor_file.c \
|
condor_file.c \
|
||||||
condor_utils.c
|
condor_utils.c \
|
||||||
|
condor_result.c
|
||||||
|
|
||||||
libdc_condor_la_LIBADD = ../common/libdc-common-master.la \
|
libdc_condor_la_LIBADD = ../common/libdc-common-master.la \
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
/* Local variables: */
|
||||||
|
/* c-file-style: "linux" */
|
||||||
|
/* End: */
|
||||||
|
|
||||||
|
#include "condor_result.h"
|
||||||
|
|
||||||
|
|
||||||
|
DC_Result *
|
||||||
|
_DC_create_result(DC_Workunit *wu)
|
||||||
|
{
|
||||||
|
DC_Result *r;
|
||||||
|
|
||||||
|
r= g_new0(DC_Result, 1);
|
||||||
|
r->wu= wu;
|
||||||
|
return(r);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* End of condor_result.c */
|
|
@ -0,0 +1,24 @@
|
||||||
|
/* Local variables: */
|
||||||
|
/* c-file-style: "linux" */
|
||||||
|
/* End: */
|
||||||
|
|
||||||
|
#ifndef _DC_API_CONDOR_RESULT_H_
|
||||||
|
#define _DC_API_CONDOR_RESULT_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "condor_defs.h"
|
||||||
|
|
||||||
|
|
||||||
|
extern DC_Result *_DC_create_result(DC_Workunit *wu);
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* End of condor/condor_result.h */
|
Loading…
Reference in New Issue