summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* tdb: Fix Coverity ID 2192: NO_EFFECTVolker Lendecke2011-03-271-1/+1
| | | | (ret < 0) can never be true
* s3: Fix Coverity ID 958: BAD_SIZEOFVolker Lendecke2011-03-271-1/+1
| | | | | | This is supposed to wipe out the md5 context, not only the first bytes of it. Others, please check!
* charcnv: ensure convert_string_error doesn't conflict with s3 functionAndrew Tridgell2011-03-251-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
* lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett2011-03-256-79/+79
| | | | | | This better reflects what this structure is Andrew Bartlett
* charcnv: added convert_string_error()Andrew Tridgell2011-03-251-33/+57
| | | | | | this will allow us to remove conv_silent Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* unistr: moved some UCS2 macros into util_unistrAndrew Tridgell2011-03-251-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>
* libcli: created smb_constants.hAndrew Tridgell2011-03-251-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)
* tdb: rename convert_string() to tdb_convert_string()Andrew Tridgell2011-03-251-5/+5
| | | | this prevents a conflict with the convert_string() in samba
* lib: remove unused pieces of string_wrappers.hAndrew Tridgell2011-03-251-6/+0
|
* lib: move the string wrappers from source3/include to common lib/utilAndrew Tridgell2011-03-251-0/+132
| | | | | | this will allow the common charcnv library to use the string wrappers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-245-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
* charset: remove another allow_badcharcnv check Andrew Tridgell2011-03-241-3/+0
| | | | better to fail only if there is a bad character
* async_rec/async_sock.c - add an additional "const"Matthias Dieter Wallnöfer2011-03-231-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
* lib/util: Merge basic string length and comparison functionsAndrew Bartlett2011-03-235-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
* charcnv: remove the automatic fail on allow_badcharcnv trueAndrew Tridgell2011-03-231-5/+0
| | | | we should just fail the call if the string really is bad
* fault: fixed smb_panic() prototypesAndrew Tridgell2011-03-231-2/+0
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104
* fault: moved fault.c into common libraryAndrew Tridgell2011-03-231-2/+2
|
* fault: switch s4 to use the common fault.cAndrew Tridgell2011-03-232-237/+1
|
* fault: get fault.c ready for use by s4Andrew Tridgell2011-03-232-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
* fault: moved s3 fault.c to top levelAndrew Tridgell2011-03-231-0/+380
|
* fault: rename fault.c to fault_s4.cAndrew Tridgell2011-03-232-11/+11
| | | | this is in preparation for merging the s3 fault code into common
* lib/replace/test: Add missing include for prototype.Jelmer Vernooij2011-03-191-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
* lib/: Fix prototypes for functions.Jelmer Vernooij2011-03-192-3/+5
|
* libreplace: Fix prototypes for all functions.Jelmer Vernooij2011-03-194-1/+8
|
* lib-util: put data_blob back in the public librarySimo Sorce2011-03-171-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
* dcerpc: we do not need these as public headersSimo Sorce2011-03-161-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
* lib: don't install public headers if a private libraryAndrew Tridgell2011-03-153-0/+3
| | | | | for talloc/tevent/tdb, only install headers if we are doing a standalone build
* lib: fixed header pathsAndrew Tridgell2011-03-151-8/+8
| | | | | this is a public header, and needs to use sane paths for the public header creation
* talloc: use <talloc.h> not "talloc.h"Andrew Tridgell2011-03-151-1/+1
| | | | this ensures we use the right header
* tdb: use public_headers to install header filesAndrew Tridgell2011-03-151-1/+1
|
* tdb: use system include style for system headersAndrew Tridgell2011-03-151-1/+1
|
* tevent: use public_headers for tevent.hAndrew Tridgell2011-03-151-1/+1
|
* talloc: use public_headers to install talloc.h and pytalloc.hAndrew Tridgell2011-03-151-2/+2
| | | | this allows them to be included in the test_headers.h generated header
* lib/util/fault.c - "call_backtrace" - no need to have "backtrace_size" as size_tMatthias Dieter Wallnöfer2011-03-101-1/+1
| | | | The function "backtrace" returns an "int".
* tevent: change version to 0.9.11tevent-0.9.11Stefan Metzmacher2011-03-102-1/+74
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 10 10:24:49 CET 2011 on sn-devel-104
* tevent/poll: use fde->additional_flags to hold the array indexStefan Metzmacher2011-03-101-17/+6
| | | | metze
* tevent: change tevent_fd->additional_flags to uint64_tStefan Metzmacher2011-03-101-1/+1
| | | | metze
* socket_wrapper: fix handling of addr and addrlenStefan Metzmacher2011-03-091-4/+5
| | | | metze
* tevent: Fixed tevent_wakeup_send code example.Andreas Schneider2011-03-091-1/+1
|
* lib/socket_wrapper: try to fix the build on solarisStefan Metzmacher2011-03-041-0/+13
| | | | | | | struct msg does not contain msg_control, msg_controllen and msg_flags on solaris. metze
* debug: fixed a valgrind errorAndrew Tridgell2011-03-041-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
* libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner2011-03-043-0/+31
| | | | | | | | already used). Bjoern, Metze, please check. Guenther
* socket_wrapper: use swrap_sendmsg_before()/after() in swrap_writev()Stefan Metzmacher2011-03-031-49/+17
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 3 23:43:39 CET 2011 on sn-devel-104
* socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendmsg()Stefan Metzmacher2011-03-031-47/+66
| | | | | | | This also adds the same logic for broadcast as in swrap_sendto() for SOCK_DGRAM. metze
* socket_wrapper: use swrap_sendmsg_before()/after() in swrap_send()Stefan Metzmacher2011-03-031-37/+18
| | | | metze
* socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendto()Stefan Metzmacher2011-03-031-86/+35
| | | | metze
* socket_wrapper: add swrap_sendmsg_before/after helper functionsStefan Metzmacher2011-03-031-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
* socket_wrapper: replace recvmsg() correctlyStefan Metzmacher2011-03-031-0/+6
| | | | metze
* socket_wrapper: readv() should only work on connected socketsStefan Metzmacher2011-03-031-0/+5
| | | | metze
* socket_wrapper: move swrap_ioctl() above the send*/recv* functionsStefan Metzmacher2011-03-031-26/+26
| | | | metze