mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
r25410: Use C99 struct initialization.
(This used to be commit ad1513bc1bada69a071ae4f477b9952e45622837)
This commit is contained in:
parent
6371962e89
commit
95157091e3
@ -227,39 +227,36 @@ struct loadparm_service
|
||||
|
||||
/* This is a default service used to prime a services structure */
|
||||
static struct loadparm_service sDefault = {
|
||||
NULL, /* szService */
|
||||
NULL, /* szPath */
|
||||
NULL, /* szCopy */
|
||||
NULL, /* szInclude */
|
||||
NULL, /* szPrintername */
|
||||
NULL, /* szHostsallow */
|
||||
NULL, /* szHostsdeny */
|
||||
NULL, /* comment */
|
||||
NULL, /* volume */
|
||||
NULL, /* fstype */
|
||||
NULL, /* ntvfs_handler */
|
||||
1000, /* iMaxPrintJobs */
|
||||
0, /* iMaxConnections */
|
||||
0, /* iCSCPolicy */
|
||||
true, /* bAvailable */
|
||||
true, /* bBrowseable */
|
||||
true, /* bRead_only */
|
||||
false, /* bPrint_ok */
|
||||
false, /* bMap_system */
|
||||
false, /* bMap_hidden */
|
||||
true, /* bMap_archive */
|
||||
true, /* bStrictLocking */
|
||||
0744, /* iCreate_mask */
|
||||
0000, /* iCreate_force_mode */
|
||||
0755, /* iDir_mask */
|
||||
0000, /* iDir_force_mode */
|
||||
NULL, /* copymap */
|
||||
false, /* bMSDfsRoot */
|
||||
false, /* bStrictSync */
|
||||
false, /* bCIFileSystem */
|
||||
NULL, /* Parametric options */
|
||||
|
||||
"" /* dummy */
|
||||
.szService = NULL,
|
||||
.szPath = NULL,
|
||||
.szCopy = NULL,
|
||||
.szInclude = NULL,
|
||||
.szPrintername = NULL,
|
||||
.szHostsallow = NULL,
|
||||
.szHostsdeny = NULL,
|
||||
.comment = NULL,
|
||||
.volume = NULL,
|
||||
.fstype = NULL,
|
||||
.ntvfs_handler = NULL,
|
||||
.iMaxPrintJobs = 1000,
|
||||
.iMaxConnections = 0,
|
||||
.iCSCPolicy = 0,
|
||||
.bAvailable = true,
|
||||
.bBrowseable = true,
|
||||
.bRead_only = true,
|
||||
.bPrint_ok = false,
|
||||
.bMap_system = false,
|
||||
.bMap_hidden = false,
|
||||
.bMap_archive = true,
|
||||
.bStrictLocking = true,
|
||||
.iCreate_mask = 0744,
|
||||
.iCreate_force_mode = 0000,
|
||||
.iDir_mask = 0755,
|
||||
.iDir_force_mode = 0000,
|
||||
.copymap = NULL,
|
||||
.bMSDfsRoot = false,
|
||||
.bStrictSync = false,
|
||||
.bCIFileSystem = false,
|
||||
};
|
||||
|
||||
/* local variables */
|
||||
|
Loading…
x
Reference in New Issue
Block a user