* @param _f field in instance data struct.
* @param _sub CONF_PARSER array to use to parse subsection data.
*/
-# define FR_CONF_SUBSECTION_MULTI(_n, _t, _s, _f, _sub) \
+# define FR_CONF_SUBSECTION_ALLOC(_n, _t, _s, _f, _sub) \
.name = _n, \
.type = (_t), \
.offset = FR_CONF_TYPE_CHECK((_t), &(((_s *)NULL)->_f), offsetof(_s, _f)), \
* @param _f field in instance data struct.
* @param _sub CONF_PARSER array to use to parse subsection data.
*/
-# define FR_CONF_SUBSECTION_MULTI(_n, _t, _s, _f, _sub) \
+# define FR_CONF_SUBSECTION_ALLOC(_n, _t, _s, _f, _sub) \
.name = _n, \
.type = _t, \
.offset = offsetof(_s, _f), \
/*
* Areas of the DIT to listen on
*/
- { FR_CONF_SUBSECTION_MULTI("sync", FR_TYPE_SUBSECTION | FR_TYPE_MULTI | FR_TYPE_REQUIRED, proto_ldap_inst_t, sync_config, ldap_sync_search_config) },
+ { FR_CONF_SUBSECTION_ALLOC("sync", FR_TYPE_SUBSECTION | FR_TYPE_MULTI | FR_TYPE_REQUIRED, proto_ldap_inst_t, sync_config, ldap_sync_search_config) },
/*
* Extra configuration items