Jelmer Vernooij
a76625994a
r26434: Remove display charset from iconv convenience context.
2007-12-21 05:50:04 +01:00
Günther Deschner
c96047d022
r25799: Add dump_data_skip_zeros() which omits 16 zero bytes in a row (if not at the
...
beginning or the end of a blob). Usefull when inspecting protocols that
exchange huge mostly empty blobs.
Guenther
2007-12-21 05:44:04 +01:00
Andrew Bartlett
6a5630d371
r25660: Add a new interface 'generate_secret_buffer()', to be used when we
...
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
2007-12-21 05:43:03 +01:00
Jelmer Vernooij
aafd3ea03f
r25628: Fix formatting, missing include.
2007-12-21 05:43:01 +01:00
Jelmer Vernooij
84a2027540
r25626: Move some debug-specific prototypes to debug.h.
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
262c1c23a6
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
96c1a24874
r25307: add string_sub_talloc.
2007-10-10 15:07:12 -05:00
Jelmer Vernooij
72b9d6c036
r25267: Move PRINTF_ATTRIBUTE to lib/util as well.
2007-10-10 15:07:03 -05:00
Jelmer Vernooij
5bb9f041f4
r25265: Move attribute definitions to lib/util.
2007-10-10 15:07:02 -05:00
Jelmer Vernooij
69de86d2d2
r25047: Fix more warnings.
2007-10-10 15:05:49 -05:00
Jelmer Vernooij
43f0e2622e
r25014: Use talloc for allocating values as well.
2007-10-10 15:05:35 -05:00
Jelmer Vernooij
6f224480b2
r25007: Remove more uses of pstring, move ntlmauth-specific utility function to ntlm-auth.c
2007-10-10 15:05:32 -05:00
Jelmer Vernooij
9647f860bd
r24814: Fix headers, trim core.h even more.
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
31993cf67b
r24780: More work allowing libutil to be used by external users.
2007-10-10 15:03:10 -05:00
Andrew Tridgell
fcf38a38ac
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
76fbe90596
r22371: readd discard_const() to lib/util/util.h
...
metze
2007-10-10 14:51:09 -05:00
Stefan Metzmacher
2243142b46
r22369: add ZERO_STRUCT() ... macros to lib/util/util.h again
...
to fix the openchange build...
we need to remove them from libreplace, but I'll think about that
next week.
metze
2007-10-10 14:51:08 -05:00
Stefan Metzmacher
b69c950858
r22297: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
...
metze
2007-10-10 14:50:59 -05:00
Stefan Metzmacher
c2cfee6d25
r22226: move discard_const macros to librelace
...
metze
2007-10-10 14:50:40 -05:00
Jelmer Vernooij
f7afa1cb77
r17930: Merge noinclude branch:
...
* 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)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
4c68e315e2
r16922: move some macros out of talloc.h as the don't belong to talloc
...
metze
2007-10-10 14:10:01 -05:00
Jelmer Vernooij
045bd55dd9
r15564: Fix copyrights (this file was originally based on just a few lines from smb.h)
2007-10-10 14:05:56 -05:00
Jelmer Vernooij
1f3833d041
r15201: Use abs() rather then ABS()
2007-10-10 14:04:16 -05:00
Jelmer Vernooij
3f0396aade
r15200: Move MIN/MAX macros to libreplace as some systems have them
...
in sys/param.h
2007-10-10 14:04:16 -05:00
Jelmer Vernooij
7146c1600f
r14724: Rearrange some source files, install more headers.
2007-10-10 13:59:14 -05:00
Jelmer Vernooij
f97df7d90a
r14575: Move some path-related functions to libsamba-config so libsamba-util
...
doesn't have to depend on the lp_* functions.
2007-10-10 13:58:52 -05:00
Jelmer Vernooij
b580277032
r14556: Fix some dependencies
2007-10-10 13:58:46 -05:00
Jelmer Vernooij
e1f896948f
r14511: Install more headers
2007-10-10 13:57:35 -05:00
Jelmer Vernooij
4682bc5ce0
r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
1ffb82a759
r14381: Kill structs.h
2007-10-10 13:57:17 -05:00
Andrew Tridgell
7233481308
r14296: added an abort() to SMB_ASSERT() so that static analysers know it doesn't return
2007-10-10 13:57:09 -05:00
Jelmer Vernooij
936d26ae64
r13851: More doc improvements.
2007-10-10 13:52:16 -05:00
Jelmer Vernooij
eed16ac3b7
r13849: More improvements to the libutil docs.
2007-10-10 13:52:15 -05:00
Jelmer Vernooij
ba62880f5b
r13658: More moving around of files:
...
- Collect the generic utility functions into a lib/util/ (a la GLib is
for the GNOME folks)
- Remove even more files from include/
2007-10-10 13:52:05 -05:00