PostgreSQL Source Code
git master
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
f
h
i
n
o
p
r
s
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
saslprep.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* saslprep.h
4
* SASLprep normalization, for SCRAM authentication
5
*
6
* These definitions are used by both frontend and backend code.
7
*
8
* Copyright (c) 2017-2024, PostgreSQL Global Development Group
9
*
10
* src/include/common/saslprep.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
#ifndef SASLPREP_H
15
#define SASLPREP_H
16
17
/*
18
* Return codes for pg_saslprep() function.
19
*/
20
typedef
enum
21
{
22
SASLPREP_SUCCESS
= 0,
23
SASLPREP_OOM
= -1,
/* out of memory (only in frontend) */
24
SASLPREP_INVALID_UTF8
= -2,
/* input is not a valid UTF-8 string */
25
SASLPREP_PROHIBITED
= -3,
/* output would contain prohibited characters */
26
}
pg_saslprep_rc
;
27
28
extern
pg_saslprep_rc
pg_saslprep
(
const
char
*
input
,
char
**
output
);
29
30
#endif
/* SASLPREP_H */
input
FILE * input
output
FILE * output
Definition:
pg_test_timing.c:182
pg_saslprep
pg_saslprep_rc pg_saslprep(const char *input, char **output)
Definition:
saslprep.c:1047
pg_saslprep_rc
pg_saslprep_rc
Definition:
saslprep.h:21
SASLPREP_INVALID_UTF8
@ SASLPREP_INVALID_UTF8
Definition:
saslprep.h:24
SASLPREP_PROHIBITED
@ SASLPREP_PROHIBITED
Definition:
saslprep.h:25
SASLPREP_OOM
@ SASLPREP_OOM
Definition:
saslprep.h:23
SASLPREP_SUCCESS
@ SASLPREP_SUCCESS
Definition:
saslprep.h:22
src
include
common
saslprep.h
Generated on Wed Nov 27 2024 06:13:26 for PostgreSQL Source Code by
1.9.1