1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

88 Commits

Author SHA1 Message Date
Stefan Metzmacher
b97f17ddf1 lib/util: make it possible to use debug.h with using xfile.h
metze
2008-12-17 13:31:29 +01:00
Tim Prouty
1eb743ab8e s3: Change sockaddr util function names for consistency
Also eliminates name conflicts with OneFS system libraries
2008-12-03 10:40:20 -08:00
Tim Prouty
2b85288e82 s3 build: Fix incomplete types warnings 2008-11-20 13:11:59 -08:00
Tim Prouty
1115b7b342 s3/s4 build: Fix execinfo and sasl build error when the libs/headers are in 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.
2008-11-18 17:43:51 -08:00
Stefan Metzmacher
64b6d2d3e3 lib/util: hex_encode_talloc(): fix error path and set talloc name
metze
2008-11-16 16:24:33 +01:00
Jelmer Vernooij
29177203e5 Rename class to "cls" since the first is a keyword name in C++. Thanks,
Brad.
2008-11-02 04:50:32 +01:00
Jelmer Vernooij
57a60f0920 Move lp_*() calls a bit higher up the calls tack. 2008-11-01 22:13:47 +01:00
Jelmer Vernooij
fa7bb8ac53 Remove convert_string_talloc_descriptor, add iconv_talloc(). 2008-11-01 20:56:27 +01:00
Jelmer Vernooij
e5081d6dad Move ABS() to libutil. 2008-11-01 20:44:12 +01:00
Jelmer Vernooij
1b05be1039 ALlow util/debug.h to be included more than once. 2008-11-01 15:21:31 +01:00
Jelmer Vernooij
d880faae92 Fix includes in installed version of talloc_stack.h. 2008-11-01 15:13:00 +01:00
Jelmer Vernooij
31fa08dcbd Merge branch 'master' of /home/jelmer/samba3
Conflicts:
	lib/replace/README
	lib/replace/libreplace.m4
	lib/replace/replace.c
	source3/include/proto.h
	source3/lib/system.c
2008-11-01 04:02:47 +01:00
Jelmer Vernooij
dfc78b1dc2 Only provide valgrind_strlen prototype when it's being compiled in. 2008-11-01 03:27:41 +01:00
Jelmer Vernooij
9de80e7abc Samba3: Include util.h header file rather than having custom prototypes. 2008-11-01 03:14:43 +01:00
Jelmer Vernooij
ce67cf0456 Install additional libutil headers. 2008-11-01 01:29:12 +01:00
Andrew Tridgell
55d55d9d9b finished adding UTF16_MUNGED charset
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
2008-10-31 15:41:34 +11:00
Andrew Tridgell
391264a100 added a new charset for string2key
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
2008-10-31 13:51:37 +11:00
Jelmer Vernooij
0218669d62 Remove include/local.h and move defines to more appropriate places. 2008-10-24 17:53:38 +02:00
Jelmer Vernooij
23302413b3 Remove unused include param/param.h. 2008-10-24 16:37:56 +02:00
Jelmer Vernooij
f7692d16e3 Remove more global_loadparm instances, fix syntax errors. 2008-10-24 16:12:14 +02:00
Jelmer Vernooij
c3415b3e57 Add version of next_codepoint without iconv_convenience. 2008-10-24 16:00:43 +02:00
Jelmer Vernooij
61013deff8 Remove dependency of charset code on loadparm. 2008-10-24 14:45:31 +02:00
Jelmer Vernooij
37d885c51a Remove iconv_convenience argument from convert_string{,talloc}() but
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24 14:26:46 +02:00
Jelmer Vernooij
5d146d0178 Avoid retrieving iconv convenience during loops. 2008-10-24 04:39:09 +02:00
Jelmer Vernooij
922a29992e Remove iconv_convenience parameter from simple string push/pull
functions.
2008-10-24 03:40:09 +02:00
Jelmer Vernooij
7ec58471df Split up codepoints code, use consistent _m suffix. 2008-10-24 02:51:03 +02:00
Jelmer Vernooij
5e4767b532 Rename string_replace_w to string_replace_m, which is more correct. 2008-10-24 01:19:33 +02:00
Jelmer Vernooij
420781bf46 Remove unnecessary include, improve function name. 2008-10-24 01:18:56 +02:00
Jelmer Vernooij
09a63accb8 Move charset library to top level. 2008-10-24 00:06:35 +02:00
Jelmer Vernooij
22f566c39b Move set_sockaddr_port to libutil. 2008-10-23 21:08:13 +02:00
Jelmer Vernooij
fe36fe8c3e Use common net utility code (address and sockaddr manipulation). 2008-10-23 20:41:15 +02:00
Jelmer Vernooij
d1bc7e56d0 Rename same_net to same_net_v4 for consistency with Samba 3. 2008-10-23 19:56:09 +02:00
Jelmer Vernooij
d70efa57ce Merge branch 'master' of git://git.samba.org/samba
Conflicts:
	lib/util/asn1_proto.h
2008-10-23 18:04:16 +02:00
Jelmer Vernooij
2f265feb17 Inline asn1_proto.h since the API is stable and public. 2008-10-23 18:03:20 +02:00
Jelmer Vernooij
d805c714bb Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-23 17:51:30 +02:00
Volker Lendecke
3f0406f609 Optimize x_fread to speed up the smbclient put command 2008-10-23 17:45:52 +02:00
Jelmer Vernooij
cf659fa4fe Import talloc_stack into util library. 2008-10-23 17:27:30 +02:00
Jelmer Vernooij
44b728958a Use common error definitions. 2008-10-23 15:35:21 +02:00
Jelmer Vernooij
94c522b1ab Import NTSTATUS defines from Samba 3. 2008-10-23 03:29:20 +02:00
Günther Deschner
9994cbffa7 s3-build: temporarily add asn1_proto file.
Jelmer, how can we get this autogenerated from samba3 in the non merged-build
case ?

Guenther
2008-10-22 21:58:00 +02:00
Günther Deschner
5d805425b9 lib-util: merge from s3 asn1.
Guenther
2008-10-22 21:37:36 +02:00
Günther Deschner
d81a9a9837 lib-util: fix c++ compile warning.
Guenther
2008-10-22 21:37:36 +02:00
Jelmer Vernooij
87ec1d2532 Make sure prototypes are always included, make some functions static and
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
0dfd5601a0 Move discard_const hack to memory.hso it can be used by Samba 3. 2008-10-20 17:15:17 +02:00
Jelmer Vernooij
93e52145a8 Provide two symbols to allow ndrdump compiled by Samba 3 to be used for
Samba 4.
2008-10-20 13:24:16 +02:00
Jelmer Vernooij
085e7b0b6c Fix segfault when using DEBUG() in the merged build. 2008-10-19 14:14:55 +02:00
Jelmer Vernooij
069437a2fa Just call talloc_free directly rather than through a helper function. 2008-10-19 13:52:56 +02:00
Jelmer Vernooij
8e704e4107 Move more functions out of util_str.c into the shared util.c. 2008-10-19 12:38:16 +02:00
Jelmer Vernooij
c484b0465c Move SMB-specific attribute function to SMB client library. 2008-10-19 10:45:02 +02:00
Günther Deschner
7966b00b3a lib/util: fix strhex_to_data_blob to use data_blob_talloc.
Jelmer, I'm pretty sure you wanted to do this. Please check.

Guenther
2008-10-18 22:46:37 +02:00