Skip to contentSkip to conversation

extensions conversion to C99 structure initialization and MARK target modification

PATCH In review Pablo Neira 2 participants 2 messages Dec 25, 2004 – Dec 29, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 extensions conversion to C99 structure initialization and MARK target modification

Hi,

This patch makes all structures use C99 initization, I needed this to add the versioning stuff. Actually, I've spent one hour on this... but it was too late when I changed my mind and decided to add a single line in every file. I was already possesed by a penguin... hope that it's worth it anyway.

Anyway, the most important thing here is the example of how to extend a target/match to register a new version. Please see libipt_MARK.c

Sorry, it's gzip'ed, too big for the mailling list (65K).

--
Pablo

#1 lore raw
Quoted 4 lines · Pablo Neira

Hi,

This patch makes all structures use C99 initization, I needed this to add the versioning stuff.

Applied all the straight initialization stuff.

Thanks!
Rusty.

Signature · 1 line
A bad analogy is like a leaky screwdriver -- Richard Braakman