Rizin
unix-like reverse engineering framework and cli tools
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
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
l
m
o
p
r
s
t
u
v
w
x
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
Enumerations
Enumerator
b
d
e
h
i
k
n
p
r
s
w
Properties
Events
Related Functions
Files
File List
File Members
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
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
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
y
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
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Friends
Macros
Modules
Pages
idna.h
Go to the documentation of this file.
1
/* Copyright (c) 2011, 2018 Ben Noordhuis <info@bnoordhuis.nl>
2
*
3
* Permission to use, copy, modify, and/or distribute this software for any
4
* purpose with or without fee is hereby granted, provided that the above
5
* copyright notice and this permission notice appear in all copies.
6
*
7
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
*/
15
16
#ifndef UV_SRC_IDNA_H_
17
#define UV_SRC_IDNA_H_
18
19
/* Decode a single codepoint. Returns the codepoint or UINT32_MAX on error.
20
* |p| is updated on success _and_ error, i.e., bad multi-byte sequences are
21
* skipped in their entirety, not just the first bad byte.
22
*/
23
unsigned
uv__utf8_decode1
(
const
char
**
p
,
const
char
* pe);
24
25
/* Convert a UTF-8 domain name to IDNA 2008 / Punycode. A return value >= 0
26
* is the number of bytes written to |d|, including the trailing nul byte.
27
* A return value < 0 is a libuv error code. |s| and |d| can not overlap.
28
*/
29
long
uv__idna_toascii
(
const
char
*
s
,
const
char
* se,
char
*
d
,
char
* de);
30
31
#endif
/* UV_SRC_IDNA_H_ */
uv__utf8_decode1
unsigned uv__utf8_decode1(const char **p, const char *pe)
Definition:
idna.c:88
uv__idna_toascii
long uv__idna_toascii(const char *s, const char *se, char *d, char *de)
Definition:
idna.c:250
p
void * p
Definition:
libc.cpp:67
s
static RzSocket * s
Definition:
rtr.c:28
d
#define d(i)
Definition:
sha256.c:44
subprojects
libuv-v1.40.0
src
idna.h
Generated by
1.9.1