*
* @copyright 2019 The FreeRADIUS server project
*/
+#include <freeradius-devel/util/value.h>
+
#include "attrs.h"
#include "types.h"
typedef struct dict_attr_s fr_dict_attr_t;
typedef struct fr_dict fr_dict_t;
-#include <freeradius-devel/util/value.h>
+typedef struct value_box_s fr_value_box_t;
/*
* Allow public and private versions of the same structures
#include <freeradius-devel/util/dict_priv.h>
#include <freeradius-devel/util/dlist.h>
#include <freeradius-devel/util/talloc.h>
+#include <freeradius-devel/util/value.h>
typedef struct {
TALLOC_CTX *pool; //!< Temporary pool for fixups, reduces holes
#include <freeradius-devel/util/dict_ext_priv.h>
#include <freeradius-devel/util/dl.h>
#include <freeradius-devel/util/hash.h>
+#include <freeradius-devel/util/value.h>
#define DICT_POOL_SIZE (1024 * 1024 * 2)
#define DICT_FIXUP_POOL_SIZE (1024)
RCSIDH(dict_test_h, "$Id$")
#include <freeradius-devel/util/dict.h>
+#include <freeradius-devel/util/value.h>
#ifdef __cplusplus
extern "C" {
{
/* coverity[store_writes_const_field] */
memcpy((void *) vb, &(fr_value_box_t){
- .type = type,
+ .type = type,
.enumv = enumv,
- .tainted = tainted
+ .tainted = tainted,
+ .secret = enumv && enumv->flags.secret,
}, sizeof(*vb));
fr_value_box_list_entry_init(vb);