summaryrefslogtreecommitdiff
path: root/lib/util/util.h
AgeCommit message (Collapse)AuthorFilesLines
2009-09-15libcli:nbt put util_net.c protos in new header fileAndrew Bartlett1-21/+0
This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett
2009-09-15libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett1-1/+21
This starts the process to have Samba4 use lmhosts. Andrew Bartlett
2009-09-10util_strlist: Add some more "const"sMatthias Dieter Wallnöfer1-5/+8
2009-09-08lib/util: add unique string generator helper functionSteven Danneman1-0/+10
2009-05-29util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.Günther Deschner1-0/+12
Guenther
2009-05-14Add new functions and tests: str_list_make_empty(), str_list_make_single()Andrew Bartlett1-0/+10
2009-05-03Clean up after Tridge's util_strlist changesVolker Lendecke1-7/+9
2009-04-09added _const versions of some of the str_list_*() functionsAndrew Tridgell1-0/+20
These const versions don't copy the strings themselves, which is useful when those strings point at known constant data (into the schema in this case)
2009-04-09added str_list_unique() and str_list_show()Andrew Tridgell1-8/+13
I also undid some of the const changes from Andrew, as they didn't in fact resolve the const warnings.
2009-04-08Rework util_strlist prototypes to use a bit more and less constAndrew Bartlett1-2/+11
Hopefully this produces less warnings, but it might produce more... Andrew Bartlett
2009-03-03lib/util: remove samba specific talloc_get_type_abort()Stefan Metzmacher1-7/+0
metze
2009-03-01Move next_token_talloc() to top-level.Jelmer Vernooij1-0/+15
2009-02-23Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman1-0/+10
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
2009-02-21Fix shadowed declaration warningTim Prouty1-1/+1
2009-02-20Moved become_daemon() and close_low_fds() to shared util libSteven Danneman1-3/+6
2009-02-13Replace get_myname() with the talloc version from v3-3-testVolker Lendecke1-2/+2
2009-02-09Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵Jelmer Vernooij1-2/+0
and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
2008-12-30s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4Tim Prouty1-0/+2
2008-11-20s3 build: Fix incomplete types warningsTim Prouty1-3/+2
2008-11-01Move ABS() to libutil.Jelmer Vernooij1-0/+4
2008-11-01Fix includes in installed version of talloc_stack.h.Jelmer Vernooij1-1/+1
2008-11-01Only provide valgrind_strlen prototype when it's being compiled in.Jelmer Vernooij1-2/+2
2008-11-01Samba3: Include util.h header file rather than having custom prototypes.Jelmer Vernooij1-7/+23
2008-10-24Remove include/local.h and move defines to more appropriate places.Jelmer Vernooij1-0/+2
2008-10-24Move charset library to top level.Jelmer Vernooij1-1/+1
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij1-2/+4
2008-10-23Import talloc_stack into util library.Jelmer Vernooij1-0/+1
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+11
remove some unused functions.
2008-10-20Move discard_const hack to memory.hso it can be used by Samba 3.Jelmer Vernooij1-27/+0
2008-10-18Add extra parameter consistent with samba3.Jelmer Vernooij1-1/+1
2008-10-18Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij1-1/+1
3.
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-1/+1
2008-10-18Add extra argument free_on_fail to realloc_array() in Samba 4, as used by ↵Jelmer Vernooij1-1/+1
Samba 3.
2008-10-18Move some of the memory utility macros to a separate header (for now).Jelmer Vernooij1-69/+1
2008-10-15Share libndr.h between Samba 3 and Samba 4.Jelmer Vernooij1-0/+2
2008-10-12Use common util_file code.Jelmer Vernooij1-4/+4
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-5/+4
2008-10-11Clean up properly.Jelmer Vernooij1-1/+0
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+813
Conflicts: source4/Makefile