Xiqual 0.9.1

In file include/xistr.h:

typedef struct strtoken

The token structure.

[more]char* s
A copy of the original string.
[more]size_t len
The length of the string memory.
[more]char* d
The delimiter string
[more]size_t dlen
Length of the delimiter string.
[more]List tokens
The individual tokens or words.



Documentation

The token structure.
ochar* s
A copy of the original string. There will be "holes" where the delimiters were, so use the tokens list to access.

osize_t len
The length of the string memory. Used internally, but might be useful to users.

ochar* d
The delimiter string

osize_t dlen
Length of the delimiter string. Maybe not the most useful element.

oList tokens
The individual tokens or words. The size element in the list will contain the number of tokens. Each token is a plain Node structure with its data pointer being a pointer to a string (the token).
See Also:
strtokenise(), List

Alphabetic index



This page was generated with the help of DOC++.