Displaying 5 results from an estimated 5 matches for "a516cc0f".
2020 Aug 18
2
Re: [PATCH nbdkit 1/9] server: Add libnbdkit.so.
...> +
> +int
> +main (int argc, char *argv[])
> +{
> + /* This does nothing except call into the real main function in
> + * libnbdkit.so.
> + */
> + return nbdkit_main (argc, argv);
> +}
> diff --git a/server/nbdkit.syms b/server/nbdkit.syms
> index a67669b7..a516cc0f 100644
> --- a/server/nbdkit.syms
> +++ b/server/nbdkit.syms
> @@ -54,6 +54,7 @@
> nbdkit_extents_new;
> nbdkit_get_extent;
> nbdkit_is_tls;
> + nbdkit_main;
Do we want to export it as _nbdkit_main, to make it obvious that plugins
shouldn't try callin...
2020 Aug 18
0
Re: [PATCH nbdkit 1/9] server: Add libnbdkit.so.
...nt argc, char *argv[])
> >+{
> >+ /* This does nothing except call into the real main function in
> >+ * libnbdkit.so.
> >+ */
> >+ return nbdkit_main (argc, argv);
> >+}
> >diff --git a/server/nbdkit.syms b/server/nbdkit.syms
> >index a67669b7..a516cc0f 100644
> >--- a/server/nbdkit.syms
> >+++ b/server/nbdkit.syms
> >@@ -54,6 +54,7 @@
> > nbdkit_extents_new;
> > nbdkit_get_extent;
> > nbdkit_is_tls;
> >+ nbdkit_main;
>
> Do we want to export it as _nbdkit_main, to make it obvious...
2020 Aug 18
0
[PATCH nbdkit 1/9] server: Add libnbdkit.so.
...>
+
+extern int nbdkit_main (int argc, char *argv[]);
+
+int
+main (int argc, char *argv[])
+{
+ /* This does nothing except call into the real main function in
+ * libnbdkit.so.
+ */
+ return nbdkit_main (argc, argv);
+}
diff --git a/server/nbdkit.syms b/server/nbdkit.syms
index a67669b7..a516cc0f 100644
--- a/server/nbdkit.syms
+++ b/server/nbdkit.syms
@@ -54,6 +54,7 @@
nbdkit_extents_new;
nbdkit_get_extent;
nbdkit_is_tls;
+ nbdkit_main;
nbdkit_nanosleep;
nbdkit_parse_bool;
nbdkit_parse_int8_t;
diff --git a/tests/test-nbdkit-backend-debug.sh b/tests/test-nbd...
2020 Aug 15
3
[PATCH EXPERIMENTAL nbdkit 0/2] Port to Windows using mingw.
The patches following do indeed allow you to compile nbdkit.exe, but
it does not actually work yet. I'm posting this experimental series
more as a work in progress and to get feedback.
Note this does not require Windows itself to build or test. You can
cross-compile it using mingw64-* packages on Fedora or Debian, and
test it [spoiler alert: it fails] using Wine.
Rich.
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here:
https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw
This is the port to Windows using native Windows APIs (not MSYS or
Cygwin).
This patch series is at the point where it basically now works. I can
run the server with the memory plugin, and access it remotely using
guestfish, creating filesystems and so on without any apparent
problems.
Nevertheless there are many