string.h
int fiftyoneDegreesStringCompare(const char *a, const char *b)
Case insensitively compare two strings.
Used to store a handle to the underlying item that could be used to release the item when it's finish...
Definition: collection.h:309
Format is a pair of floats for latitude and longitude values.
Definition: string.h:84
Type of collection where the collection is streamed from file.
Definition: collection.h:445
char secondValue
If the string is an IP address, this will be the start byte.
Definition: string.h:118
int fiftyoneDegreesStringCompareLength(char const *a, char const *b, size_t length)
Case insensitively compare two strings up to the length requested.
Data structure used for reusing memory which may have been allocated in a previous operation.
Definition: data.h:106
Format is a byte array representation of an IP address.
Definition: string.h:86
char * fiftyoneDegreesStringSubString(const char *a, const char *b)
Case insensitively searching a first occurence of a substring.
Struture that represents 51Degrees implementation, which encapsulate an array of 4 bytes.
Definition: float.h:122
fiftyoneDegreesStringFormat
Enumeration to indicate what format is held in a string item These are the values that can be held at...
Definition: string.h:83
Structure used to represent a 51Degrees exception and passed into methods that might generate excepti...
Definition: exceptions.h:116
fiftyoneDegreesString * fiftyoneDegreesStringGet(fiftyoneDegreesCollection *strings, uint32_t offset, fiftyoneDegreesCollectionItem *item, fiftyoneDegreesException *exception)
Gets the string at the required offset from the collection provided.
All the shared methods and fields required by file, memory and cached collections.
Definition: collection.h:408
void * fiftyoneDegreesStringRead(const fiftyoneDegreesCollectionFile *file, uint32_t offset, fiftyoneDegreesData *data, fiftyoneDegreesException *exception)
Reads a string from the source file at the offset within the string structure.