Uri.h | Uri.h | |||
---|---|---|---|---|
skipping to change at line 144 | skipping to change at line 144 | |||
typedef struct URI_TYPE(UriStruct) { | typedef struct URI_TYPE(UriStruct) { | |||
URI_TYPE(TextRange) scheme; /**< Scheme (e.g. "http") */ | URI_TYPE(TextRange) scheme; /**< Scheme (e.g. "http") */ | |||
URI_TYPE(TextRange) userInfo; /**< User info (e.g. "user:pass") */ | URI_TYPE(TextRange) userInfo; /**< User info (e.g. "user:pass") */ | |||
URI_TYPE(TextRange) hostText; /**< Host text (set for all hosts, exc luding square brackets) */ | URI_TYPE(TextRange) hostText; /**< Host text (set for all hosts, exc luding square brackets) */ | |||
URI_TYPE(HostData) hostData; /**< Structured host type specific data */ | URI_TYPE(HostData) hostData; /**< Structured host type specific data */ | |||
URI_TYPE(TextRange) portText; /**< Port (e.g. "80") */ | URI_TYPE(TextRange) portText; /**< Port (e.g. "80") */ | |||
URI_TYPE(PathSegment) * pathHead; /**< Head of a linked list of path segments */ | URI_TYPE(PathSegment) * pathHead; /**< Head of a linked list of path segments */ | |||
URI_TYPE(PathSegment) * pathTail; /**< Tail of the list behind pathH ead */ | URI_TYPE(PathSegment) * pathTail; /**< Tail of the list behind pathH ead */ | |||
URI_TYPE(TextRange) query; /**< Query without leading "?" */ | URI_TYPE(TextRange) query; /**< Query without leading "?" */ | |||
URI_TYPE(TextRange) fragment; /**< Query without leading "#" */ | URI_TYPE(TextRange) fragment; /**< Query without leading "#" */ | |||
UriBool absolutePath; /**< Absolute path flag, meaningless if %URI i s absolute */ | UriBool absolutePath; /**< Absolute path flag, distincting "a" and " /a" */ | |||
UriBool owner; /**< Memory owner flag */ | UriBool owner; /**< Memory owner flag */ | |||
void * reserved; /**< Reserved to the parser */ | void * reserved; /**< Reserved to the parser */ | |||
} URI_TYPE(Uri); /**< @copydoc UriUriStructA */ | } URI_TYPE(Uri); /**< @copydoc UriUriStructA */ | |||
/** | /** | |||
* Represents a state of the %URI parser. | * Represents a state of the %URI parser. | |||
* Missing components can be NULL to reflect | * Missing components can be NULL to reflect | |||
* a components absence. | * a components absence. | |||
* | * | |||
skipping to change at line 660 | skipping to change at line 660 | |||
* @see uriComposeQueryExA | * @see uriComposeQueryExA | |||
* @see uriFreeQueryListA | * @see uriFreeQueryListA | |||
* @since 0.7.0 | * @since 0.7.0 | |||
*/ | */ | |||
int URI_FUNC(DissectQueryMallocEx)(URI_TYPE(QueryList) ** dest, int * itemC ount, | int URI_FUNC(DissectQueryMallocEx)(URI_TYPE(QueryList) ** dest, int * itemC ount, | |||
const URI_CHAR * first, const URI_CHAR * afterLast, | const URI_CHAR * first, const URI_CHAR * afterLast, | |||
UriBool plusToSpace, UriBreakConversion breakConversion); | UriBool plusToSpace, UriBreakConversion breakConversion); | |||
/** | /** | |||
* Frees all memory associated with the given query list. | * Frees all memory associated with the given query list. | |||
* The the structure itself is freed as well. | * The structure itself is freed as well. | |||
* | * | |||
* @param queryList <b>INOUT</b>: Query list to free | * @param queryList <b>INOUT</b>: Query list to free | |||
* | * | |||
* @since 0.7.0 | * @since 0.7.0 | |||
*/ | */ | |||
void URI_FUNC(FreeQueryList)(URI_TYPE(QueryList) * queryList); | void URI_FUNC(FreeQueryList)(URI_TYPE(QueryList) * queryList); | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
UriBase.h | UriBase.h | |||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
#ifndef URI_BASE_H | #ifndef URI_BASE_H | |||
#define URI_BASE_H 1 | #define URI_BASE_H 1 | |||
/* Version helper macro */ | /* Version helper macro */ | |||
#define URI_ANSI_TO_UNICODE(x) L##x | #define URI_ANSI_TO_UNICODE(x) L##x | |||
/* Version */ | /* Version */ | |||
#define URI_VER_MAJOR 0 | #define URI_VER_MAJOR 0 | |||
#define URI_VER_MINOR 7 | #define URI_VER_MINOR 7 | |||
#define URI_VER_RELEASE 0 | #define URI_VER_RELEASE 1 | |||
#define URI_VER_SUFFIX_ANSI "" | #define URI_VER_SUFFIX_ANSI "" | |||
#define URI_VER_SUFFIX_UNICODE URI_ANSI_TO_UNICODE(URI_VER_SUFFIX_ANSI) | #define URI_VER_SUFFIX_UNICODE URI_ANSI_TO_UNICODE(URI_VER_SUFFIX_ANSI) | |||
/* More version helper macros */ | /* More version helper macros */ | |||
#define URI_INT_TO_ANSI_HELPER(x) #x | #define URI_INT_TO_ANSI_HELPER(x) #x | |||
#define URI_INT_TO_ANSI(x) URI_INT_TO_ANSI_HELPER(x) | #define URI_INT_TO_ANSI(x) URI_INT_TO_ANSI_HELPER(x) | |||
#define URI_INT_TO_UNICODE_HELPER(x) URI_ANSI_TO_UNICODE(#x) | #define URI_INT_TO_UNICODE_HELPER(x) URI_ANSI_TO_UNICODE(#x) | |||
#define URI_INT_TO_UNICODE(x) URI_INT_TO_UNICODE_HELPER(x) | #define URI_INT_TO_UNICODE(x) URI_INT_TO_UNICODE_HELPER(x) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||