summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-03-29debug: ignore debug_set_logfile() with a blank stringAndrew Tridgell1-1/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 29 07:03:58 CEST 2011 on sn-devel-104
2011-03-29lib: removed a spurios declaration of 'logfile'Andrew Tridgell1-1/+0
we don't have a global logfile variable any more Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-27tdb: Fix Coverity ID 2192: NO_EFFECTVolker Lendecke1-1/+1
(ret < 0) can never be true
2011-03-27s3: Fix Coverity ID 958: BAD_SIZEOFVolker Lendecke1-1/+1
This is supposed to wipe out the md5 context, not only the first bytes of it. Others, please check!
2011-03-25charcnv: ensure convert_string_error doesn't conflict with s3 functionAndrew Tridgell1-5/+5
use _handle for handle based functions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Mar 25 05:22:24 CET 2011 on sn-devel-104
2011-03-25lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett6-79/+79
This better reflects what this structure is Andrew Bartlett
2011-03-25charcnv: added convert_string_error()Andrew Tridgell1-33/+57
this will allow us to remove conv_silent Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-25unistr: moved some UCS2 macros into util_unistrAndrew Tridgell1-9/+0
we need to move towards eliminating smb_ucs2_t. This moves a couple of the related macros into the only file they are used in Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-25libcli: created smb_constants.hAndrew Tridgell1-0/+1
this starts the (long!) process of moving some of the SMB constants into common files. This just moves the FLAGS2_ defines, which are needed for common string routines (for FLAGS2_UNICODE_STRINGS)
2011-03-25tdb: rename convert_string() to tdb_convert_string()Andrew Tridgell1-5/+5
this prevents a conflict with the convert_string() in samba
2011-03-25lib: remove unused pieces of string_wrappers.hAndrew Tridgell1-6/+0
2011-03-25lib: move the string wrappers from source3/include to common lib/utilAndrew Tridgell1-0/+132
this will allow the common charcnv library to use the string wrappers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell5-46/+38
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24charset: remove another allow_badcharcnv check Andrew Tridgell1-3/+0
better to fail only if there is a bad character
2011-03-23async_rec/async_sock.c - add an additional "const"Matthias Dieter Wallnöfer1-1/+2
In order to suppress a build warning. Acked-by: Volker and Metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Mar 23 10:26:23 CET 2011 on sn-devel-104
2011-03-23lib/util: Merge basic string length and comparison functionsAndrew Bartlett5-343/+427
These functions now use the codepoints for more accurate string handling and now form common code. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 23 08:21:54 CET 2011 on sn-devel-104
2011-03-23charcnv: remove the automatic fail on allow_badcharcnv trueAndrew Tridgell1-5/+0
we should just fail the call if the string really is bad
2011-03-23fault: fixed smb_panic() prototypesAndrew Tridgell1-2/+0
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104
2011-03-23fault: moved fault.c into common libraryAndrew Tridgell1-2/+2
2011-03-23fault: switch s4 to use the common fault.cAndrew Tridgell2-237/+1
2011-03-23fault: get fault.c ready for use by s4Andrew Tridgell2-299/+74
this moves the s3 specific dumpcore code into source3/lib/dumpcore.c, and uses a function pointer to setup which smb_panic call to use
2011-03-23fault: moved s3 fault.c to top levelAndrew Tridgell1-0/+380
2011-03-23fault: rename fault.c to fault_s4.cAndrew Tridgell2-11/+11
this is in preparation for merging the s3 fault code into common
2011-03-19lib/replace/test: Add missing include for prototype.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
2011-03-19lib/: Fix prototypes for functions.Jelmer Vernooij2-3/+5
2011-03-19libreplace: Fix prototypes for all functions.Jelmer Vernooij4-1/+8
2011-03-17lib-util: put data_blob back in the public librarySimo Sorce1-2/+2
data_blob is defined ina public header, so it needs to be exposed in the public library. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Mar 17 15:39:08 CET 2011 on sn-devel-104
2011-03-16dcerpc: we do not need these as public headersSimo Sorce1-1/+1
latest openchange doesn't need these headers either fix _PRINTF_ATTRIBUTE in tdr.h, as it was failing to work after removing proto.h due to side effects. PRINTF_ATTRIBUTE is ok and is define in talloc.h which is included by tdr.h Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Mar 16 23:45:20 CET 2011 on sn-devel-104
2011-03-15lib: don't install public headers if a private libraryAndrew Tridgell3-0/+3
for talloc/tevent/tdb, only install headers if we are doing a standalone build
2011-03-15lib: fixed header pathsAndrew Tridgell1-8/+8
this is a public header, and needs to use sane paths for the public header creation
2011-03-15talloc: use <talloc.h> not "talloc.h"Andrew Tridgell1-1/+1
this ensures we use the right header
2011-03-15tdb: use public_headers to install header filesAndrew Tridgell1-1/+1
2011-03-15tdb: use system include style for system headersAndrew Tridgell1-1/+1
2011-03-15tevent: use public_headers for tevent.hAndrew Tridgell1-1/+1
2011-03-15talloc: use public_headers to install talloc.h and pytalloc.hAndrew Tridgell1-2/+2
this allows them to be included in the test_headers.h generated header
2011-03-10lib/util/fault.c - "call_backtrace" - no need to have "backtrace_size" as size_tMatthias Dieter Wallnöfer1-1/+1
The function "backtrace" returns an "int".
2011-03-10tevent: change version to 0.9.11Stefan Metzmacher2-1/+74
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 10 10:24:49 CET 2011 on sn-devel-104
2011-03-10tevent/poll: use fde->additional_flags to hold the array indexStefan Metzmacher1-17/+6
metze
2011-03-10tevent: change tevent_fd->additional_flags to uint64_tStefan Metzmacher1-1/+1
metze
2011-03-09socket_wrapper: fix handling of addr and addrlenStefan Metzmacher1-4/+5
metze
2011-03-09tevent: Fixed tevent_wakeup_send code example.Andreas Schneider1-1/+1
2011-03-04lib/socket_wrapper: try to fix the build on solarisStefan Metzmacher1-0/+13
struct msg does not contain msg_control, msg_controllen and msg_flags on solaris. metze
2011-03-04debug: fixed a valgrind errorAndrew Tridgell1-1/+4
Thanks to Volker for spotting this one! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Mar 4 03:09:52 CET 2011 on sn-devel-104
2011-03-04libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner3-0/+31
already used). Bjoern, Metze, please check. Guenther
2011-03-03socket_wrapper: use swrap_sendmsg_before()/after() in swrap_writev()Stefan Metzmacher1-49/+17
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 3 23:43:39 CET 2011 on sn-devel-104
2011-03-03socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendmsg()Stefan Metzmacher1-47/+66
This also adds the same logic for broadcast as in swrap_sendto() for SOCK_DGRAM. metze
2011-03-03socket_wrapper: use swrap_sendmsg_before()/after() in swrap_send()Stefan Metzmacher1-37/+18
metze
2011-03-03socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendto()Stefan Metzmacher1-86/+35
metze
2011-03-03socket_wrapper: add swrap_sendmsg_before/after helper functionsStefan Metzmacher1-0/+191
Currently have almost the same logic in swrap_send(), swrap_sendto(), swrap_writev() and swrap_sendmsg(), this helper functions let combine all the logic in 2 places. metze
2011-03-03socket_wrapper: replace recvmsg() correctlyStefan Metzmacher1-0/+6
metze