]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
this struct doesn't need to be public
authorAlan T. DeKok <aland@freeradius.org>
Thu, 23 Feb 2023 17:37:43 +0000 (12:37 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 23 Feb 2023 17:37:43 +0000 (12:37 -0500)
src/lib/util/pair.h
src/lib/util/pair_legacy.c

index acc978194e78c4797fe5965eefefb581b7f0e108..443f46bbefc912c906378cc95887352967cc5fbe 100644 (file)
@@ -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
index 88266a5e8c92136058a5cdaa7b36b192c8cd10d3..c09ecd199384440c817f506ee297981e8a8171ca 100644 (file)
@@ -32,6 +32,19 @@ RCSID("$Id$")
 #include <freeradius-devel/protocol/radius/rfc2865.h>
 #include <freeradius-devel/protocol/freeradius/freeradius.internal.h>
 
+/** 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(