summaryrefslogtreecommitdiffstats
path: root/source3/printing/print_svid.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-printing: Get the location info from cups.Günther Deschner2011-05-161-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-printing: explicitly include "printing/pcap.h" as there is ↵Günther Deschner2010-05-141-1/+1
| | | | | | | | /usr/include/pcap.h. Thanks metze for pointing this out. Simo, please check. Guenther
* Make pcap headers privateSimo Sorce2010-05-141-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Use common util_file code.Jelmer Vernooij2008-10-121-4/+4
|
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-1/+1
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r11855: patch from Aruna Prabakar for checking that the spooler si running ↵Gerald Carter2007-10-101-0/+29
| | | | | | on HP-UX (This used to be commit 017775f2879454f939c35196b3db6d1f2b9d1333)
* r5684: BUG 2405: patch from Torsten Werner <torsten.werner@assyst-intl.com> ↵Gerald Carter2007-10-101-1/+1
| | | | | | to define 'lpstat' printcap output on HPUX (This used to be commit 98596037caa47a27c4f87793f9875ec18b0f23c2)
* r4539: patch from Rob -- adding real printcap name cache function to speed ↵Gerald Carter2007-10-101-57/+12
| | | | | | up printcap reloads (This used to be commit 1cad5250932b963c2eb9b775221b13db386d601b)
* r4306: Couple more MALLOC fixes from albert chin (china@thewrittenword.com).Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit c5a8bf3335606c070e1c74f339ea4c22d0adfa57)
* r4234: More malloc fixes to use the macros.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 61479f56be60a3c2ae0f7b931335cb1da77540c2)
* Merge a bunch of trivial changes from HEAD. The difference remainingTim Potter2002-11-291-1/+0
| | | | | | | | | | should actual functional differences between HEAD and 3.0. - Mostly reformatting - Removal of unecessary #include "smb.h" - Merge of dyn_DRIVERFILE removal - Silly bug fix for python code (This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
* sync 3.0 branch with headJelmer Vernooij2002-08-171-1/+1
| | | | (This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-2/+0
| | | | (This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
* Fixed typo in patch.Jeremy Allison2001-08-101-1/+1
| | | | | Jeremy. (This used to be commit 36e01dcdbd0fc0083ac31ec942bb033a2997a16a)
* Added fix from Dan Thibadeau @ HP for parsing problem.Jeremy Allison2001-08-091-0/+13
| | | | | Jeremy. (This used to be commit 635f3a3ee2704bb593aaa2642be6c5ec00830b64)
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-4/+4
| | | | | | can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
* The big character set handling changeover!Andrew Tridgell2001-07-041-2/+2
| | | | | | | | 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)
* file_lines_load/file_lines_pload can now optionally convert unix_to_dos()Jeremy Allison2000-12-071-2/+2
| | | | | | on read. Jeremy. (This used to be commit 76b8dd376d13eb4469417be217c966d54d333367)
* converted a bunch more functions to use a fd instead of a FILE*Andrew Tridgell2000-04-161-42/+41
| | | | | | | | to support some of this I added the following functions in util_file.c file_lines_pload : load lines from a pipe file_pload : load a pipe into memory (This used to be commit a09470817c5b21dba42f9ef4ce5e8b768a254c0b)
* Fixes to add "paranoid" option to popen. Checks some basic things.Jeremy Allison2000-03-161-1/+1
| | | | | Jeremy (This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
* Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison2000-02-151-6/+2
| | | | | | | | | | on the glibc source code and are safer than the traditional popen as they don't use a shell to exec the requested command. Now we have these functions they can be tightened up (environment etc.) as required to make a safe popen. It should now be safe to add the environement variable loading code to loadparm.c Jeremy. (This used to be commit b52e92b09d4ca3b66e534f520468dee27065d048)
* Wrapped popen calls in HAVE_POPEN - needed if we are to add theJeremy Allison2000-01-291-0/+4
| | | | | | env patch. Jeremy. (This used to be commit 94c075faee88538e48d1898f1694500b8a5d4c8b)
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-2/+15
| | | | (This used to be commit 453a822a76780063dff23526c35408866d0c0154)
* Small tidyups for gcc in 'preen' mode....Jeremy Allison1998-10-171-0/+1
| | | | | Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
* some cleanups to use ZERO_STRUCT() and friendsAndrew Tridgell1998-09-051-1/+1
| | | | (This used to be commit 7b154dc4313324dfad6cf0117b8ce246bf12bf16)
* Changes to allow Samba to be compiled with -Wstrict-prototypesJeremy Allison1998-04-131-2/+2
| | | | | | | with gcc. (Not a big change although it looks like it :-). Jeremy. (This used to be commit cd2613c57261456485fe4eeecfda209ada70de8e)
* fix bug when using lpstat as printcap file - remove space at start ofHerb Lewis1998-01-301-1/+1
| | | | | printer names generated (This used to be commit 8f48a0571a4dda282bd3438e54a029400b7ca448)
* This is *not* a big change (although it looks like one).Jeremy Allison1998-01-221-2/+2
| | | | | | | | This is merely updating the Copyright statements from 1997 to 1998. It's a once a year thing :-). NO OTHER CHANGES WERE MADE. Jeremy. (This used to be commit b9c16977231efb274e08856f7f3f4408dad6d96c)
* includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.Jeremy Allison1998-01-071-2/+2
| | | | | | | | | | | interface.c: Added netmask fix. nmbd_nameregister.c: Fixed unitialised variable warnings. nmbd_winsproxy.c: Fixed unitialised variable warnings. nmbd_winsserver.c: Fixed DEC warnings. print_svid.c: Fixed DEC warnings. printing.c: Added LPRng fixes. Jeremy. (This used to be commit 28aff043c4a3693a0c20e87c7ce11eb4bf285b78)
* applied a patch from Norm Jacobs to allow "printcap name = lpstat"Andrew Tridgell1997-12-031-0/+121
to use lpstat to obtain the printer list on systemV systems. I've now made this the default on all SYSV systems. Jeremy, you were a little worried about the security of this patch. I believe it's OK as the user has no control over the options given to popen() and the pipe is only open for reading. (This used to be commit 6a83de0ae954bb18d3f15382f2b0b3259fedff09)