Vanilla.PDF  1.4.1
Cross-platform toolkit for creating and modifying PDF documents
c_values.h
Go to the documentation of this file.
1 #ifndef _C_VALUES_H
2 #define _C_VALUES_H
3 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_types.h"
6 
12 #ifdef __cplusplus
13 extern "C"
14 {
15 #endif
16 
30  VANILLAPDF_API extern const boolean_type VANILLAPDF_RV_FALSE;
31 
38  VANILLAPDF_API extern const boolean_type VANILLAPDF_RV_TRUE;
39  /* group_boolean_types */
41 
47  // global error states
48 
53  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_SUCCESS;
54 
59  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_PARAMETER_VALUE;
60 
65  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_NOT_SUPPORTED;
66 
71  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_USER_CANCELLED;
72 
77  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_ZLIB_DATA;
78 
83  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_INVALID_LICENSE;
84 
89  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_LICENSE_REQUIRED;
90 
97  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_GENERAL;
98 
99  // syntax errors
100 
105  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_CONVERSION;
106 
111  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_FILE_DISPOSED;
112 
119  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_FILE_NOT_INITIALIZED;
120 
128  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_OBJECT_MISSING;
129 
136  VANILLAPDF_API extern const error_type VANILLAPDF_ERROR_INVALID_PASSWORD;
137 
138  // semantic errors
139  /* group_error_types */
141 
142 #ifdef __cplusplus
143 };
144 #endif
145 
146 #endif /* _C_VALUES_H */
This file contains type definitions.
const error_type VANILLAPDF_ERROR_LICENSE_REQUIRED
Error accessing licensed feature without a valid license file.
const boolean_type VANILLAPDF_RV_FALSE
Represents the boolean false value.
const error_type VANILLAPDF_ERROR_USER_CANCELLED
Operation was cancelled by user.
const error_type VANILLAPDF_ERROR_INVALID_LICENSE
Presented license file is not valid.
const error_type VANILLAPDF_ERROR_CONVERSION
An invalid object type was passed to function.
const error_type VANILLAPDF_ERROR_SUCCESS
Indicates that the operation completed successfully.
const boolean_type VANILLAPDF_RV_TRUE
Represents the boolean true value.
const error_type VANILLAPDF_ERROR_FILE_DISPOSED
The source file was already disposed.
const error_type VANILLAPDF_ERROR_PARAMETER_VALUE
An invalid parameter value to function call was passed.
const error_type VANILLAPDF_ERROR_GENERAL
An unknown error has occurred.
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...
const error_type VANILLAPDF_ERROR_FILE_NOT_INITIALIZED
The source file was not yet initialized.
const error_type VANILLAPDF_ERROR_INVALID_PASSWORD
Invalid protection password or key.
const error_type VANILLAPDF_ERROR_ZLIB_DATA
Error in compressed data.
const error_type VANILLAPDF_ERROR_OBJECT_MISSING
A dependent object was not found.
const error_type VANILLAPDF_ERROR_NOT_SUPPORTED
Operation is currently not supported.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31