summary refs log tree commit diff stats
path: root/man/uri_unset.3
blob: 801e8e9ea863ecc63bd2e0f03d126dac2238841b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.Dd Jan 18, 2021
.Dt YURI 3
.Sh NAME
.Nm uri_unset_scheme ,
.Nm uri_unset_authority ,
.Nm uri_unset_authority_type ,
.Nm uri_unset_authority_user ,
.Nm uri_unset_authority_host ,
.Nm uri_unset_authority_port ,
.Nm uri_unset_path ,
.Nm uri_unset_query ,
.Nm uri_unset_fragment
.Nd URI object manipulation functions
.Sh SYNOPSIS
.In yuri.h
.Ft void
.Fn uri_unset_scheme "struct uri *u"
.Ft void
.Fn uri_unset_authority "struct uri *u"
.Ft void
.Fn uri_unset_authority_type "struct uri *u"
.Ft void
.Fn uri_unset_authority_user "struct uri *u"
.Ft void
.Fn uri_unset_authority_host "struct uri *u"
.Ft void
.Fn uri_unset_authority_port "struct uri *u"
.Ft void
.Fn uri_unset_path "struct uri *u"
.Ft void
.Fn uri_unset_query "struct uri *u"
.Ft void
.Fn uri_unset_fragment "struct uri *u"
.Sh DESCRIPTION
.Fn uri_unset_scheme
unsets scheme component of URI object pointed to by
.Em u .
.Pp
.Fn uri_unset_authority
unsets authority component of URI object pointed to by
.Em u .
.Pp
.Fn uri_unset_authority_type ,
.Fn uri_unset_authority_user ,
.Fn uri_unset_authority_host
and
.Fn uri_unset_authority_port
unset corresponding individual subcomponents of authority component of URI object pointed to by
.Em u .
.Pp
.Fn uri_unset_path
unsets path component of URI object pointed to by
.Em u .
.Pp
.Fn uri_unset_query
unsets query component of URI object pointed to by
.Em u .
.Pp
.Fn uri_unset_fragment
unsets fragment component of URI object pointed to by
.Em u .
.Sh SEE ALSO
.Xr uri 3 ,
.Xr uri_set 3 ,
.Xr uri_get 3
.Sh AUTHORS
.An Ali Fardan Aq Mt raiz@stellarbound.space