summaryrefslogtreecommitdiffstats
path: root/lib/util
Commit message (Collapse)AuthorAgeFilesLines
* util_str: setup the correct talloc name for stringsStefan Metzmacher2009-01-192-0/+4
| | | | | metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
* lib: add strlen_m_term_null from s3.Günther Deschner2009-01-162-0/+20
| | | | Guenther
* s4:debug: make setup_logging() a bit more compatible with samba3Stefan Metzmacher2009-01-091-1/+1
| | | | | | | | | | | In samba3 the 2nd argument is bool interactive. E.g ndrdump uses true there which used to map to DEBUG_FILE in samba4, it maps to DEBUG_STDOUT now, which is better. In the end end samba3 should also use the samba4 version of setup_logging() metze
* Print the failed value in the time tests.Jelmer Vernooij2009-01-081-5/+8
|
* Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij2009-01-081-31/+0
| | | | since this will not be shipped with talloc/tdb/tevent/etc.
* s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty2009-01-071-0/+31
|
* s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4Tim Prouty2008-12-301-0/+2
|
* Fix use of "time offset" parameter, and add test to make sure I don't break ↵Jelmer Vernooij2008-12-233-1/+23
| | | | it again :-)
* lib/util: make it possible to use debug.h with using xfile.hStefan Metzmacher2008-12-172-2/+3
| | | | metze
* s3: Change sockaddr util function names for consistencyTim Prouty2008-12-031-1/+1
| | | | Also eliminates name conflicts with OneFS system libraries
* s3 build: Fix incomplete types warningsTim Prouty2008-11-201-3/+2
|
* s3/s4 build: Fix execinfo and sasl build error when the libs/headers are in ↵Tim Prouty2008-11-181-2/+12
| | | | | | | non-standard locations. These configure checks have the correct flags at configure time, so let's pass them through so they are used at compile time.
* lib/util: hex_encode_talloc(): fix error path and set talloc nameStefan Metzmacher2008-11-161-0/+4
| | | | metze
* Rename class to "cls" since the first is a keyword name in C++. Thanks,Jelmer Vernooij2008-11-021-1/+1
| | | | Brad.
* Move lp_*() calls a bit higher up the calls tack.Jelmer Vernooij2008-11-011-1/+1
|
* Remove convert_string_talloc_descriptor, add iconv_talloc().Jelmer Vernooij2008-11-012-59/+77
|
* Move ABS() to libutil.Jelmer Vernooij2008-11-011-0/+4
|
* ALlow util/debug.h to be included more than once.Jelmer Vernooij2008-11-011-0/+5
|
* Fix includes in installed version of talloc_stack.h.Jelmer Vernooij2008-11-011-1/+1
|
* Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij2008-11-012-9/+27
|\ | | | | | | | | | | | | | | | | Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
| * Only provide valgrind_strlen prototype when it's being compiled in.Jelmer Vernooij2008-11-011-2/+2
| |
| * Samba3: Include util.h header file rather than having custom prototypes.Jelmer Vernooij2008-11-012-7/+25
| |
* | Install additional libutil headers.Jelmer Vernooij2008-11-011-0/+2
|/
* finished adding UTF16_MUNGED charsetAndrew Tridgell2008-10-314-72/+102
| | | | | | | Changed the approach for the charset to go via utf16, which makes a bit more sense to read. Added a testsuiite for UTF16_MUNGED as part of LOCAL-ICONV
* added a new charset for string2keyAndrew Tridgell2008-10-311-0/+132
| | | | | | This charset follows the rules for converting random buffers to utf8 strings, matching the way windows does it. This should allow us to be compatible for the generation of AES keys
* Remove include/local.h and move defines to more appropriate places.Jelmer Vernooij2008-10-241-0/+2
|
* Remove unused include param/param.h.Jelmer Vernooij2008-10-242-2/+0
|
* Remove more global_loadparm instances, fix syntax errors.Jelmer Vernooij2008-10-242-5/+5
|
* Add version of next_codepoint without iconv_convenience.Jelmer Vernooij2008-10-245-23/+30
|
* Remove dependency of charset code on loadparm.Jelmer Vernooij2008-10-242-2/+6
|
* Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij2008-10-243-24/+60
| | | | make them wrappers around convert_string{,talloc}_convenience().
* Avoid retrieving iconv convenience during loops.Jelmer Vernooij2008-10-241-11/+15
|
* Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij2008-10-243-340/+345
| | | | functions.
* Split up codepoints code, use consistent _m suffix.Jelmer Vernooij2008-10-245-155/+187
|
* Rename string_replace_w to string_replace_m, which is more correct.Jelmer Vernooij2008-10-244-11/+9
|
* Remove unnecessary include, improve function name.Jelmer Vernooij2008-10-241-3/+2
|
* Move charset library to top level.Jelmer Vernooij2008-10-249-1/+3113
|
* Move set_sockaddr_port to libutil.Jelmer Vernooij2008-10-231-0/+14
|
* Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij2008-10-233-46/+327
|
* Rename same_net to same_net_v4 for consistency with Samba 3.Jelmer Vernooij2008-10-231-1/+1
|
* Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij2008-10-235-5/+208
|\ | | | | | | | | Conflicts: lib/util/asn1_proto.h
| * Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-10-231-5/+20
| |\
| | * Optimize x_fread to speed up the smbclient put commandVolker Lendecke2008-10-231-5/+20
| | |
| * | Import talloc_stack into util library.Jelmer Vernooij2008-10-234-0/+188
| |/
| * Use common error definitions.Jelmer Vernooij2008-10-231-4/+4
| |
* | Inline asn1_proto.h since the API is stable and public.Jelmer Vernooij2008-10-233-62/+40
|/
* Import NTSTATUS defines from Samba 3.Jelmer Vernooij2008-10-231-4/+4
|
* s3-build: temporarily add asn1_proto file.Günther Deschner2008-10-221-0/+59
| | | | | | | Jelmer, how can we get this autogenerated from samba3 in the non merged-build case ? Guenther
* lib-util: merge from s3 asn1.Günther Deschner2008-10-221-0/+3
| | | | Guenther
* lib-util: fix c++ compile warning.Günther Deschner2008-10-221-1/+1
| | | | Guenther