Vanilla.PDF  1.3.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 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "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 */
error_type LicenseInfo_SetLicenseFile(string_type filename)
Set path to license file.
This file contains all type forward declarations returned by the library API.
const char * string_type
C-Style string.
Definition: c_types.h:82
error_type LicenseInfo_SetLicenseBuffer(BufferHandle *data)
Set content of the license file in case it is used as embedded resource.
error_type 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
This file contains macro declarations for importing and exporting symbols from library boundaries...
error_type LicenseInfo_IsValid(boolean_type *result)
Determine whether a valid license has been presented.
This file contains types and constants used as parameters or return values.
Represents memory stored data.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31