From: Alan T. DeKok Date: Thu, 23 Feb 2023 17:37:43 +0000 (-0500) Subject: this struct doesn't need to be public X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a68f7638dbeb2c78b42b94af7c2ea448a25f160;p=thirdparty%2Ffreeradius-server.git this struct doesn't need to be public --- diff --git a/src/lib/util/pair.h b/src/lib/util/pair.h index acc978194e7..443f46bbefc 100644 --- a/src/lib/util/pair.h +++ b/src/lib/util/pair.h @@ -102,19 +102,6 @@ struct value_pair_s { }; }; -/** A fr_pair_t in string format. - * - * Used to represent pairs in the legacy 'users' file format. - */ -typedef struct { - char l_opand[256]; //!< Left hand side of the pair. - char r_opand[1024]; //!< Right hand side of the pair. - - fr_token_t quote; //!< Type of quoting around the r_opand. - - fr_token_t op; //!< Operator. -} fr_pair_t_RAW; - #define vp_strvalue data.vb_strvalue #define vp_octets data.vb_octets #define vp_ptr data.datum.ptr //!< Either octets or strvalue diff --git a/src/lib/util/pair_legacy.c b/src/lib/util/pair_legacy.c index 88266a5e8c9..c09ecd19938 100644 --- a/src/lib/util/pair_legacy.c +++ b/src/lib/util/pair_legacy.c @@ -32,6 +32,19 @@ RCSID("$Id$") #include #include +/** A fr_pair_t in string format. + * + * Used to represent pairs in the legacy 'users' file format. + */ +typedef struct { + char l_opand[256]; //!< Left hand side of the pair. + char r_opand[1024]; //!< Right hand side of the pair. + + fr_token_t quote; //!< Type of quoting around the r_opand. + + fr_token_t op; //!< Operator. +} fr_pair_t_RAW; + static fr_sbuff_term_t const bareword_terminals = FR_SBUFF_TERMS(