diff options
author | Luke Leighton <lkcl@samba.org> | 1997-11-02 20:35:20 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-11-02 20:35:20 +0000 |
commit | b26623bc3a8ff5191763c83564453e77edee836a (patch) | |
tree | f42de0e6b960e98492a2b9127796964fb5aee681 /source3/include | |
parent | 73b47876242071af7077df7089aa28d5e9ca911f (diff) | |
download | samba-b26623bc3a8ff5191763c83564453e77edee836a.tar.gz samba-b26623bc3a8ff5191763c83564453e77edee836a.tar.bz2 samba-b26623bc3a8ff5191763c83564453e77edee836a.zip |
Christian Lademann's contribution: new capabilities in smb.conf.
'<' and '|' characters indicate read file and execute command respectively,
and feed the output into the parameter (!!!).
'<$' and '|$' means run standard_sub_basic() on them.
this is going to be fun to document in smb.conf.5....
also, Christian created a new "online" service parameter. services can
be taken "off-line"....
(This used to be commit 15f44d28916cdc1432bffdbb999c7cf7efd8fb86)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index e4601672e0..d592c94634 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -183,6 +183,8 @@ int interpret_coding_system(char *str, int def); /*The following definitions come from loadparm.c */ +char *chomp(char *s); +char *read_string_external(char *fname); char *lp_string(char *s); char *lp_logfile(void); char *lp_smbrun(void); @@ -329,6 +331,7 @@ BOOL lp_syncalways(int ); BOOL lp_map_system(int ); BOOL lp_delete_readonly(int ); BOOL lp_fake_oplocks(int ); +BOOL lp_online(int ); BOOL lp_recursive_veto_delete(int ); BOOL lp_dos_filetimes(int ); int lp_create_mode(int ); @@ -1271,3 +1274,4 @@ char *align_offset(char *q, char *base, int align_offset_len); void print_asc(int level, unsigned char *buf,int len); void dump_data(int level,char *buf1,int len); char *tab_depth(int depth); +char *string_buffer(int sz); |