summaryrefslogtreecommitdiff
path: root/source4/lib/util
AgeCommit message (Collapse)AuthorFilesLines
2008-03-18lib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymoreStefan Metzmacher1-1/+1
metze (This used to be commit b7dad8674a3aaa27bc1103a83be75434d413239b)
2008-02-29Change remaining prototype headers to be private.Jelmer Vernooij1-3/+3
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij1-11/+13
Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij1-7/+8
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
2008-02-20Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij2-3/+2
(This used to be commit ce332130ea77159832da23bab760fa26921719e2)
2008-02-14util_ldb: Add a missing \n to debug string, fix trailing whitespaces.Kai Blin1-8/+9
(This used to be commit b0991cc09b36171c18d2407c9f3153b6f7e8299b)
2008-02-11Fix typo.Jelmer Vernooij1-1/+1
(This used to be commit 54e7d10fe0eb4837b00b9b049fbd59a56ee85bea)
2008-02-09Move nt_time_equal() to libutil.Jelmer Vernooij2-1/+12
(This used to be commit 9705263a6c58d4ade556d17db2009dbb85291b22)
2008-02-01Samba4 poor mans debug_ctx()Amin Azez1-0/+4
DEBUG(), DEBUGADD() and friends can now use debug_ctx() in the formatting expressions again, e.g. DEBUG(5,("Guid failed to match: %s\n", GUID_string(debug_ctx(), r->guid))); Sadly it's done with macros (again) but when we need to save the 8 or 16 bytes of object code per DEBUG() expression we can do it the Samba 3 way with added thread-safety for Samba 4. That could save up to 200K, allowing 12 bytes for each occurrance of DEBUG... Signed-off-by: Amin Azez <azez@ufomechanic.net> (This used to be commit 9781967542b00c279563d435aec72dac1e8c7e9a)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-15util: Move asn1 to lib/util to trim down the number of subsystems.Jelmer Vernooij3-0/+829
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
2007-12-26r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.Kai Blin1-3/+2
Also rename the corresponding wrap_ functions. (This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-21r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_vKai Blin1-3/+3
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf. (This used to be commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79)
2007-12-21r26457: Janitorial: Don't use pstring in tdb_unpackKai Blin1-9/+8
(This used to be commit 447bc42180cf0be71a35e40f6d93d91879397a48)
2007-12-21r26434: Remove display charset from iconv convenience context.Jelmer Vernooij2-21/+18
(This used to be commit a76625994abf9906d54ae11f9c171f89063cf508)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2-8/+10
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26417: Make str_list_copy(mem_ctx, NULL) return NULL rather than an empty list.Jelmer Vernooij2-2/+33
(This used to be commit cf8636c8b77c745812376d0ea6f0fb6246a2e4fb)
2007-12-21r26386: We need to test in more than just 'interactive' mode...Andrew Bartlett1-1/+1
Fix segfault found when running smbd without options. Andrew Bartlett (This used to be commit 880dfeadae41be5f0140ac07afb8680fc11f6ebf)
2007-12-21r26316: Use contexts for conversion functions.Jelmer Vernooij2-8/+8
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21r26266: Remove more global_loadparm uses.Jelmer Vernooij1-55/+0
(This used to be commit 99113075c4a96679bcec4f4d6bba4acb3dee4245)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij3-4/+192
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25830: fix compiler warningStefan Metzmacher2-2/+2
metze (This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)
2007-12-21r25802: fix the build on solaris, void functions doesn't return valuesStefan Metzmacher1-2/+2
metze (This used to be commit 7d6c3e31de448c59dbb6933917c4f434c90cedf6)
2007-12-21r25799: Add dump_data_skip_zeros() which omits 16 zero bytes in a row (if ↵Günther Deschner2-9/+71
not at the beginning or the end of a blob). Usefull when inspecting protocols that exchange huge mostly empty blobs. Guenther (This used to be commit c96047d022555678dabe08c0de94f0913bb4d047)
2007-12-21r25661: We don't actually need to know with DEBUG(0, ... every time we ask forAndrew Bartlett1-6/+0
some random bytes. Andrew Bartlett (This used to be commit 606c82f6254b8dc6fb32740a7bb55a1989081fe7)
2007-12-21r25660: Add a new interface 'generate_secret_buffer()', to be used when weAndrew Bartlett2-18/+58
require top-quality entropy. We don't want to waste system enropy generating challenges (which simply need to be unpredictable, not secret) or when generating UUIDs. Rework generate_random_buffer() to use /dev/urandom less often, only to seed the existing RC4 based PRNG. (With an exception to ensure we don't waste this setup cost for very small entropy requests). Perhaps we should be using heimdal's code for this instead? This should drasticly reduce our entropy use, particularly in the build farm (automated Samba build on hosts without much other source of entropy). Andrew Bartlett (This used to be commit 6a5630d37191542022f02fae519227b7829ef620)
2007-12-21r25628: Fix formatting, missing include.Jelmer Vernooij1-1/+3
(This used to be commit aafd3ea03f52b08b6697f3778728659c790d03b4)
2007-12-21r25627: Remove unused global.Jelmer Vernooij1-14/+5
(This used to be commit b0b4668333b53991b04cae8905836c766e50aa10)
2007-12-21r25626: Move some debug-specific prototypes to debug.h.Jelmer Vernooij3-56/+56
(This used to be commit 84a202754004ec618aa2663a4614d80eb2c7ce60)
2007-12-21r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij3-31/+18
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-10-10r25566: Use -lexecinfo for backtraces on FreeBSD. Patch by Timur I. Bakeyev ↵Jelmer Vernooij2-3/+6
<timur@com.bat.ru> (This used to be commit 8d4a435601c1af42a4a6704b3181e194eb40f75a)
2007-10-10r25447: Fix installation of headers. Patch by Brad Hards.Jelmer Vernooij1-0/+1
(This used to be commit b1aae72420362dfda7df94e8aaab8739632195dc)
2007-10-10r25307: add string_sub_talloc.Jelmer Vernooij3-0/+83
(This used to be commit 96c1a24874289fdeddcac43d23c2d1214b9b6225)
2007-10-10r25306: Add tests for string_sub().Jelmer Vernooij3-4/+82
(This used to be commit 2d37ddcbd1243f48d81af17d8ea3cdd6e8e35b8d)
2007-10-10r25267: Move PRINTF_ATTRIBUTE to lib/util as well.Jelmer Vernooij2-6/+18
(This used to be commit 72b9d6c03661d72e83a5d60d43b75bb9bd5f5285)
2007-10-10r25265: Move attribute definitions to lib/util.Jelmer Vernooij2-0/+81
(This used to be commit 5bb9f041f47a1b7e03c3dc02e38546bc43bcc856)
2007-10-10r25193: Update headers to easy use by external apps.Jelmer Vernooij2-0/+5
(This used to be commit 20b70fbb7af6b6759c3b8c8aa56e10944b32bfdf)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-3/+3
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25047: Fix more warnings.Jelmer Vernooij4-62/+21
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij4-9/+10
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25014: Use talloc for allocating values as well.Jelmer Vernooij2-29/+11
(This used to be commit 43f0e2622ef61bd865fcf17191118c050ec8cfcb)
2007-10-10r25008: Remove use of pstring.Jelmer Vernooij1-1/+0
(This used to be commit c57869e2620de30c303b0cb2f70cd07b32f269fc)
2007-10-10r25007: Remove more uses of pstring, move ntlmauth-specific utility function ↵Jelmer Vernooij3-30/+3
to ntlm-auth.c (This used to be commit 6f224480b230ab7ccfc0417c13e7f4fc3f6f2a13)
2007-10-10r25006: Use system constant.Jelmer Vernooij1-7/+6
(This used to be commit d9b2464598efe0f0cbecd4d8a90fbd137fad0daf)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2-3/+3
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24941: Simplify samdb_result_nttime(), and remove nttime_from_string()Andrew Bartlett1-8/+0
Andrew Bartlett (This used to be commit bcd994a139e2e8fb2e97c8b897c987ff234e0b0a)
2007-10-10r24814: Fix headers, trim core.h even more.Jelmer Vernooij3-134/+23
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10r24812: Fix headers for external users.Jelmer Vernooij1-0/+10
(This used to be commit ff6684adfd96b59381dd941e54070ab9f8984912)
2007-10-10r24780: More work allowing libutil to be used by external users.Jelmer Vernooij6-17/+1101
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)