Details
enum Pr29_rc
typedef enum
{
PR29_SUCCESS = 0,
PR29_PROBLEM = 1, /* String is a problem sequence. */
PR29_STRINGPREP_ERROR = 2 /* Charset conversion failed (p29_8*). */
} Pr29_rc;
Enumerated return codes for pr29_4()
, pr29_4z()
, pr29_8z()
. The
value 0 is guaranteed to always correspond to success.
PR29_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.
|
PR29_PROBLEM
|
A problem sequence was encountered.
|
PR29_STRINGPREP_ERROR
|
The character set conversion failed (only
for pr29_8() and pr29_8z() ).
|
pr29_strerror ()
const char * pr29_strerror (Pr29_rc rc
);
pr29_4 ()
int pr29_4 (const uint32_t *in
,
size_t len
);
pr29_4z ()
int pr29_4z (const uint32_t *in
);
pr29_8z ()
int pr29_8z (const char *in
);