pub type OrthancPluginJobGetSerialized = Option<unsafe extern "C" fn(job: *mut c_void) -> *const c_char>;
Expand description
@brief Callback to serialize one custom job.
Signature of a callback function that returns a serialized version of the job, formatted as a JSON object. This serialization is stored in the Orthanc database, and is used to reload the job on the restart of Orthanc. The “unserialization” callback (with OrthancPluginJobsUnserializer signature) will receive this serialized object.
@param job The job of interest. @return The serialized job, as a JSON object encoded as a string. @see OrthancPluginRegisterJobsUnserializer() @ingroup Toolbox
Aliased Type§
pub enum OrthancPluginJobGetSerialized {
None,
Some(unsafe extern "C" fn(*mut c_void) -> *const i8),
}