Displaying 2 results from an estimated 2 matches for "curlproto_smbs".
Did you mean:
  curlproto_smb
  
2019 Sep 20
2
[nbdkit PATCH] curl: Compile with libcurl even without smb(s) protocols
...tatic struct { const char *name; long bitmask; } curl_protocols[] = {
   { "rtmps", CURLPROTO_RTMPS },
   { "rtmpts", CURLPROTO_RTMPTS },
   { "gopher", CURLPROTO_GOPHER },
+#ifdef CURLPROTO_SMB
   { "smb", CURLPROTO_SMB },
+#endif /* CURLPROTO_SMB */
+#ifdef CURLPROTO_SMBS
   { "smbs", CURLPROTO_SMBS },
+#endif /* CURLPROTO_SMBS */
   { NULL }
 };
 
-- 
2.23.0
2019 Sep 20
0
Re: [nbdkit PATCH] curl: Compile with libcurl even without smb(s) protocols
...ng bitmask; } curl_protocols[] = {
>    { "rtmps", CURLPROTO_RTMPS },
>    { "rtmpts", CURLPROTO_RTMPTS },
>    { "gopher", CURLPROTO_GOPHER },
> +#ifdef CURLPROTO_SMB
>    { "smb", CURLPROTO_SMB },
> +#endif /* CURLPROTO_SMB */
> +#ifdef CURLPROTO_SMBS
>    { "smbs", CURLPROTO_SMBS },
> +#endif /* CURLPROTO_SMBS */
>    { NULL }
>  };
I may be missing something but don't we have this already?
https://github.com/libguestfs/nbdkit/commit/9e58e32c08859c34d695073dcaea683705353d10
Rich.
-- 
Richard Jones, Virtualization G...