Type Alias OrthancPluginWebDavAddFolder

Source
pub type OrthancPluginWebDavAddFolder = Option<unsafe extern "C" fn(collection: *mut OrthancPluginWebDavCollection, name: *const c_char, dateTime: *const c_char) -> OrthancPluginErrorCode>;
Expand description

@brief Declare a subfolder while returning the content of a folder.

This function declares a subfolder while returning the content of a WebDAV folder.

@param collection Context of the collection. @param name Base name of the subfolder. @param dateTime The date and time of creation of the subfolder. Check out the documentation of OrthancPluginWebDavRetrieveFile() for more information. @return 0 if success, other value if error. @ingroup Callbacks

Aliased Type§

pub enum OrthancPluginWebDavAddFolder {
    None,
    Some(unsafe extern "C" fn(*mut _OrthancPluginWebDavCollection_t, *const i8, *const i8) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _OrthancPluginWebDavCollection_t, *const i8, *const i8) -> i32)

Some value of type T.