]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include: add functions to implement --hyperlink
authorKarel Zak <kzak@redhat.com>
Thu, 28 Nov 2024 12:39:10 +0000 (13:39 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 28 Nov 2024 12:39:10 +0000 (13:39 +0100)
commit28453bcca770f897a6c36706148e105fb7e476ca
tree47414d791b36756c65c3c425d1654a4460d798c6
parentc267c3ef882843f1465d9809f09914d0ccf09314
include: add functions to implement --hyperlink

* add xgethosturi() to allocate file://hostname
* add hyperlinkwanted_or_err() to parse --hyperlink={never,always,auto}

Signed-off-by: Karel Zak <kzak@redhat.com>
include/strutils.h
include/xalloc.h
lib/strutils.c