Changeset - 2ae4e48cbbf3
[Not reviewed]
default
0 1 0
Nick & Matt's laptop - 17 years ago 2009-02-20 14:09:46

added some code to the server, mainly brainstorming...

- declared a "blender_job_server" structure
- declared a "blender_job_client" structure
- created a "blender_text_job_parser" function (draft)
- created a "blender_job_que" function (draft)
1 file changed with 41 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -39,3 +39,44 @@ int main(int argc, char *argv[])
 

	
 
  return 0;
 
}
 

	
 
struct blender_job_server // will be stored and edited in the blender_job_que
 
{
 
	char file_name[25];
 
	int start_frame;
 
	int end_frame;
 
};
 

	
 
struct blender_job_client // will be sent to the client
 
{
 
	char file_name[25];
 
	int current_frame;
 
};
 

	
 
blender_text_job_parser()
 
{
 
// parse text or other file for job specifications which include:
 
// file_name, start_frame, and end_frame
 

	
 
}
 

	
 
blendere_job_que(int x, char job_to_edit[25])
 
{
 
	struct blender_job_server job[10]; // creates array to store the job
 

	
 
	if (x == 0)
 
	{
 
		// add new job (job_to_edit)
 
	}
 

	
 
	if (x == 1)
 
	{
 
		// delete job (job_to_edit)
 
	}
 

	
 
	if (x == 1)
 
	{
 
		// move all jobs up one position in array
 
	}
 
}
 

	
0 comments (0 inline, 0 general)