1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/util
Joseph Sutton a334ad85b8 lib:util: Remove redundant casts in PUSH_*() macros
The PUSH_*() macros already cast their arguments to the expected type,
so we don’t need to cast the arguments *again* prior to invoking the
macros.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-12-21 20:21:34 +00:00
..
charset util/charset: Remove trailing whitespace 2023-12-08 02:28:33 +00:00
debug-classes
tests lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
access.c lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
access.h
asn1.c
asn1.h
attr.h
base64.c util/base64: add a note about zero length strings 2023-08-08 04:39:38 +00:00
base64.h
become_daemon.c lib/util/become_daemon.c: use DBG_STARTUP_NOTICE 2023-11-20 03:52:33 +00:00
become_daemon.h
binsearch.h
bitmap.c
bitmap.h
blocking.c
blocking.h
bytearray.h lib:util: Remove redundant casts in PUSH_*() macros 2023-12-21 20:21:34 +00:00
byteorder.h lib:util: Parenthesize macro parameters 2023-12-21 20:21:34 +00:00
charset_compat.h
close_low_fd.c lib/util: use RUNNING_ON_VALGRIND to check if valgrind is used 2023-06-01 07:20:31 +00:00
close_low_fd.h
data_blob.c conditional_aces: Avoid manual parsing for ace_condition_bytes, use DATA_BLOB 2023-09-26 23:45:36 +00:00
data_blob.h util/data_blob: Fix code spelling 2023-12-08 02:28:33 +00:00
debug_s3.c
debug_s3.h
debug.c lib/util: add debug_set_forced_log_priority() 2023-11-24 09:30:38 +00:00
debug.h lib/util: convert DBG_STARTUP_NOTICE() to use debug_set_forced_log_priority(DBGLVL_NOTICE) 2023-11-24 09:30:38 +00:00
discard.h
dlinklist.h lib/util: sync DLIST_DEMOTE_SHORT() changes to dlinklist.h 2023-10-13 09:49:33 +00:00
Doxyfile
dprintf.c
fault.c lib/fault: During smb_panic() print process comment and setprocname() title 2023-07-21 01:25:37 +00:00
fault.h
fsusage.c
genrand_util.c
genrand.c lib:util: prefer size_t for random data generation functions 2023-05-16 23:29:32 +00:00
genrand.h lib:util: prefer size_t for random data generation functions 2023-05-16 23:29:32 +00:00
getpass.c
gpfswrap.c gpfswrap: Add wrapper for gpfs_register_cifs_export 2023-06-25 15:09:34 +00:00
gpfswrap.h gpfswrap: Add wrapper for gpfs_register_cifs_export 2023-06-25 15:09:34 +00:00
idtree_random.c
idtree_random.h
idtree.c lib:util: Remove always‐false comparison (CID 242193) 2023-10-13 02:18:31 +00:00
idtree.h
iov_buf.c lib/util: inline iov_{buflen,buf,advance}() 2023-09-06 19:30:35 +00:00
iov_buf.h lib/util: inline iov_{buflen,buf,advance}() 2023-09-06 19:30:35 +00:00
mainpage.dox
memcache.c lib:util: Add a gfree_memcache() 2023-10-27 05:54:33 +00:00
memcache.h lib:util: Add a gfree_memcache() 2023-10-27 05:54:33 +00:00
memory.h
mkdir_p.c
mkdir_p.h
modules.c lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
ms_fnmatch.c lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
msghdr.c
msghdr.h
params.c lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
pidfile.c
pidfile.h
rbtree.c
rbtree.h
README
rfc1738.c lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
safe_string.h
samba_modules.h
samba_util.h lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
samba-util.pc.in
select.c
select.h
server_id_db.c
server_id_db.h
server_id.c
server_id.h
setid.c
setid.h
signal.c
signal.h
smb_strtox.c lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
smb_strtox.h
smb_threads_internal.h
smb_threads.c
smb_threads.h
stable_sort.c
stable_sort.h
string_wrappers.h lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
strv_util.c
strv_util.h
strv.c
strv.h
substitute.c
substitute.h
sys_popen.c
sys_popen.h
sys_rw_data.c
sys_rw_data.h
sys_rw.c
sys_rw.h
system.c
talloc_keep_secret.c
talloc_keep_secret.h
talloc_report_printf.c lib:util: prefer mallinfo2() over mallinfo() if available 2023-03-09 20:38:31 +00:00
talloc_report_printf.h
talloc_report.c
talloc_report.h
talloc_stack.c
talloc_stack.h
tevent_debug.c lib/util: call tevent_set_max_debug_level() in samba_tevent_set_debug() 2023-07-19 08:02:33 +00:00
tevent_ntstatus.c
tevent_ntstatus.h
tevent_req_profile.c
tevent_req_profile.h
tevent_unix.c
tevent_unix.h
tevent_werror.c
tevent_werror.h
tfork.c lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
tfork.h lib:util: Fix code spelling 2023-04-14 05:25:33 +00:00
tftw.c
tftw.h
time_basic.c
time_basic.h
time.c lib:util: Define TIME_FIXUP_CONSTANT_INT using INT64_C() macro 2023-12-21 20:21:34 +00:00
time.h
tini.c
tini.h
tiniparser.c
tiniparser.h
tsort.h
unix_match.c
unix_match.h
unix_privs.c
util_file.c lib/util: Add missing newlines to logging messages 2023-08-08 04:39:36 +00:00
util_id.c
util_ldb.c lib/util: Move DEBUG() calls in gendb_search_v to common levels and new DBG_*() pattern 2023-07-31 10:56:54 +00:00
util_ldb.h
util_net.c lib/util: add samba_socket_{poll,sock,poll_or_sock}_error() 2023-10-24 09:36:37 +00:00
util_net.h lib/util: add samba_socket_{poll,sock,poll_or_sock}_error() 2023-10-24 09:36:37 +00:00
util_paths.c
util_paths.h
util_process.c lib/util: Fix comment 2023-10-25 22:23:37 +00:00
util_process.h lib/fault: During smb_panic() print process comment and setprocname() title 2023-07-21 01:25:37 +00:00
util_pw.c
util_pw.h
util_runcmd.c
util_str_common.c
util_str_escape.c lib/util: Add missing newlines to logging messages 2023-08-08 04:39:36 +00:00
util_str_escape.h
util_str_hex.c
util_str_hex.h
util_str.c lib: Fix whitespace 2023-03-09 18:10:33 +00:00
util_strlist_v3.c lib/util: Add missing newlines to logging messages 2023-08-08 04:39:36 +00:00
util_strlist.c
util_strlist.h
util_tdb.c
util_tdb.h
util.c util: Remove redundant assertion (CID 1497841) 2023-10-13 02:18:31 +00:00
util.h lib: Add dump_data_addbuf() 2023-03-09 18:10:33 +00:00
wscript
wscript_build lib/fault: During smb_panic() print process comment and setprocname() title 2023-07-21 01:25:37 +00:00
wscript_configure lib:util: prefer mallinfo2() over mallinfo() if available 2023-03-09 20:38:31 +00:00

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).