Displaying 6 results from an estimated 6 matches for "str_compress".
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
.../sys", sysroot_sys, NULL);
sys_ok = r != -1;
CHROOT_IN;
diff --git a/daemon/compress.c b/daemon/compress.c
index b9967d9..3dc398e 100644
--- a/daemon/compress.c
+++ b/daemon/compress.c
@@ -27,6 +27,12 @@
#include "daemon.h"
#include "actions.h"
+GUESTFSD_EXT_CMD(str_compress, compress);
+GUESTFSD_EXT_CMD(str_gzip, gzip);
+GUESTFSD_EXT_CMD(str_bzip2, bzip2);
+GUESTFSD_EXT_CMD(str_xz, xz);
+GUESTFSD_EXT_CMD(str_lzop, lzop);
+
/* Has one FileOut parameter. */
static int
do_compressX_out (const char *file, const char *filter, int is_device)
@@ -118,15 +124,15 @@ get_fil...
2012 Aug 30
1
[PATCH] collect list of called external commands
...;/sys", sysroot_sys, NULL);
sys_ok = r != -1;
CHROOT_IN;
diff --git a/daemon/compress.c b/daemon/compress.c
index b9967d9..118f00d 100644
--- a/daemon/compress.c
+++ b/daemon/compress.c
@@ -27,6 +27,12 @@
#include "daemon.h"
#include "actions.h"
+GUESTFS_EXT_CMD(str_compress, compress);
+GUESTFS_EXT_CMD(str_gzip, gzip);
+GUESTFS_EXT_CMD(str_bzip2, bzip2);
+GUESTFS_EXT_CMD(str_xz, xz);
+GUESTFS_EXT_CMD(str_lzop, lzop);
+
/* Has one FileOut parameter. */
static int
do_compressX_out (const char *file, const char *filter, int is_device)
@@ -118,15 +124,15 @@ get_filter...
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
...) {
reply_with_error ("%s", err);
return -1;
diff --git a/daemon/compress.c b/daemon/compress.c
index 36f4e66f7..75eaae0c7 100644
--- a/daemon/compress.c
+++ b/daemon/compress.c
@@ -27,12 +27,6 @@
#include "daemon.h"
#include "actions.h"
-GUESTFSD_EXT_CMD(str_compress, compress);
-GUESTFSD_EXT_CMD(str_gzip, gzip);
-GUESTFSD_EXT_CMD(str_bzip2, bzip2);
-GUESTFSD_EXT_CMD(str_xz, xz);
-GUESTFSD_EXT_CMD(str_lzop, lzop);
-
/* Has one FileOut parameter. */
static int
do_compressX_out (const char *file, const char *filter, int is_device)
@@ -126,15 +120,15 @@ get_fil...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...) {
reply_with_error ("%s", err);
return -1;
diff --git a/daemon/compress.c b/daemon/compress.c
index 36f4e66f7..ca8678965 100644
--- a/daemon/compress.c
+++ b/daemon/compress.c
@@ -27,11 +27,7 @@
#include "daemon.h"
#include "actions.h"
-GUESTFSD_EXT_CMD(str_compress, compress);
-GUESTFSD_EXT_CMD(str_gzip, gzip);
-GUESTFSD_EXT_CMD(str_bzip2, bzip2);
-GUESTFSD_EXT_CMD(str_xz, xz);
-GUESTFSD_EXT_CMD(str_lzop, lzop);
+DECLARE_EXTERNAL_COMMANDS ("compress", "gzip", "bzip2", "xz", "lzop")
/* Has one FileOut parame...
2017 Jul 27
3
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
This is a simpler patch that removes GUESTFSD_EXT_CMD completely.
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option
‘./guestfsd --print-external-commands’