summaryrefslogtreecommitdiff
path: root/source4/lib/registry/patchfile_preg.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-2/+0
2010-04-10s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specificationMatthias Dieter Wallnöfer1-6/+6
This makes the code more clear to read.
2010-04-10s4:registry - "patchfile_preg.c" - fix indentationMatthias Dieter Wallnöfer1-5/+9
2010-04-10s4:registry - "patchfile_preg.c" - fix a datatypeMatthias Dieter Wallnöfer1-1/+1
This should be an "uint16_t" (only two bytes are written).
2010-04-08s4:registry - "patchfile_preg.c" - assign a better type to the "i" counter ↵Matthias Dieter Wallnöfer1-2/+1
variable The "i" variable sums up "size" values which are of type "size_t". Therefore also "i" itself should be from this type.
2010-04-08s4:registry - "patchfile_preg.c" - make a SIVAL statement nicerMatthias Dieter Wallnöfer1-1/+1
2010-04-08s4:registry - "patchfile_preg.c" - fix the read operation of the data length ↵Matthias Dieter Wallnöfer1-0/+4
on big-endian platforms
2010-04-08s4:registry - "patchfile_preg.c" - use "sizeof(uint32_t)" for some size ↵Matthias Dieter Wallnöfer1-2/+2
specifications Looks nicer.
2010-03-22s4:registry - "patchfile_preg.c" - also here don't accumulate the memory usageMatthias Dieter Wallnöfer1-4/+26
Free always the unused stuff.
2010-02-07s4-registry: fixed byte order assumptionsAndrew Tridgell1-2/+2
the registry tests were broken on big-endian systems
2009-04-23Add a new non-convenience version of push_codepoint.Jelmer Vernooij1-20/+18
2009-02-05s4:lib/registry: fix c++ warningsStefan Metzmacher1-7/+7
metze
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-2/+1
2008-04-15Fix const.Jelmer Vernooij1-1/+1
(This used to be commit b74fc23825a54eb101b413ee76b21ee605dfb16c)
2008-04-15More patchfile fixes. Write support should work now.Wilco Baan Hofman1-7/+20
(This used to be commit cc38f2f086b92bbe65bd6e7f4e03fdf7f21ef2f6)
2008-04-15Fix PReg write support.Wilco Baan Hofman1-9/+63
Add tests for patch files (.REG and PReg). (This used to be commit 497977c36c621a4820be51cbcb7b78eac1e292b7)
2008-04-15Fixed the patchfile tests and tidy up the patchfile backends.Wilco Baan Hofman1-5/+5
(This used to be commit 6e9b1e35a269af2eda79356c1525f5413656d648)
2008-04-14Attempt to fix the patchfile_preg backend for big endian machines.Wilco Baan Hofman1-5/+9
Update some functions to properly state what is not supported (yet). Registry .reg uses UCS-2, not UTF-16. (This used to be commit 664a035dd9fc6e3b50a771baa98f8d79360cc4c1)
2008-04-02Merge patchfile.h into registry.hJelmer Vernooij1-1/+0
(This used to be commit 7b434df67aefc667993f0ebd955af9c1c258f153)
2008-03-28Convert some more files to GPLv3.Andrew Kroeger1-1/+1
(This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
2008-02-25Remove uses of global_loadparm.Jelmer Vernooij1-8/+9
(This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij1-1/+2
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26407: Janitorial: Remove a pstring and compiler warnings.Kai Blin1-36/+37
(This used to be commit bdc482033546e3986bf8c8b65dbf11c54dc57b8e)
2007-12-21r26316: Use contexts for conversion functions.Jelmer Vernooij1-1/+1
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-10-10r25544: Cleanup some more indents in lib/registry.Günther Deschner1-35/+51
Guenther (This used to be commit 0d9826dc54057db2cfebcb806e5442c4dcf60daa)
2007-10-10r25047: Fix more warnings.Jelmer Vernooij1-2/+1
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-0/+1
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij1-6/+6
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-0/+270
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)