\
static
void __vnet_dhcp6_reply_event_function_init_##
f (
void) \
__attribute__((__constructor__)) ; \
\
static
void __vnet_dhcp6_reply_event_function_init_##
f (
void) \
{ \
static _vnet_dhcp6_reply_event_function_list_elt_t init_function; \
init_function.next_dhcp6_reply_event_function =
nm->functions; \
nm->functions = &init_function; \
init_function.fp = (
void *) &
f; \
} \
\
static
void __vnet_dhcp6_reply_event_function_deinit_##
f (
void) \
__attribute__((__destructor__)) ; \
\
static
void __vnet_dhcp6_reply_event_function_deinit_##
f (
void) \
{ \
_vnet_dhcp6_reply_event_function_list_elt_t *
next; \
if (
nm->functions->fp == (
void *) &
f) \
{ \
nm->functions = \
nm->functions->next_dhcp6_reply_event_function; \
return; \
} \
while (
next->next_dhcp6_reply_event_function) \
{ \
if (
next->next_dhcp6_reply_event_function->fp == (
void *) &
f) \
{ \
next->next_dhcp6_reply_event_function = \
next->next_dhcp6_reply_event_function->next_dhcp6_reply_event_function; \
return; \
} \
next =
next->next_dhcp6_reply_event_function; \
} \
}