1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/util
Michael Adam 471a853e34 lib/util: add server_id_set_disconnected() and server_id_is_disconnected()
Utility functions for handling the special placeholder server-id value
for disconnected clients (to be used for durable handles).

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-08-17 20:07:07 +02:00
..
charset lib/util: Fix typo in comment. 2012-06-15 01:18:08 +02:00
tests s3-param Remove 'time offset' from smb.conf 2011-06-11 03:54:44 +02:00
asn1.c lib/util: Allocate enough space to reference blob->data[len] 2012-07-13 08:12:17 +02:00
asn1.h lib/util/asn1.c - remove the "const" specifier from OID 2010-12-21 15:10:37 +11:00
attr.h lib/util/attr: add _UNUSED_ marco 2011-07-14 20:11:22 +02:00
base64.c lib: added base64_decode_data_blob_talloc() 2011-09-08 03:35:27 +02:00
become_daemon.c build: Remove sys_open wrapper 2012-04-05 02:39:08 +02:00
binsearch.h util: added BINARY_ARRAY_SEARCH_V() 2010-09-29 16:36:22 -07:00
bitmap.c lib/util Move bitmap.c to lib/util 2011-07-08 11:23:23 +02:00
bitmap.h lib/util Move bitmap.c to lib/util 2011-07-08 11:23:23 +02:00
blocking.c s3: Fix the clustering build 2011-12-17 18:41:39 +01:00
byteorder.h lib/util: add RBVAL, RBVALS, RSBVAL and RSRBVALS macros 2011-04-24 09:48:51 +02:00
capability.c
data_blob.c Change data_blob() to be based on top of data_blob_talloc(), instead of the reverse (as it is now). 2010-05-18 21:57:23 +02:00
data_blob.h s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value 2011-10-12 22:45:53 +02:00
debug_s3.c loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. 2012-07-18 15:07:23 +09:30
debug_s3.h Fix warning messages on Freebsd 4.6.2. 2011-06-02 10:10:39 -07:00
debug.c debug: Do not constantly rename logs when max log size = 0 2012-06-11 13:34:43 +02:00
debug.h Fix bug #8877 - Syslog broken owing to mistyping of debug_settings.syslog. 2012-04-20 00:06:12 +02:00
dlinklist.h util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1) 2010-02-10 15:53:58 -08:00
Doxyfile
dprintf.c lib/util/charset: Remove 'display charset' 2011-06-23 13:47:27 +02:00
fault.c Start to add truncate checks on all uses of strlcpy(). Reading lwn 2012-03-29 20:48:15 +02:00
fsusage.c build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any more 2012-04-05 02:39:08 +02:00
genrand.c s3: Fix the clustering build 2011-12-17 18:41:39 +01:00
idtree.c idtree: fix overflow for v. large ids on allocation and removal 2010-12-06 05:02:22 +01:00
mainpage.dox
memory.h lib/util: remove implicit discard_const_p() from SAFE_FREE() 2010-08-28 08:41:00 +02:00
modules.c lib/util/modules.c: fix stackframe leak. 2012-07-18 05:02:31 +09:30
ms_fnmatch.c libcli/smb move enum protocol_types to a common header 2011-07-06 05:32:51 +02:00
params.c loadparm: fix a load of uninitialized memory errors found by valgrind. 2012-02-03 11:10:29 +01:00
parmlist.c lib/util: allow parmlist.c to compile under s3 includes.h 2011-06-21 09:36:22 +10:00
parmlist.h s3-param use common struct parmlist_entry to hold parametric options 2011-07-08 11:23:23 +02:00
pidfile.c Add debugs to functions. Add pidfile_unlink(). 2012-07-19 16:08:16 -07:00
pidfile.h Add debugs to functions. Add pidfile_unlink(). 2012-07-19 16:08:16 -07:00
rbtree.c
rbtree.h
README
rfc1738.c build: avoid util.h as a public header name due to conflict with MacOS 2011-09-23 09:24:03 +02:00
safe_string.h
samba_modules.h lib/util: Add smb_load_module that returns DEBUG(0) errors on failure 2012-04-03 14:25:12 +10:00
samba_util.h lib/util: add server_id_set_disconnected() and server_id_is_disconnected() 2012-08-17 20:07:07 +02:00
samba-util.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
select.c lib/util: Remove sys_poll as it is no longer needed 2012-02-16 15:49:21 -08:00
select.h lib/util: Remove sys_poll as it is no longer needed 2012-02-16 15:49:21 -08:00
server_id.c lib/util: add server_id_set_disconnected() and server_id_is_disconnected() 2012-08-17 20:07:07 +02:00
setid.c Ensure we select the correct syscall numbers on a 32-bit Linux system. 2012-07-02 18:38:14 -07:00
setid.h Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
signal.c
smb_threads_internal.h
smb_threads.c
smb_threads.h
string_wrappers.h lib/util: fix use of a non-existent word (existant) in a comment 2012-06-12 07:21:41 +02:00
substitute.c lib/util Re-merge the string_sub() and all_string_sub() from source3 2011-04-29 16:38:15 +10:00
system.c lib/util: Remove obsolete sys_getpid() and sys_fork(). 2012-03-24 21:55:40 +01:00
talloc_stack.c talloc_stack: abort in developer me if no stackframe on talloc_tos() 2012-07-18 15:07:27 +09:30
talloc_stack.h talloc_stack: abort in developer me if no stackframe on talloc_tos() 2012-07-18 15:07:27 +09:30
tevent_ntstatus.c lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.c 2012-05-14 15:12:34 +02:00
tevent_ntstatus.h lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.c 2012-05-14 15:12:34 +02:00
tevent_unix.c tevent: include libreplace heade before tevent header 2010-09-21 19:11:58 -07:00
tevent_unix.h Use <tevent.h> so the system tevent gets included, if enabled. 2011-02-28 21:11:21 +01:00
tevent_werror.c lib: add tevent_req_poll_werror 2012-05-30 00:37:56 +02:00
tevent_werror.h lib: add tevent_req_poll_werror 2012-05-30 00:37:56 +02:00
time.c lib/util: Map 0x7fffffffffffffffLL as 0x7fffffffffffffffLL in time conversion 2012-05-08 06:41:43 +02:00
time.h util/time: Remove unnecessary _PUBLIC_ - that's implicit for things in header files. 2011-11-03 14:34:08 +01:00
tsort.h s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb code 2010-02-14 18:44:20 +11:00
unix_privs.c Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
util_file.c lib/util: remove the "includes.h" dependeny from util_file.c 2011-10-22 09:28:26 +02:00
util_getent.c
util_id.c s3:auth: change num_groups to from size_t to uint32_t 2011-02-22 16:20:11 +11:00
util_ldb.c ldb: use #include <ldb.h> for ldb 2011-02-10 06:51:07 +01:00
util_ldb.h lib/util/util_ldb.h: fix licence/copyright 2011-06-10 15:11:26 +02:00
util_net.c util: fix build on platforms without IPv6 support 2012-06-07 03:09:49 +02:00
util_net.h net: Don't register link local addresses with DNS 2011-09-24 21:46:06 -07:00
util_ntdb.c util: util_ntdb ntdb_fetch_int32/ntdb_store_int32 and ntdb_add_int32_atomic 2012-06-22 07:35:17 +02:00
util_ntdb.h util: util_ntdb ntdb_fetch_int32/ntdb_store_int32 and ntdb_add_int32_atomic 2012-06-22 07:35:17 +02:00
util_paths.c lib/util use modules_path(), data_path() and shlib_ext() from source3 2011-06-06 17:37:51 +10:00
util_pw.c lib/util: Remove dummy wrapper for getgrgid(). 2012-03-24 15:26:36 +01:00
util_pw.h lib/util: Remove dummy wrapper for getgrgid(). 2012-03-24 15:26:36 +01:00
util_runcmd.c runcmd: use set_close_on_exec() 2011-12-22 14:00:06 +01:00
util_str_common.c First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems 2011-07-19 13:19:29 -07:00
util_str.c lib/util: Remove unused str_format_nbt_domain() 2012-02-10 16:45:13 +11:00
util_strlist.c lib/util Move simple string routines into common code. 2011-04-13 14:47:07 +10:00
util_tdb.c util_tdb: move timeout chainlock variants from source3/lib/util/util_tdb.c 2012-06-22 07:35:17 +02:00
util_tdb.h util_tdb: move timeout chainlock variants from source3/lib/util/util_tdb.c 2012-06-22 07:35:17 +02:00
util.c lib/util: fix fd leak in anonymous_shared_allocate() if MAP_ANON is not available 2012-06-29 15:21:10 +02:00
wscript util: Add --disable-fault-handling. 2012-03-15 05:55:03 +01:00
wscript_build Move source4/smbd/pidfile into lib/util in preparation for making it in common. 2012-07-19 15:41:52 -07:00
wscript_configure lib/replace: Merge remaining xattr test details from lib/util 2012-06-02 02:13:49 +02:00
xfile.c lib/util: remove the "includes.h" dependeny from xfile.c 2011-10-22 09:28:27 +02:00
xfile.h

This directory contains libutil (until we can think of a better name)

The idea is that this library contains simple but useful data structures 
and support functions that are generally useful; not just for Samba but for 
other projects as well. Functions here should not depend on any external 
libraries, just on libc (perhaps partially provided by libreplace).