PostgreSQL Source Code
git master
|
Go to the source code of this file.
Enumerations | |
enum | pg_saslprep_rc { SASLPREP_SUCCESS = 0 , SASLPREP_OOM = -1 , SASLPREP_INVALID_UTF8 = -2 , SASLPREP_PROHIBITED = -3 } |
Functions | |
pg_saslprep_rc | pg_saslprep (const char *input, char **output) |
enum pg_saslprep_rc |
Enumerator | |
---|---|
SASLPREP_SUCCESS | |
SASLPREP_OOM | |
SASLPREP_INVALID_UTF8 | |
SASLPREP_PROHIBITED |
Definition at line 20 of file saslprep.h.
pg_saslprep_rc pg_saslprep | ( | const char * | input, |
char ** | output | ||
) |
Definition at line 1047 of file saslprep.c.
References ALLOC, Assert, buf, commonly_mapped_to_nothing_ranges, FREE, i, input, IS_CODE_IN_TABLE, LCat_codepoint_ranges, MaxAllocSize, non_ascii_space_ranges, output, pg_is_ascii(), pg_utf8_string_len(), pg_utf_mblen, prohibited_output_ranges, RandALCat_codepoint_ranges, SASLPREP_INVALID_UTF8, SASLPREP_OOM, SASLPREP_PROHIBITED, SASLPREP_SUCCESS, STRDUP, unassigned_codepoint_ranges, UNICODE_NFKC, unicode_normalize(), unicode_to_utf8(), and utf8_to_unicode().
Referenced by pg_be_scram_build_secret(), pg_fe_scram_build_secret(), scram_init(), and scram_verify_plain_password().