summaryrefslogtreecommitdiff
path: root/source3/utils/smbw_sample.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-28s3: use lp_load_global() in smbw_sample -- whatever this is ... :-)Michael Adam1-1/+1
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-1/+3
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-1/+1
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-1/+1
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell1-2/+0
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-02-22fixed character set init in smbw_sampleAndrew Tridgell1-0/+2
(This used to be commit c43593ad069670fb47b8e98248254c739bb7ab18)
2000-08-09fixed help stringAndrew Tridgell1-1/+2
(This used to be commit 16afa46797a4cdaa6e3b668caf6d910c08bec9b4)
2000-07-06the smbw sample progAndrew Tridgell1-0/+93
(This used to be commit 0afcc0d3368472ed4b49167dc4b7d907b0ccdc25)