diff --git a/src/common/protocol.h b/src/common/protocol.h --- a/src/common/protocol.h +++ b/src/common/protocol.h @@ -63,9 +63,20 @@ enum distren_request_type server->server */ DISTREN_REQUEST_RENDERFRAME = 8, - DISTREN_REQUEST_DONEFRAME = 9, + DISTREN_REQUEST_DONEFRAME = 9, /* server should check to make sure the +slave is repoting on a frame it's actually assigned to */ DISTREN_REQUEST_PROGRESS = 10, /*< tells another server of the progress of the first server's work at rendering */ DISTREN_REQUEST_GETWORK = 11, + DISTREN_REQUEST_GETVERSION = 12, /* returns version of software that slave +should be running */ + DISTREN_REQUEST_GETRENDERPOWER = 13, /* returns the render power of a +slave */ + DISTREN_REQUEST_SETRENDERPOWER = 14, /* sets renderpower in server +database */ + DISTREN_REQUEST_RESETFRAME = 15, /* sets a frame back to unassigned, +happens if the slave quits for some reason. server code should only allow +resetting of a frame assigned to the slave calling the request (see php +code)*/ };