aboutsummaryrefslogtreecommitdiff
path: root/vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WebDav/mod.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
committerValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
commit1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch)
tree7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WebDav/mod.rs
parent5ecd8cf2cba827454317368b68571df0d13d7842 (diff)
downloadfparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz
fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WebDav/mod.rs')
-rw-r--r--vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WebDav/mod.rs88
1 files changed, 88 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WebDav/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WebDav/mod.rs
new file mode 100644
index 0000000..c35dfcf
--- /dev/null
+++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/NetworkManagement/WebDav/mod.rs
@@ -0,0 +1,88 @@
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavAddConnection ( connectionhandle : *mut super::super::Foundation:: HANDLE , remotename : :: windows_sys::core::PCWSTR , username : :: windows_sys::core::PCWSTR , password : :: windows_sys::core::PCWSTR , clientcert : *const u8 , certsize : u32 ) -> u32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavCancelConnectionsToServer ( lpname : :: windows_sys::core::PCWSTR , fforce : super::super::Foundation:: BOOL ) -> u32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavDeleteConnection ( connectionhandle : super::super::Foundation:: HANDLE ) -> u32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavFlushFile ( hfile : super::super::Foundation:: HANDLE ) -> u32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavGetExtendedError ( hfile : super::super::Foundation:: HANDLE , exterror : *mut u32 , exterrorstring : :: windows_sys::core::PWSTR , cchsize : *mut u32 ) -> u32 );
+::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavGetHTTPFromUNCPath ( uncpath : :: windows_sys::core::PCWSTR , url : :: windows_sys::core::PWSTR , lpsize : *mut u32 ) -> u32 );
+::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavGetTheLockOwnerOfTheFile ( filename : :: windows_sys::core::PCWSTR , lockownername : :: windows_sys::core::PWSTR , lockownernamelengthinbytes : *mut u32 ) -> u32 );
+::windows_sys::core::link ! ( "netapi32.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavGetUNCFromHTTPPath ( url : :: windows_sys::core::PCWSTR , uncpath : :: windows_sys::core::PWSTR , lpsize : *mut u32 ) -> u32 );
+::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavInvalidateCache ( urlname : :: windows_sys::core::PCWSTR ) -> u32 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"] fn DavRegisterAuthCallback ( callback : PFNDAVAUTHCALLBACK , version : u32 ) -> u32 );
+::windows_sys::core::link ! ( "davclnt.dll""system" #[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"] fn DavUnregisterAuthCallback ( hcallback : u32 ) -> ( ) );
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const DAV_AUTHN_SCHEME_BASIC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const DAV_AUTHN_SCHEME_CERT: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const DAV_AUTHN_SCHEME_DIGEST: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const DAV_AUTHN_SCHEME_FBA: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const DAV_AUTHN_SCHEME_NEGOTIATE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const DAV_AUTHN_SCHEME_NTLM: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const DAV_AUTHN_SCHEME_PASSPORT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub type AUTHNEXTSTEP = i32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const DefaultBehavior: AUTHNEXTSTEP = 0i32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const RetryRequest: AUTHNEXTSTEP = 1i32;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub const CancelRequest: AUTHNEXTSTEP = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub struct DAV_CALLBACK_AUTH_BLOB {
+ pub pBuffer: *mut ::core::ffi::c_void,
+ pub ulSize: u32,
+ pub ulType: u32,
+}
+impl ::core::marker::Copy for DAV_CALLBACK_AUTH_BLOB {}
+impl ::core::clone::Clone for DAV_CALLBACK_AUTH_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub struct DAV_CALLBACK_AUTH_UNP {
+ pub pszUserName: ::windows_sys::core::PWSTR,
+ pub ulUserNameLength: u32,
+ pub pszPassword: ::windows_sys::core::PWSTR,
+ pub ulPasswordLength: u32,
+}
+impl ::core::marker::Copy for DAV_CALLBACK_AUTH_UNP {}
+impl ::core::clone::Clone for DAV_CALLBACK_AUTH_UNP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DAV_CALLBACK_CRED {
+ pub AuthBlob: DAV_CALLBACK_AUTH_BLOB,
+ pub UNPBlob: DAV_CALLBACK_AUTH_UNP,
+ pub bAuthBlobValid: super::super::Foundation::BOOL,
+ pub bSave: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DAV_CALLBACK_CRED {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DAV_CALLBACK_CRED {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNDAVAUTHCALLBACK = ::core::option::Option<unsafe extern "system" fn(lpwzservername: ::windows_sys::core::PCWSTR, lpwzremotename: ::windows_sys::core::PCWSTR, dwauthscheme: u32, dwflags: u32, pcallbackcred: *mut DAV_CALLBACK_CRED, nextstep: *mut AUTHNEXTSTEP, pfreecred: *mut PFNDAVAUTHCALLBACK_FREECRED) -> u32>;
+#[doc = "*Required features: `\"Win32_NetworkManagement_WebDav\"`*"]
+pub type PFNDAVAUTHCALLBACK_FREECRED = ::core::option::Option<unsafe extern "system" fn(pbuffer: *const ::core::ffi::c_void) -> u32>;