Vanilla.PDF  1.6.0
Cross-platform toolkit for creating and modifying PDF documents
c_license_info.h
Go to the documentation of this file.
1#ifndef _C_LICENSE_INFO_H
2#define _C_LICENSE_INFO_H
3
7
8#ifdef __cplusplus
9extern "C"
10{
11#endif
12
32 VANILLAPDF_API error_type CALLING_CONVENTION LicenseInfo_SetLicenseFile(string_type filename);
33
37 VANILLAPDF_API error_type CALLING_CONVENTION LicenseInfo_SetLicenseBuffer(BufferHandle* data);
38
42 VANILLAPDF_API error_type CALLING_CONVENTION LicenseInfo_IsValid(boolean_type* result);
43
47 VANILLAPDF_API error_type CALLING_CONVENTION LicenseInfo_IsTemporary(boolean_type* result);
48
51#ifdef __cplusplus
52};
53#endif
54
55#endif /* _C_LICENSE_INFO_H */
This file contains macro declarations for importing and exporting symbols from library boundaries.
This file contains all type forward declarations returned by the library API.
This file contains types and constants used as parameters or return values.
Represents memory stored data.
error_type CALLING_CONVENTION LicenseInfo_SetLicenseFile(string_type filename)
Set path to license file.
error_type CALLING_CONVENTION LicenseInfo_SetLicenseBuffer(BufferHandle *data)
Set content of the license file in case it is used as embedded resource.
error_type CALLING_CONVENTION LicenseInfo_IsValid(boolean_type *result)
Determine whether a valid license has been presented.
error_type CALLING_CONVENTION LicenseInfo_IsTemporary(boolean_type *result)
Determine whether the current license is temporary.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31
const char * string_type
C-Style string.
Definition: c_types.h:82