mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
Export virPipeReadUntilEOF internally
used to read the data from virExec stdout/err file descriptors * src/util/util.c src/util/util.h: not static anymore and export it * src/libvirt_private.syms: allow access internally
This commit is contained in:
parent
e455b221be
commit
b3bff9546b
@ -633,6 +633,7 @@ virFilePid;
|
||||
virFileReadPid;
|
||||
virFileLinkPointsTo;
|
||||
virParseNumber;
|
||||
virPipeReadUntilEOF;
|
||||
virAsprintf;
|
||||
virRun;
|
||||
virSkipSpaces;
|
||||
|
@ -786,7 +786,7 @@ int virExecDaemonize(const char *const*argv,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
virPipeReadUntilEOF(int outfd, int errfd,
|
||||
char **outbuf, char **errbuf) {
|
||||
|
||||
|
@ -81,6 +81,8 @@ int virRun(const char *const*argv, int *status) ATTRIBUTE_RETURN_CHECK;
|
||||
int virRunWithHook(const char *const*argv,
|
||||
virExecHook hook, void *data,
|
||||
int *status) ATTRIBUTE_RETURN_CHECK;
|
||||
int virPipeReadUntilEOF(int outfd, int errfd,
|
||||
char **outbuf, char **errbuf);
|
||||
int virFork(pid_t *pid);
|
||||
|
||||
int virFileReadLimFD(int fd, int maxlen, char **buf) ATTRIBUTE_RETURN_CHECK;
|
||||
|
Loading…
Reference in New Issue
Block a user