Handbook
Glossary
parse-resolv.conf-line ( resolv.conf string -- resolv.conf )
Vocabulary
resolv-conf
.
private
Inputs
resolv.conf
an
object
string
an
object
Outputs
resolv.conf
an
object
Definition
USING:
combinators
splitting
;
IN:
resolv-conf.private
:
parse-resolv.conf-line
( resolv.conf string -- resolv.conf )
{
{
[
"nameserver"
?head
]
[
parse-nameserver
]
}
{
[
"domain"
?head
]
[
parse-domain
]
}
{
[
"lookup"
?head
]
[
parse-lookup
]
}
{
[
"search"
?head
]
[
parse-search
]
}
{
[
"sortlist"
?head
]
[
parse-sortlist
]
}
{
[
"options"
?head
]
[
parse-options
]
}
[
unsupported-resolv.conf-line
]
}
cond
;