summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.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
* socket_wrapper: fix compiler warningsStefan Metzmacher2011-03-031-28/+37
| | | | metze
* socket_wrapper: don't allow connect() to the broadcast addressStefan Metzmacher2011-03-031-1/+8
| | | | | | This will simplify other code later. metze
* lib/util: LIBCRYPTO is in common already, so add it to samba-util-common.Günther Deschner2011-03-031-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 3 18:08:30 CET 2011 on sn-devel-104
* lib/util: new merged debug systemAndrew Bartlett2011-03-017-426/+1461
| | | | | | | | | | | | This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
* lib/util move debug.[ch] out of the wayAndrew Bartlett2011-03-013-1/+1
| | | | | | | This will allow a modified version of the s3 debug system to be the new common debug system. Andrew Bartlett
* lib/util/time: Merge time functions from source3/lib/time.cAndrew Bartlett2011-03-012-0/+76
|