diff --git a/src/common/libremoteio.h b/src/common/libremoteio.h --- a/src/common/libremoteio.h +++ b/src/common/libremoteio.h @@ -26,7 +26,24 @@ private declarations for remoteio, to be included by options.c and remoteio.c */ -struct remoteio_opts { +enum remoteio_method + { + REMOTEIO_METHOD_SSH, + /* REMOTEIO_METHOD_TCP */ /*< someday, maybe */ + /* REMOETIO_METHOD_XMLRPC */ /*< again, maybe someday */ + }; + +struct remoteio_server +{ + struct remoteio_server *next; + char *name; + char *username; + enum remoteio_method method; + unsigned int types; /*< See ``Server types'' in protocol.h */ +}; + +struct remoteio_opts +{ char *ssh_command; }; diff --git a/src/common/protocol.h b/src/common/protocol.h --- a/src/common/protocol.h +++ b/src/common/protocol.h @@ -18,6 +18,13 @@ */ /** + Server types: + */ +#define DISTREN_SERVERTYPE_SUBMIT (0x1) +#define DISTREN_SERVERTYPE_DISTRIBUTE (0x2) +#define DISTREN_SERVERTYPE_RENDER (0x4) + +/** This file defines the constants and structs that the client uses to talk to the server and that the servers use to talk to eachother. */