]> git.ipfire.org Git - thirdparty/systemd.git/commit
socket-label: move prototype of socket_address_listen() and string table for SocketAd...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 20 Nov 2025 00:39:32 +0000 (09:39 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 20 Nov 2025 00:58:53 +0000 (09:58 +0900)
commitcb4b36928a3bae9abe614260f1bd1ef7ab7ff30d
tree4c8d01a972368fbb6436550b83caf7f35a38b66a
parent3f91ffe0fe900660a8c073ec54b3951e33b5c74c
socket-label: move prototype of socket_address_listen() and string table for SocketAddressBindIPv6Only

The function socket_address_listen() is declared at shared/socket-label.c,
however its prototype was in basic/socket-util.h. This moves the
prototype to shared/socket-label.h.

Also, enum SocketAddressBindIPv6Only is not used anymore in basic/*.[ch].
Let's move the definition and its string table to shared/socket-label.[ch].

Follow-up for b25a930f0e2ebe77bc8b0f0acfac8a3b27ef1f0a.
src/basic/socket-util.c
src/basic/socket-util.h
src/core/socket.h
src/shared/socket-label.c
src/shared/socket-label.h [new file with mode: 0644]
src/shared/socket-netlink.c
src/test/test-tables.c