|
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) |
| Enumerator | |
|---|---|
| SASLPREP_SUCCESS | |
| SASLPREP_OOM | |
| SASLPREP_INVALID_UTF8 | |
| SASLPREP_PROHIBITED | |
Definition at line 20 of file saslprep.h.
|
extern |
Definition at line 1047 of file saslprep.c.
References ALLOC, Assert, buf, commonly_mapped_to_nothing_ranges, fb(), FREE, i, input, IS_CODE_IN_TABLE, LCat_codepoint_ranges, MaxAllocSize, non_ascii_space_ranges, output, pg_utf8_string_len(), pg_utf_mblen, prohibited_output_ranges, RandALCat_codepoint_ranges, result, SASLPREP_INVALID_UTF8, SASLPREP_OOM, SASLPREP_PROHIBITED, SASLPREP_SUCCESS, 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(), scram_verify_plain_password(), test_saslprep(), and test_saslprep_ranges().