summaryrefslogtreecommitdiff
path: root/source4/lib/util/util.h
AgeCommit message (Collapse)AuthorFilesLines
2008-04-17use uintptr_t instead of intptr_t where appropriateAndrew Tridgell1-1/+1
(This used to be commit d62f2bcc85c13605c133db250e0a86d2d6ccc481)
2008-04-02util: Add talloc_get_type_abort() call.Kai Blin1-0/+7
(This used to be commit 38413ed4b6957e5f72e78a04f479c6a5d8b69ef5)
2008-04-01Add userdata argument to reseed callback function.Jelmer Vernooij1-1/+1
(This used to be commit d4272bc6bcfcd71fa93edb25bb33d6458e8b33cd)
2008-04-01Move ini-like file parser to the utility library.Jelmer Vernooij1-0/+8
(This used to be commit 2dc2bb800dab3f7dbdba01f5ca5076edd1a2b0f3)
2008-02-20Fix use of some modules (needed _PUBLIC_).Jelmer Vernooij1-1/+2
(This used to be commit ce332130ea77159832da23bab760fa26921719e2)
2007-12-21r26434: Remove display charset from iconv convenience context.Jelmer Vernooij1-0/+1
(This used to be commit a76625994abf9906d54ae11f9c171f89063cf508)
2007-12-21r25799: Add dump_data_skip_zeros() which omits 16 zero bytes in a row (if ↵Günther Deschner1-0/+8
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-21r25660: Add a new interface 'generate_secret_buffer()', to be used when weAndrew Bartlett1-0/+8
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-21r25626: Move some debug-specific prototypes to debug.h.Jelmer Vernooij1-55/+0
(This used to be commit 84a202754004ec618aa2663a4614d80eb2c7ce60)
2007-12-21r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij1-12/+6
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-10-10r25307: add string_sub_talloc.Jelmer Vernooij1-0/+4
(This used to be commit 96c1a24874289fdeddcac43d23c2d1214b9b6225)
2007-10-10r25267: Move PRINTF_ATTRIBUTE to lib/util as well.Jelmer Vernooij1-6/+6
(This used to be commit 72b9d6c03661d72e83a5d60d43b75bb9bd5f5285)
2007-10-10r25265: Move attribute definitions to lib/util.Jelmer Vernooij1-0/+1
(This used to be commit 5bb9f041f47a1b7e03c3dc02e38546bc43bcc856)
2007-10-10r25047: Fix more warnings.Jelmer Vernooij1-11/+2
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10r25014: Use talloc for allocating values as well.Jelmer Vernooij1-6/+1
(This used to be commit 43f0e2622ef61bd865fcf17191118c050ec8cfcb)
2007-10-10r25007: Remove more uses of pstring, move ntlmauth-specific utility function ↵Jelmer Vernooij1-5/+0
to ntlm-auth.c (This used to be commit 6f224480b230ab7ccfc0417c13e7f4fc3f6f2a13)
2007-10-10r24814: Fix headers, trim core.h even more.Jelmer Vernooij1-22/+23
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10r24780: More work allowing libutil to be used by external users.Jelmer Vernooij1-5/+705
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22371: readd discard_const() to lib/util/util.hStefan Metzmacher1-0/+27
metze (This used to be commit 76fbe90596f5f26c09185129d9a4f3e2b42428e1)
2007-10-10r22369: add ZERO_STRUCT() ... macros to lib/util/util.h againStefan Metzmacher1-0/+41
to fix the openchange build... we need to remove them from libreplace, but I'll think about that next week. metze (This used to be commit 2243142b46e20825339b4f6ed0e878c18e50e45f)
2007-10-10r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplaceStefan Metzmacher1-25/+0
metze (This used to be commit b69c950858d837d7bd734d418129ade69106a00d)
2007-10-10r22226: move discard_const macros to librelaceStefan Metzmacher1-23/+0
metze (This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+0
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r16922: move some macros out of talloc.h as the don't belong to tallocStefan Metzmacher1-0/+4
metze (This used to be commit 4c68e315e2288eef97527911daf18622a994ac31)
2007-10-10r15564: Fix copyrights (this file was originally based on just a few lines ↵Jelmer Vernooij1-3/+1
from smb.h) (This used to be commit 045bd55dd992f054606ffacae1580afb817b1e33)
2007-10-10r15201: Use abs() rather then ABS()Jelmer Vernooij1-7/+0
(This used to be commit 1f3833d041fddaf79cd19d4f236780a02e97f095)
2007-10-10r15200: Move MIN/MAX macros to libreplace as some systems have themJelmer Vernooij1-14/+0
in sys/param.h (This used to be commit 3f0396aade82a92a375275059baf8500de1b23f0)
2007-10-10r14724: Rearrange some source files, install more headers.Jelmer Vernooij1-1/+0
(This used to be commit 7146c1600f29c349e5bb78f810e7e170b535dd37)
2007-10-10r14575: Move some path-related functions to libsamba-config so libsamba-utilJelmer Vernooij1-0/+3
doesn't have to depend on the lp_* functions. (This used to be commit f97df7d90a41b77a9edd2d6bdc47c27bf1b6bb07)
2007-10-10r14556: Fix some dependenciesJelmer Vernooij1-1/+1
(This used to be commit b5802770322678d3f9c2044039cc254024612f9b)
2007-10-10r14511: Install more headersJelmer Vernooij1-0/+1
(This used to be commit e1f896948fad8cf5a1aec300865c250c5721ee7d)
2007-10-10r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.Jelmer Vernooij1-0/+2
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10r14381: Kill structs.hJelmer Vernooij1-0/+2
(This used to be commit 1ffb82a7596f989c90df69573083a2c2e28f8808)
2007-10-10r14296: added an abort() to SMB_ASSERT() so that static analysers know it ↵Andrew Tridgell1-1/+1
doesn't return (This used to be commit 72334813087740cba42973bdf787d96d2d140bad)
2007-10-10r13851: More doc improvements.Jelmer Vernooij1-0/+14
(This used to be commit 936d26ae64b93ef8f8b2fbc632b1c2fd60840405)
2007-10-10r13849: More improvements to the libutil docs.Jelmer Vernooij1-6/+57
(This used to be commit eed16ac3b7f7062a34f09f602db0f828cac7f246)
2007-10-10r13658: More moving around of files:Jelmer Vernooij1-0/+81
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)