Files
@ 73e1c0d6e315
Branch filter:
Location: DistRen/src/server/slavefuncs.h - annotation
73e1c0d6e315
1.4 KiB
text/plain
-fixed a minor error in finish_frame() where the amount of assigned frames was increased 1 instead of decreased 1.
-mortition() now decreases general_info.jobs_in_queue by one if the job is done and it calls distrenjob_remove() to remove the job from the linked list database.
-frame_finder() now increases the amount of assigned_frames by 1 if a frame to render is found
-distrenjob_remove() now decreases the amount of general_info.jobs_in_queue by 1
-prepare_distrenjob() now initializes assigned_frames and completed_frames at 0
-mortition() now decreases general_info.jobs_in_queue by one if the job is done and it calls distrenjob_remove() to remove the job from the linked list database.
-frame_finder() now increases the amount of assigned_frames by 1 if a frame to render is found
-distrenjob_remove() now decreases the amount of general_info.jobs_in_queue by 1
-prepare_distrenjob() now initializes assigned_frames and completed_frames at 0
50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b 50cc1d5dc91b c27e5bb830d1 12f4253fa8db c27e5bb830d1 c27e5bb830d1 3f32d146be96 50cc1d5dc91b c27e5bb830d1 1b885b7c9c3e b236a45982d4 c567abe6076a c567abe6076a c567abe6076a 8feb0005e773 5b11cfeabe1c 5b11cfeabe1c 45bbc99ffe99 fc875724cf6f c27e5bb830d1 c27e5bb830d1 50cc1d5dc91b 50cc1d5dc91b | /*
Copyright 2009 Nathan Phillip Brink, Ethan Zonca, Matthew Orlando
This file is a part of DistRen.
DistRen is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
DistRen is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with DistRen. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _DISTREN_SLAVEFUNCS_H
#define _DISTREN_SLAVEFUNCS_H
#include "distrenjob.h"
#include <libxml/xpath.h>
#include <stdio.h>
xmlNodePtr xml_quickxpath(xmlXPathContextPtr xpathctxt, xmlChar *path);
void tell_the_server(char *stuff);
int delete_jobdata(int jobnum, char *datadir);
size_t curl_writetodisk(void *ptr, size_t size, size_t nmemb, FILE *stream);
int curlget(char *url, char *out);
int curlpost(char *filename, char *url);
int ssh_keygen();
int register_user(char *username, char *email);
int login_user(char *username);
int conf_replace(char *username);
void exec_blender(struct distrenjob* distrenjob, char *input, char *output, int frame, int threads);
void xmlinit();
void xmlcleanup();
#endif
|