diff --git a/src/server/distrenjob.h b/src/server/distrenjob.h --- a/src/server/distrenjob.h +++ b/src/server/distrenjob.h @@ -38,16 +38,15 @@ struct distrenjob short int type; /*< 1:Blender, 2:something else */ char *name; char *submitter; - char *email; /*< This should be looked up based on the value of submitter, not stored in this struct */ jobnum_t jobnum; - int width; /*< width in pixels of the frames to be rendered */ - int height; /*< height in pixels of the frames to be rendered */ - int priority; /*< 1 is lowest, 10 is highest, 0 means the job is done */ - int completed_frames; /*< number of completed frames for stats/etc */ - int assigned_frames; /*< number of assigned frames (that are not yet completed) for stats/etc */ - int total_frames; /*< how many frames are in the animation for stats/etc (unassigned frames) */ - int watchdog_forgiveness; /*< how many seconds till the frame is re-assigned (if client computer crashes etc); */ - short int hibernate; + unsigned int width; /*< width in pixels of the frames to be rendered */ + unsigned int height; /*< height in pixels of the frames to be rendered */ + unsigned int priority; /*< 1 is lowest, 10 is highest, 0 means the job is done */ + unsigned int completed_frames; /*< number of completed frames for stats/etc */ + unsigned int assigned_frames; /*< number of assigned frames (that are not yet completed) for stats/etc */ + unsigned int total_frames; /*< how many frames are in the animation for stats/etc (unassigned frames) */ + unsigned int watchdog_forgiveness; /*< how many seconds 'til the frame is re-assigned (if client computer crashes etc); */ + short int hibernate; /*< @todo DOCUMENT THIS */ int prev_frame_index; /*< the position in the array of the last frame that was assigned */ time_t total_render_time; /*< total seconds of time spent on all the completed frames */ char *output_format; /*< currently is the file extension of the request output format. @todo make this mime-type based/not a string */