◆ allInMemory
| bool fiftyoneDegreesConfigBase::allInMemory |
True if the data file should be loaded entirely into continuous memory.
- Examples
- Hash/Performance.c.
\r\n
51Degrees Device Detection C/C++
4.4
Base configuration structure containing common configuration options, and options that apply to structures and methods in the common library.
| bool | allInMemory
True if the data file should be loaded entirely into continuous memory. More...
|
| bool | usesUpperPrefixedHeaders
True if the HTTP header field names MIGHT include the prefix HTTP_.
|
| bool | freeData
True if the memory containing the data set should be freed after it is no longer needed. More...
|
| bool | useTempFile
Indicates whether a temporary file should be created instead of using the original file. More...
|
| bool | reuseTempFile
Indicates that an existing temp file may be used. More...
|
| const char ** | tempDirs
Array of temp directories which can be used in order of preference. More...
|
| int | tempDirCount
Number of directories in the tempDirs array. More...
|
| bool fiftyoneDegreesConfigBase::allInMemory |
True if the data file should be loaded entirely into continuous memory.
| bool fiftyoneDegreesConfigBase::freeData |
True if the memory containing the data set should be freed after it is no longer needed.
This only applies to externally allocated memory, anything allocated internally is automatically freed.
| bool fiftyoneDegreesConfigBase::reuseTempFile |
Indicates that an existing temp file may be used.
This should be selected if multiple instances wish to use the same file to prevent high disk usage.
| int fiftyoneDegreesConfigBase::tempDirCount |
Number of directories in the tempDirs array.
| const char** fiftyoneDegreesConfigBase::tempDirs |
Array of temp directories which can be used in order of preference.
| bool fiftyoneDegreesConfigBase::useTempFile |
Indicates whether a temporary file should be created instead of using the original file.