Changeset - 3fcf567f92be
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 16 years ago 2009-05-23 21:24:29
ohnobinki@ohnopublishing.net
added distren_job_retrieve_file
2 files changed with 9 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/client/distren.c
Show inline comments
 
@@ -128,7 +128,9 @@ int main(int argc, char *argv[])
 
  
 
  distren_job_getid(distren_job, &jobid);
 
  fprintf(stdout, "jobid: %s\n", jobid);
 
  
 

	
 
  distren_job_retrieve_file(distren_job, output);
 

	
 
  distren_job_free(distren_job);
 
  
 
  distren_free(distren);
src/client/distren.h
Show inline comments
 
@@ -60,6 +60,12 @@ int distren_submit_file(distren_t handle
 
*/
 
int distren_job_getid(distren_job_t job, char **jobid);
 

	
 
/**
 
   Retrieves a tarball of a rendering's result.
 
   @param outfile Filename to save the result to
 
 */
 
int distren_job_retrieve_file(distren_job_t job, const char *outfile);
 

	
 
/*
 
 TODO: extraction of a job-ID, retrieving job handle by job-ID, getting information
 
 for a job handle, retrieving results of a job, callbacks for progress (i.e., job_is_finished callback)
0 comments (0 inline, 0 general)