diff --git a/src/common/libremoteio.h b/src/common/libremoteio.h --- a/src/common/libremoteio.h +++ b/src/common/libremoteio.h @@ -50,6 +50,12 @@ struct remoteio_opts struct remoteio_server *servers; }; +struct remoteio { + enum remoteio_method method; + struct execio *execio; +}; + + int remoteio_config(cfg_t *cfg, struct remoteio_opts *opts); #endif diff --git a/src/common/remoteio.h b/src/common/remoteio.h --- a/src/common/remoteio.h +++ b/src/common/remoteio.h @@ -27,10 +27,7 @@ */ struct remoteio_opts; - -struct remoteio { - struct execio *execio; -}; +struct remoteio; /** Opens connection with remote distrend. Returns 1 on error.