# HG changeset patch # User Binki # Date 2009-07-25 16:54:39 # Node ID 50cc1d5dc91b927def563b83e0be623cea8a0d77 # Parent 3bd3e05fffc81d8f0e3db87d070d1f2d4dc91bb4 added slavefuncs.h sample diff --git a/src/server/Makefile.am b/src/server/Makefile.am --- a/src/server/Makefile.am +++ b/src/server/Makefile.am @@ -1,8 +1,8 @@ bin_PROGRAMS = distrend distrenslave -distrend_SOURCES = distrend.c slavefuncs.c +distrend_SOURCES = distrend.c slavefuncs.c slavefuncs.h distrend_LDADD = @DISTLIBS_LIBS@ @top_builddir@/src/common/libdistrencommon.la distrend_CFLAGS = @DISTLIBS_CFLAGS@ -I@top_srcdir@/src/common -distrenslave_SOURCES = slave.c slavefuncs.c +distrenslave_SOURCES = slave.c slavefuncs.c slavefuncs.h distrenslave_LDADD = @DISTLIBS_LIBS@ @top_builddir@/src/common/libdistrencommon.la distrenslave_CFLAGS = @DISTLIBS_CFLAGS@ -I@top_srcdir@/src/common diff --git a/src/server/slavefuncs.h b/src/server/slavefuncs.h new file mode 100644 --- /dev/null +++ b/src/server/slavefuncs.h @@ -0,0 +1,28 @@ +/* + 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 . +*/ + +#ifndef _DISTREN_SLAVEFUNCS_H +#define _DISTREN_SLAVEFUNCS_H + +void registeruser(char *username, char *email); +void loginuser(char *username); +void exec_blender(struct blendjob* blendjob, char *input, char *output, int frame); + + +#endif