summaryrefslogtreecommitdiff
path: root/source3/tdb/tdbutil.c
AgeCommit message (Collapse)AuthorFilesLines
2000-12-06tdb_chainunlock() no longer returns a value.Tim Potter1-2/+2
(This used to be commit 2c9704c3db4014ca43b4b13160b9f53ff5f36e3b)
2000-12-06Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison1-2/+2
a --with-spinlocks option to configure, this does mean the on-disk tdb format has changed, so 2.2alphaX sites will need to re-create their tdb's. The upside is no more tdb fragmentation and a +5% on netbench. Swings and roundabouts.... Jeremy. (This used to be commit 9dea7b7c257db487f8ced7dad3fce92fba03ea91)
2000-11-10rpc_parse/parse_spoolss.c: Updated comment for old version of W2K.Jeremy Allison1-1/+1
tdb/tdbutil.c: With varargs uint16 is cast to (int). Jeremy. (This used to be commit 98764c5df9f363780427a423ead0913f7b2a0905)
2000-10-10added tdb_lock_bystring() and tdb_unlock_bystring()Andrew Tridgell1-0/+24
(This used to be commit ca443210c84575d39e60c38a7a12d037386d0e38)
2000-07-31Added John Reilly's enumports/addprinter/delprinter scripting code plus theJeremy Allison1-0/+14
fix for the Win9x printer drivers. Changed command names to add "command" string on the end for some consistancy with the other scripting commands. Added '%P' option to tdbpack/unpack to store long comment string. Made port name be "Samba Printer Port" if no enum port script given. Fixed prs_uint32_pre code to cope with null args. Jeremy. (This used to be commit 902ada63799cf27924c72e24e7593a8c9fb5eba9)
2000-06-08Moved tdb functions that access parse structs into parse_prs.cJeremy Allison1-30/+0
to prevent builkd breaking. Jeremy. (This used to be commit 6c7adeab0f92844ecefbcb923d0d4763d4c3eaa5)
2000-06-07Fixing get/set of security descriptors.Jeremy Allison1-8/+4
Removed ugly hack for NT printing. Fixed up tdb parse stuff memory leaks. Jeremy. (This used to be commit 8ef41f31c53e14ad057d883810a1cd2301fede2a)
2000-06-04added some debug code to track down pack/unpack problemsAndrew Tridgell1-0/+12
(This used to be commit ac9cdab33cddcc5ab00fc21ba79f416f5a9687e7)
2000-05-27getting and setting security descriptors on printers now worksAndrew Tridgell1-10/+42
this needed some fixes in tdb_unpack(). Tim, you'll need to update (This used to be commit 9422719ab4c35e4ce3199b62dd632433bf391283)
2000-05-24added tdb_pack() and tdb_unpack()Andrew Tridgell1-0/+148
(This used to be commit 6c15495b3087c04890af77149c39e823596bb4dd)
2000-05-12While we're all making incompatible tdb changes, I changed the implementationTim Potter1-4/+4
of tdb_{store,get}_int() to store the length of the string key + 1 so the stored key contains the trailing NULL character. This allows normal string library routines to manipulate keys. Also renamed tdb_get_int() to tdb_fetch_int() to keep the set of verbs consistent. (This used to be commit a423c7c5f21dc4046530b85482dee88dcfcbf070)
2000-05-09Added tdb_store_by_string() and tdb_fetch_by_string() functions to storeTim Potter1-0/+27
data with null terminated string keys. (This used to be commit d58146321b6fe50e1cc1a73da80c3d2e8c3412dc)
2000-04-29put tdb utility functions in a separate fileAndrew Tridgell1-0/+67
(This used to be commit 77009422a075300e5c07a3e75806a7dac47e2113)