diff --git a/src/server/blendjob.h b/src/server/distrenjob.h copy from src/server/blendjob.h copy to src/server/distrenjob.h --- a/src/server/blendjob.h +++ b/src/server/distrenjob.h @@ -22,7 +22,7 @@ #define _DISTREN_BLENDJOB_H /** - This file stores the blendjob and frameset structs and prototypes for some functions to manipulate/use these. + This file stores the distrenjob and frameset structs and prototypes for some functions to manipulate/use these. */ #include /* clock_t, time_t */ @@ -32,8 +32,8 @@ typedef unsigned int jobnum_t; /** Stores Blender Job Info */ -struct blendjob { - struct blendjob *next; /*< next will be NULL unless if there is another blendjob */ +struct distrenjob { + struct distrenjob *next; /*< next will be NULL unless if there is another distrenjob */ char *name; char *submitter; char *email; /*< This should be looked up based on the value of submitter, not stored in this struct */ @@ -70,16 +70,16 @@ related functions @param distrenjob the address where we will store the pointer of a malloc()ed distrenjob struct. - @param pathtoxml filename/pathname of the xml file to be read into a blendjob struct + @param pathtoxml filename/pathname of the xml file to be read into a distrenjob struct */ -int xml2distrenjob(struct blendjob **distrenjob, char *pathtoxml); +int xml2distrenjob(struct distrenjob **distrenjob, char *pathtoxml); /** support function for xml2distrenjob() to help cleaning up a - struct blendjob when it is incompletely initialized. + struct distrenjob when it is incompletely initialized. Also acts as a general-purpose struct distrenjob free()er ;-) */ -void distrenjob_free(struct blendjob **distrenjob); +void distrenjob_free(struct distrenjob **distrenjob); /** initializes an empty, pointless struct distrenjob. This @@ -87,6 +87,6 @@ void distrenjob_free(struct blendjob **d but there are no errors to have yet (except for nomem). This sets all char* to NULL. */ -int distrenjob_new(struct blendjob **distrenjob); +int distrenjob_new(struct distrenjob **distrenjob); #endif