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; };