]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/shared/parse-socket-bind-item.h
tests: reflect that we can now handle devices with very long sysfs paths
[thirdparty/systemd.git] / src / shared / parse-socket-bind-item.h
CommitLineData
8bd095aa
JK
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2
3#pragma once
4
5#include <stdint.h>
6
7int parse_socket_bind_item(
8 const char *str,
9 int *address_family,
10 int *ip_protocol,
11 uint16_t *nr_ports,
12 uint16_t *port_min);