summaryrefslogtreecommitdiffstats
path: root/source/printing
Commit message (Collapse)AuthorAgeFilesLines
* Fix some typos.Karolin Seeger2008-02-081-1/+1
| | | | Karolin
* Adding missing calls to va_end().Tim Potter2008-01-271-0/+4
| | | | | | | | Just a small commit to get a handle on this git thingy. This patch fixes some missing calls to va_end() to match various calls to va_start() and VA_COPY(). Tim.
* strtok -> strtok_rVolker Lendecke2008-01-233-4/+9
|
* Fix a crash bug in nt_printer_publish_adsVolker Lendecke2008-01-161-1/+6
| | | | Reported by Martin Zielinski <mz@seh.de>
* Fix CID 498. Ensure we don't prs_mem_free an uninitializedJeremy Allison2008-01-111-1/+6
| | | | | prs_struct. Jeremy.
* Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam2008-01-072-3/+3
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam2008-01-071-4/+4
| | | | Michael
* Refactor the crypto code after a very helpful conversationJeremy Allison2008-01-041-1/+1
| | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy.
* Remove tiny code duplicationVolker Lendecke2007-12-291-4/+6
| | | | ndr_size_security_descriptor does the same as sec_desc_size
* Remove a globalVolker Lendecke2007-12-281-9/+15
|
* Two more static fstrings gone.Jeremy Allison2007-12-181-12/+43
| | | | Jeremy.
* Remove another static fstring.Jeremy Allison2007-12-181-3/+8
| | | | Jeremy.
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-151-5/+2
|
* Fix bug leftover from pstring conversion noticed by ceezJeremy Allison2007-12-101-3/+1
| | | | | on irc. Jeremy.
* Tiny simplificationsVolker Lendecke2007-12-101-1/+1
| | | | | | locking.c:open_read_only was unused don't export the silly boolean flag locking_init(bool read_only)
* remove a staticVolker Lendecke2007-12-101-12/+18
|
* Remove next_token - all uses must now be next_token_talloc.Jeremy Allison2007-12-071-55/+113
| | | | | No more temptations to use static length strings. Jeremy.
* printing: remove emtpy print_test.cStefan Metzmacher2007-12-061-0/+0
| | | | metze
* Fix the build. fstrterminate was used in one place.Jeremy Allison2007-12-031-2/+2
| | | | Jeremy.
* Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.cJeremy Allison2007-12-031-1/+1
| | | | Jeremy.
* Change tdb_unpack "P" to return a malloc'ed string ratherJeremy Allison2007-12-032-4/+14
| | | | | | than expect a pstring space to put data into. Fix the (few) callers. Jeremy.
* Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.cJeremy Allison2007-11-271-1/+3
| | | | Jeremy.
* Remove some staticsVolker Lendecke2007-11-271-2/+4
|
* Remove pstring from printing/*.c except for theJeremy Allison2007-11-216-249/+396
| | | | | | tdb_unpack requirement (I'll be making that an allocating interface later). Jeremy.
* Remove pstrcpy I missed.Jeremy Allison2007-11-201-1/+0
| | | | Jeremy.
* Remove more pstring. Unify talloc_sub functions to makeJeremy Allison2007-11-192-32/+57
| | | | | | them a better match for replacing string_sub. Remove more unused code. Jeremy.
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-151-56/+190
| | | | | | one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy.
* Fix case where we have no dns domain name. Return a talloc of "".Jeremy Allison2007-11-081-1/+1
| | | | Jeremy.
* Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison2007-11-081-6/+8
| | | | Jeremy.
* Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison2007-11-032-4/+4
| | | | | | I have a plan for dealing with the remaining..... Watch this space. Jeremy.
* I can't get away without a 'length' arg. :-).Jeremy Allison2007-11-032-2/+2
| | | | Jeremy.
* Stop get_peer_addr() and client_addr() from using globalJeremy Allison2007-11-032-2/+4
| | | | | statics. Part of my library cleanups. Jeremy.
* Patch 2 of 3 from Debian Samba packagers:Gerald (Jerry) Carter2007-11-011-6/+6
| | | | | | | | | | | | | | | | | The point is doing the following associations: - non discardable state data (all TDB files that may need to be backed up) go to statedir - shared data (codepage stuff) go to codepagedir The patch *does not change* the default location for these directories. So, there is no behaviour change when applying it. The main change is for samba developers who have to think when dealing with files that previously pertained to libdir whether they: - go in statedir - go in codepagedir - stay in libdir
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-1811-109/+109
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* remove unused print_test.c codeStefan Metzmacher2007-10-131-81/+0
| | | | metze
* Add const to the get_peer_addr() and get_socket_addr()Jeremy Allison2007-10-112-3/+3
| | | | | calls. Use the IPv6 varient for get_peer_addr(). Jeremy.
* r25534: Apply some constVolker Lendecke2007-10-101-4/+4
| | | | | | Why? It moves these structs from the data into the text segment, so they will never been copy-on-write copied. Not much, but as in German you say "Kleinvieh macht auch Mist...."
* r25399: Excise uint - > uint32 (where appropriate) or unsigned int.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam2007-10-101-5/+5
| | | | | | | | | the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael
* r25138: More pstring elimination. Add a TALLOC_CTX parameterJeremy Allison2007-10-101-1/+1
| | | | | to unix_convert(). Jeremy.
* r25117: The mega-patch Jerry was waiting for. Remove all pstrings fromJeremy Allison2007-10-101-5/+6
| | | | | | | | the main server code paths. We should now be able to cope with paths up to PATH_MAX length now. Final job will be to add the TALLOC_CTX * parameter to unix_convert to make it explicit (for Volker). Jeremy.
* r25009: Large patch discussed with Volker. Move unix_convert to a talloc-basedJeremy Allison2007-10-101-17/+22
| | | | | | interface. More development will come on top of this. Remove the "mangled map" parameter. Jeremy.
* r24464: Now Volker removed the readbmpx we don't need cached errors any more.Jeremy Allison2007-10-101-1/+0
| | | | Jeremy.
* r24120: add a file_id_create() hook into the VFS layerStefan Metzmacher2007-10-101-1/+1
| | | | | | | it's needed for some cluster filesystems to overload this function. metze
* r24069: Fix Coverity ID 368. We would segfault if 0 < data.dsize < 8Volker Lendecke2007-10-101-1/+1
|
* r23888: move elements belonging to the current ldap connection to aStefan Metzmacher2007-10-101-1/+1
| | | | | | substructure. metze
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-105-10/+5
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-109-18/+9
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-1014-14/+14
| | | | Jeremy.
* r23724: Reduce access to the global inbuf a tiny bit. Add a struct smb_requestVolker Lendecke2007-10-101-8/+8
| | | | | | | | | | | | that contains some of the fields from the SMB header, removing the need to access inbuf directly. This right now is used only in the open file code & friends, and creating that header is only done when needed. This needs more work, but it is a start. Jeremy, I'm only checking this into 3_0, please review before I merge it to _26. Volker