lib/param: Merge "EventLog Options" section from source3/param
authorAndrew Bartlett <abartlet@samba.org>
Thu, 26 Jul 2012 05:54:25 +0000 (15:54 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 26 Jul 2012 10:23:20 +0000 (12:23 +0200)
This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

lib/param/loadparm.c

index 1afd04a574a06606428e1d1899b2041b06a23bd5..138666cd5cc2d68ebb9c5ada41044f62d211949f 100644 (file)
@@ -968,7 +968,17 @@ static struct parm_struct parm_table[] = {
                .enum_list      = NULL
        },
 
+       {N_("EventLog Options"), P_SEP, P_SEPARATOR},
 
+       {
+               .label          = "eventlog list",
+               .type           = P_LIST,
+               .p_class        = P_GLOBAL,
+               .offset         = GLOBAL_VAR(szEventLogs),
+               .special        = NULL,
+               .enum_list      = NULL,
+               .flags          = FLAG_ADVANCED | FLAG_GLOBAL | FLAG_SHARE,
+       },
 
        {N_("Miscellaneous Options"), P_SEP, P_SEPARATOR},