diff --git a/src/common/remoteio.c b/src/common/execio.c
copy from src/common/remoteio.c
copy to src/common/execio.c
--- a/src/common/remoteio.c
+++ b/src/common/execio.c
@@ -17,7 +17,7 @@
along with DistRen. If not, see .
*/
-#include "remoteio.h"
+#include "execio.h"
#include
#include
@@ -26,7 +26,7 @@
#include
#include
-int remoteio_open(const char *spec, struct remoteio **rem)
+int execio_open(const char *progname, struct execio **rem)
{
/* pipe used to write to child */
int pipe_write[2];
@@ -66,8 +66,8 @@ int remoteio_open(const char *spec, stru
close(pipe_write[0]);
close(pipe_read[1]);
- /* setup remoteio struct */
- (*rem) = malloc(sizeof(struct remoteio));
+ /* setup execio struct */
+ (*rem) = malloc(sizeof(struct execio));
if(!(*rem))
{
/* we should tell the child we're dead - use wait and close our end of the pipes! */
@@ -123,20 +123,20 @@ int remoteio_open(const char *spec, stru
}
-size_t remoteio_read(struct remoteio *rem, void *buf, size_t len)
+size_t execio_read(struct execio *eio, void *buf, size_t len)
{
return 0;
}
-size_t remoteio_write(struct remoteio *rem, void *buf, size_t len)
+size_t execio_write(struct execio *eio, void *buf, size_t len)
{
return 0;
}
-int remoteio_close(struct remoteio *rem)
+int execio_close(struct execio *eio)
{
return 0;