This makes Request object takes hash, compare, free, and process functions. With this change, the logic in networkd-queue.c can be mostly independent of the type of the request or the object (e.g. Address) assigned to the request, and it becomes simpler.
14 lines
328 B
C
14 lines
328 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include "conf-parser.h"
|
|
|
|
typedef struct Link Link;
|
|
typedef struct Network Network;
|
|
|
|
void network_adjust_ipv6_proxy_ndp(Network *network);
|
|
|
|
int link_request_static_ipv6_proxy_ndp_addresses(Link *link);
|
|
|
|
CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_proxy_ndp_address);
|