Top | ![]() |
![]() |
![]() |
![]() |
#define | IDNAPI |
#define | STRINGPREP_VERSION |
enum | Stringprep_rc |
enum | Stringprep_profile_flags |
enum | Stringprep_profile_steps |
#define | STRINGPREP_MAX_MAP_CHARS |
# define STRINGPREP_VERSION "1.33"
String defined via CPP denoting the header file version number.
Used together with stringprep_check_version()
to verify header file
and run-time library consistency.
Enumerated return codes of stringprep()
, stringprep_profile()
functions (and macros using those functions). The value 0 is
guaranteed to always correspond to success.
Successful operation. This value is guaranteed to always be zero, the remaining ones are only guaranteed to hold non-zero values, for logical comparison purposes. |
||
String contain unassigned Unicode code points, which is forbidden by the profile. |
||
String contain code points prohibited by the profile. |
||
String contain code points with conflicting bidirection category. |
||
Leading and trailing character in string not of proper bidirectional category. |
||
Contains prohibited code points detected by bidirectional code. |
||
Buffer handed to function was too small. This usually indicate a problem in the calling application. |
||
The stringprep profile was inconsistent. This usually indicate an internal error in the library. |
||
The supplied flag conflicted with profile. This usually indicate a problem in the calling application. |
||
The supplied profile name was not known to the library. |
||
Could not convert string in locale encoding. |
||
The Unicode NFKC operation failed. This usually indicate an internal error in the library. |
||
The |
Stringprep profile flags.
Disable the NFKC normalization, as well as selecting the non-NFKC case folding tables. Usually the profile specifies BIDI and NFKC settings, and applications should not override it unless in special situations. |
||
Disable the BIDI step. Usually the profile specifies BIDI and NFKC settings, and applications should not override it unless in special situations. |
||
Make the library return with an error if string contains unassigned characters according to profile. |
Various steps in the stringprep algorithm. You really want to study the source code to understand this one. Only useful if you want to add another profile.