Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
18cad449
Commit
18cad449
authored
Sep 03, 2005
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a per-module "temp dir" setting.
parent
d17c9a44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
loadparm.c
loadparm.c
+4
-0
No files found.
loadparm.c
View file @
18cad449
...
...
@@ -137,6 +137,7 @@ typedef struct
char
*
prexfer_exec
;
char
*
refuse_options
;
char
*
secrets_file
;
char
*
temp_dir
;
char
*
uid
;
int
max_connections
;
...
...
@@ -176,6 +177,7 @@ static service sDefault =
/* prexfer_exec */
NULL
,
/* refuse options */
NULL
,
/* secrets file */
NULL
,
/* temp_dir */
NULL
,
/* uid */
NOBODY_USER
,
/* max connections */
0
,
...
...
@@ -308,6 +310,7 @@ static struct parm_struct parm_table[] =
{
"refuse options"
,
P_STRING
,
P_LOCAL
,
&
sDefault
.
refuse_options
,
NULL
,
0
},
{
"secrets file"
,
P_STRING
,
P_LOCAL
,
&
sDefault
.
secrets_file
,
NULL
,
0
},
{
"strict modes"
,
P_BOOL
,
P_LOCAL
,
&
sDefault
.
strict_modes
,
NULL
,
0
},
{
"temp dir"
,
P_PATH
,
P_LOCAL
,
&
sDefault
.
temp_dir
,
NULL
,
0
},
{
"timeout"
,
P_INTEGER
,
P_LOCAL
,
&
sDefault
.
timeout
,
NULL
,
0
},
{
"transfer logging"
,
P_BOOL
,
P_LOCAL
,
&
sDefault
.
transfer_logging
,
NULL
,
0
},
{
"uid"
,
P_STRING
,
P_LOCAL
,
&
sDefault
.
uid
,
NULL
,
0
},
...
...
@@ -388,6 +391,7 @@ FN_LOCAL_STRING(lp_postxfer_exec, postxfer_exec)
FN_LOCAL_STRING
(
lp_prexfer_exec
,
prexfer_exec
)
FN_LOCAL_STRING
(
lp_refuse_options
,
refuse_options
)
FN_LOCAL_STRING
(
lp_secrets_file
,
secrets_file
)
FN_LOCAL_STRING
(
lp_temp_dir
,
temp_dir
)
FN_LOCAL_STRING
(
lp_uid
,
uid
)
FN_LOCAL_INTEGER
(
lp_max_connections
,
max_connections
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment