mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
lib/util: move memcache.[ch] to the toplevel 'samba-util' library
This is generic enough that it could be used in all code. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jul 18 15:43:33 CEST 2014 on sn-devel-104
This commit is contained in:
parent
b560fac7f7
commit
45807028d4
@ -8,7 +8,7 @@ bld.SAMBA_LIBRARY('samba-util',
|
||||
util_strlist.c util_paths.c idtree.c debug.c fault.c base64.c
|
||||
util_str.c util_str_common.c substitute.c ms_fnmatch.c
|
||||
server_id.c dprintf.c parmlist.c bitmap.c pidfile.c
|
||||
tevent_debug.c util_process.c''',
|
||||
tevent_debug.c util_process.c memcache.c''',
|
||||
deps='DYNCONFIG',
|
||||
public_deps='talloc tevent execinfo pthread LIBCRYPTO charset util_setid systemd-daemon',
|
||||
public_headers='debug.h attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h samba_util.h string_wrappers.h',
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "system/passwd.h"
|
||||
#include "auth.h"
|
||||
#include "secrets.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
#include "../libcli/security/security.h"
|
||||
#include "../lib/util/util_pw.h"
|
||||
|
@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "lib/socket/interfaces.h"
|
||||
|
||||
#define NAME_INDEX 0
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "system/filesys.h"
|
||||
#include "system/glob.h"
|
||||
#include "util_tdb.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_TDB
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "includes.h"
|
||||
#include "messages.h"
|
||||
#include "lib/id_cache.h"
|
||||
#include "include/memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "idmap_cache.h"
|
||||
#include "../librpc/gen_ndr/ndr_security.h"
|
||||
#include "../libcli/security/dom_sid.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "system/passwd.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "../lib/util/util_pw.h"
|
||||
|
||||
/* internal functions */
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "system/filesys.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "../lib/async_req/async_sock.h"
|
||||
#include "../lib/util/select.h"
|
||||
#include "lib/socket/interfaces.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "passdb.h"
|
||||
#include "../librpc/gen_ndr/ndr_security.h"
|
||||
#include "secrets.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "idmap_cache.h"
|
||||
#include "../libcli/security/security.h"
|
||||
#include "lib/winbind_util.h"
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "../librpc/gen_ndr/drsblobs.h"
|
||||
#include "../librpc/gen_ndr/ndr_drsblobs.h"
|
||||
#include "../librpc/gen_ndr/idmap.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
#include "../libcli/security/security.h"
|
||||
#include "../lib/util/util_pw.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "smbd/globals.h"
|
||||
#include "libcli/security/security.h"
|
||||
#include "lib/util/bitmap.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
|
||||
/*
|
||||
This module implements directory related functions for Samba.
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "includes.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "messages.h"
|
||||
#include "tdb_compat.h"
|
||||
|
||||
|
@ -66,7 +66,7 @@
|
||||
#include "includes.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "mangle.h"
|
||||
|
||||
#if 1
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "registry/reg_init_full.h"
|
||||
#include "libcli/auth/schannel.h"
|
||||
#include "secrets.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "ctdbd_conn.h"
|
||||
#include "util_cluster.h"
|
||||
#include "printing/queue_process.h"
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "messages.h"
|
||||
#include "smbprofile.h"
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "system/filesys.h"
|
||||
#include "smbd/smbd.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "transfer_file.h"
|
||||
#include "ntioctl.h"
|
||||
#include "lib/util/tevent_unix.h"
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "tldap.h"
|
||||
#include "tldap_util.h"
|
||||
#include "../librpc/gen_ndr/svcctl.h"
|
||||
#include "memcache.h"
|
||||
#include "../lib/util/memcache.h"
|
||||
#include "nsswitch/winbind_client.h"
|
||||
#include "dbwrap/dbwrap.h"
|
||||
#include "dbwrap/dbwrap_open.h"
|
||||
|
@ -765,7 +765,7 @@ bld.SAMBA3_SUBSYSTEM('tdb-wrap3',
|
||||
deps='talloc samba3-util')
|
||||
|
||||
bld.SAMBA3_LIBRARY('samba3-util',
|
||||
source='''lib/util_sec.c lib/util_str.c lib/adt_tree.c lib/util_malloc.c lib/memcache.c lib/namearray.c lib/file_id.c''',
|
||||
source='''lib/util_sec.c lib/util_str.c lib/adt_tree.c lib/util_malloc.c lib/namearray.c lib/file_id.c''',
|
||||
deps='samba-util charset',
|
||||
private_library=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user