pub struct CloudApi { /* private fields */ }Expand description
Raw C ABI for GeoKernel.Cloud. Loaded modules remain resident until process exit.
Implementations§
Source§impl CloudApi
impl CloudApi
pub const SYMBOLS: &'static [&'static str]
Sourcepub unsafe fn load(path: &Path) -> Result<Self, LoadError>
pub unsafe fn load(path: &Path) -> Result<Self, LoadError>
Load a trusted, ABI-compatible GeoKernel runtime module.
§Safety
Library initializers must be safe and every symbol must match this SDK ABI.
Sourcepub unsafe fn GeoKernelCloud_CacheStatisticsJson(
&self,
a0: *mut c_void,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelCloud_CacheStatisticsJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelCloud_CacheStatisticsJson(void* client, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_ClearCache(&self, a0: *mut c_void) -> i32
pub unsafe fn GeoKernelCloud_ClearCache(&self, a0: *mut c_void) -> i32
Native declaration: int GeoKernelCloud_ClearCache(void* client).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_CogGdalVirtualPath(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *mut WChar,
a3: i32,
) -> i32
pub unsafe fn GeoKernelCloud_CogGdalVirtualPath( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32
Native declaration: int GeoKernelCloud_CogGdalVirtualPath(void* client, const wchar_t* url, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_CogProbeJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *const WChar,
a3: *mut WChar,
a4: i32,
) -> i32
pub unsafe fn GeoKernelCloud_CogProbeJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32
Native declaration: int GeoKernelCloud_CogProbeJson(void* client, const wchar_t* url, const wchar_t* headersJson, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_CreateClient(
&self,
a0: *const WChar,
) -> *mut c_void
pub unsafe fn GeoKernelCloud_CreateClient( &self, a0: *const WChar, ) -> *mut c_void
Native declaration: void* GeoKernelCloud_CreateClient(const wchar_t* optionsJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_DestroyClient(&self, a0: *mut c_void)
pub unsafe fn GeoKernelCloud_DestroyClient(&self, a0: *mut c_void)
Native declaration: void GeoKernelCloud_DestroyClient(void* client).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_GeoParquetGdalVirtualPath(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *mut WChar,
a3: i32,
) -> i32
pub unsafe fn GeoKernelCloud_GeoParquetGdalVirtualPath( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32
Native declaration: int GeoKernelCloud_GeoParquetGdalVirtualPath(void* client, const wchar_t* url, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_GeoParquetProbeJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *const WChar,
a3: *mut WChar,
a4: i32,
) -> i32
pub unsafe fn GeoKernelCloud_GeoParquetProbeJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32
Native declaration: int GeoKernelCloud_GeoParquetProbeJson(void* client, const wchar_t* url, const wchar_t* headersJson, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_LastError(&self, a0: *mut WChar, a1: i32) -> i32
pub unsafe fn GeoKernelCloud_LastError(&self, a0: *mut WChar, a1: i32) -> i32
Native declaration: int GeoKernelCloud_LastError(wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_PmTilesGdalVirtualPath(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *mut WChar,
a3: i32,
) -> i32
pub unsafe fn GeoKernelCloud_PmTilesGdalVirtualPath( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32
Native declaration: int GeoKernelCloud_PmTilesGdalVirtualPath(void* client, const wchar_t* url, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_PmTilesInspectJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *const WChar,
a3: *mut WChar,
a4: i32,
) -> i32
pub unsafe fn GeoKernelCloud_PmTilesInspectJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32
Native declaration: int GeoKernelCloud_PmTilesInspectJson(void* client, const wchar_t* source, const wchar_t* headersJson, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_PmTilesProbeJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *const WChar,
a3: *mut WChar,
a4: i32,
) -> i32
pub unsafe fn GeoKernelCloud_PmTilesProbeJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32
Native declaration: int GeoKernelCloud_PmTilesProbeJson(void* client, const wchar_t* url, const wchar_t* headersJson, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_SetHeadersJson(
&self,
a0: *mut c_void,
a1: *const WChar,
) -> i32
pub unsafe fn GeoKernelCloud_SetHeadersJson( &self, a0: *mut c_void, a1: *const WChar, ) -> i32
Native declaration: int GeoKernelCloud_SetHeadersJson(void* client, const wchar_t* headersJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_SetTimeout(&self, a0: *mut c_void, a1: i32) -> i32
pub unsafe fn GeoKernelCloud_SetTimeout(&self, a0: *mut c_void, a1: i32) -> i32
Native declaration: int GeoKernelCloud_SetTimeout(void* client, int timeoutMilliseconds).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_StacResolveCogLayerJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *const WChar,
a3: *const WChar,
a4: i32,
a5: *mut WChar,
a6: i32,
) -> i32
pub unsafe fn GeoKernelCloud_StacResolveCogLayerJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *const WChar, a4: i32, a5: *mut WChar, a6: i32, ) -> i32
Native declaration: int GeoKernelCloud_StacResolveCogLayerJson(void* client, const wchar_t* catalogUrl, const wchar_t* requestJson, const wchar_t* assetKey, int itemIndex, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelCloud_StacSearchJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *const WChar,
a3: *mut WChar,
a4: i32,
) -> i32
pub unsafe fn GeoKernelCloud_StacSearchJson( &self, a0: *mut c_void, a1: *const WChar, a2: *const WChar, a3: *mut WChar, a4: i32, ) -> i32
Native declaration: int GeoKernelCloud_StacSearchJson(void* client, const wchar_t* catalogUrl, const wchar_t* requestJson, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.