summaryrefslogtreecommitdiff
path: root/lib/util/samba_util.h
AgeCommit message (Collapse)AuthorFilesLines
2012-08-17lib/util: add server_id_set_disconnected() and server_id_is_disconnected()Michael Adam1-0/+12
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-17lib/util: add server_id_from_string()Stefan Metzmacher1-0/+2
metze
2012-08-17lib/util: add server_id_equal()Stefan Metzmacher1-0/+1
metze
2012-06-08samba_util: mark smb_panic as _NORETURN_.Rusty Russell1-1/+1
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Fri Jun 8 09:14:26 CEST 2012 on sn-devel-104
2012-05-11util: use SMB_ASSERT with panic also in non-developer builds !!!Michael Adam1-7/+0
This has been around since a long time: In non-developer builds, we don't panic in SMB_ASSERT but happly continue with the error condition, which is ridiculous and dangerous...
2012-05-11util: reformat the DEVELOPER definition of SMB_ASSERTMichael Adam1-3/+8
2012-03-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij1-10/+0
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
2012-03-24libreplace: Add getpeereid implementation.Jelmer Vernooij1-2/+0
2012-03-24lib/util: Move calloc_array and memalign_array to top-level libutil.Jelmer Vernooij1-0/+4
2012-03-24lib/util: Remove prototype for removed sys_memalign.Jelmer Vernooij1-4/+0
2012-03-24lib/util: Remove trivial wrapper sys_connect() around connect().Jelmer Vernooij1-1/+0
2012-03-04change low FDs are handled in SambaAndrew Bartlett1-1/+1
We now only close fds 0, 1, 2 when we are a forked daemon, and take care not to close a file descriptor that we might need for foreground stdin monitoring. This should fix stdout logging in the lsa and epmapper deamons (ie in make test). Andrew Bartlett
2012-02-17lib/util: Remove unused sys_inet_makeaddr()Andrew Bartlett1-2/+0
Found by callcatcher. Andrew Bartlett
2012-02-17lib/util: Remove unused sys_gethostbyname()Andrew Bartlett1-6/+0
Found by callcatcher. Andrew Bartlett
2012-02-10lib/util: Remove unused str_format_nbt_domain()Andrew Bartlett1-6/+0
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
2012-02-06lib/util: Add hex_encode_bufVolker Lendecke1-0/+5
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 6 09:15:33 CET 2012 on sn-devel-104
2012-01-25Introduce dump_data_fileVolker Lendecke1-0/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 25 11:57:18 CET 2012 on sn-devel-104
2011-12-17s3: Fix the clustering buildVolker Lendecke1-1/+1
ctdb_private.h already defines set_close_on_exec. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Dec 17 18:41:39 CET 2011 on sn-devel-104
2011-12-15lib/util: added set_close_on_exec()Andrew Tridgell1-0/+5
this was already in tevent_util.c, but library layering prevented us from using it in some other libraries
2011-09-23build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett1-0/+917