]> git.ipfire.org Git - thirdparty/systemd.git/commit
hostname-util: add new helper split_user_at_host()
authorLennart Poettering <lennart@poettering.net>
Thu, 5 Jun 2025 09:17:22 +0000 (11:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 5 Jun 2025 10:44:08 +0000 (12:44 +0200)
commit4295c0db5fe29bf4afb4e520d5e4ad71de811c99
treeceecca03a5d05bf56b201540d954d6e54b9c305b
parent770489c1e08557f432b58dcfc82a3f57f9fedd6c
hostname-util: add new helper split_user_at_host()

Let's introduce a common helper for splitting user@host specifications
like we use them for --machine=.
src/basic/hostname-util.c
src/basic/hostname-util.h
src/test/test-hostname-util.c