summaryrefslogtreecommitdiff
path: root/src/shared/parse-socket-bind-item.h
blob: c8cff8d730785deb110555ba96e7529072037dfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#pragma once

#include <stdint.h>

int parse_socket_bind_item(
        const char *str,
        int *address_family,
        int *ip_protocol,
        uint16_t *nr_ports,
        uint16_t *port_min);