Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support recursive sections #66

Open
nbkolchin opened this issue Apr 24, 2016 · 2 comments
Open

Support recursive sections #66

nbkolchin opened this issue Apr 24, 2016 · 2 comments

Comments

@nbkolchin
Copy link

Is it possible to support recursive sections like:

cfg_opt_t group_opts[] =
{
    CFG_SEC("item", item_opts, CFGF_MULTI|CFGF_TITLE|CFGF_NO_TITLE_DUPES),
    CFG_SEC("group", group_opts, CFGF_MULTI),
    CFG_END()
};
@tibabit
Copy link
Contributor

tibabit commented May 7, 2017

libconfuse does not provide this feature. However you can probably implement it using a new flag, say CFGF_OPTS_SELF

@troglobit
Copy link
Collaborator

Lite @tibabit said, not supported atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants