Displaying 6 results from an estimated 6 matches for "_available".
Did you mean:
available
2017 Jul 14
0
[PATCH 16/27] daemon: Generate OCaml wrappers for optgroup_*_available functions.
...ot;;
+ pr "#include <caml/mlvalues.h>\n";
pr "\n";
pr "#include \"daemon.h\"\n";
pr "#include \"optgroups.h\"\n";
@@ -999,7 +1003,24 @@ let generate_daemon_optgroups_c () =
pr " { \"%s\", optgroup_%s_available },\n" group group
) optgroups_names_all;
pr " { NULL, NULL }\n";
- pr "};\n"
+ pr "};\n";
+ pr "\n";
+ pr "/* Wrappers so these functions can be called from OCaml code. */\n";
+ List.iter (
+ fun group ->
+ if not (List.m...
2013 Dec 23
0
Re: [PATCH] tests/mountable: skip if btrfs is not available
...uot;/dev/VG/LV", NULL };
> + const char *feature[] = { "btrfs", NULL };
>
> g = guestfs_create ();
> if (g == NULL) {
> @@ -48,6 +49,12 @@ main (int argc, char *argv[])
>
> if (guestfs_launch (g) == -1) goto error;
>
> + if (!guestfs_feature_available (g, (char **) feature)) {
> + printf ("skipping test because btrfs is not available\n");
> + guestfs_close (g);
> + exit (77);
> + }
> +
> if (guestfs_part_disk (g, "/dev/sda", "mbr") == -1) goto error;
>
> if (guestfs_pvcreate...
2016 Mar 02
1
Re: Libguestfs as filesystem forensic tool
On 02/03/16 18:24, Richard W.M. Jones wrote:
> On Wed, Mar 02, 2016 at 05:59:32PM +0200, noxdafox wrote:
>> One of the patches I'm talking about would add TSK (The Sleuth Kit)
>> as a dependency within the appliance.
>>
>> This would bring new APIs such as:
>> 'fls' more powerful 'ls' command allowing to get list of deleted
>> files or
2013 Dec 23
2
[PATCH] tests/mountable: skip if btrfs is not available
...e *mountable;
const char *devices[] = { "/dev/VG/LV", NULL };
+ const char *feature[] = { "btrfs", NULL };
g = guestfs_create ();
if (g == NULL) {
@@ -48,6 +49,12 @@ main (int argc, char *argv[])
if (guestfs_launch (g) == -1) goto error;
+ if (!guestfs_feature_available (g, (char **) feature)) {
+ printf ("skipping test because btrfs is not available\n");
+ guestfs_close (g);
+ exit (77);
+ }
+
if (guestfs_part_disk (g, "/dev/sda", "mbr") == -1) goto error;
if (guestfs_pvcreate (g, "/dev/sda1") == -1) goto...
2015 Oct 10
2
Forcing a sspecific stream type
Hi Steve,
I think you are able to do what you want with liquidsoap.
Regards,
Dennis
Verzonden vanaf mijn Cyanogen-telefoon
Op 11 okt. 2015 12:19 AM schreef Jordan Erickson <jerickson at logicalnetworking.net>:
>
> Hi Steve, Icecast simply passes the stream through unconverted. You'd
> want to employ something that will convert the stream for you before it
> hits
2012 Feb 01
1
[PATCH] Clarify the error message when unavailable functions are called (RHBZ#679737).
...C) 2009 Red Hat Inc.
+ * Copyright (C) 2009-2012 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -99,7 +99,7 @@ do_aug_init (const char *root, int flags)
return 0;
#else
- NOT_AVAILABLE (-1);
+ NOT_AVAILABLE (augeas, -1);
#endif
}
@@ -114,7 +114,7 @@ do_aug_close (void)
return 0;
#else
- NOT_AVAILABLE (-1);
+ NOT_AVAILABLE (augeas, -1);
#endif
}
@@ -133,7 +133,7 @@ do_aug_defvar (const char *name, const char *expr)
}
return r;
#else
- NOT_AVAILABLE (-1);
+...