From 73dfd5e1431c507395d5c35df42327b233347974 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 19 Mar 2025 16:34:26 +0100 Subject: [PATCH] [server,proxy] avoid _ in struct names --- server/proxy/pf_channel.c | 2 +- server/proxy/pf_channel.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/proxy/pf_channel.c b/server/proxy/pf_channel.c index 23473d502..fbb2a9cb2 100644 --- a/server/proxy/pf_channel.c +++ b/server/proxy/pf_channel.c @@ -27,7 +27,7 @@ #define TAG PROXY_TAG("channel") /** @brief a tracker for channel packets */ -struct _ChannelStateTracker +struct sChannelStateTracker { pServerStaticChannelContext* channel; ChannelTrackerMode mode; diff --git a/server/proxy/pf_channel.h b/server/proxy/pf_channel.h index 7414b61fc..1f0b35613 100644 --- a/server/proxy/pf_channel.h +++ b/server/proxy/pf_channel.h @@ -29,7 +29,7 @@ typedef enum CHANNEL_TRACKER_DROP /*!< drop all the fragments of the current packet */ } ChannelTrackerMode; -typedef struct _ChannelStateTracker ChannelStateTracker; +typedef struct sChannelStateTracker ChannelStateTracker; typedef PfChannelResult (*ChannelTrackerPeekFn)(ChannelStateTracker* tracker, BOOL first, BOOL lastPacket);