mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
Move lib/util from source4 to top-level libutil.
Conflicts: source4/Makefile
This commit is contained in:
parent
4604ca4302
commit
caa4e42860
10
.gitignore
vendored
10
.gitignore
vendored
@ -231,11 +231,11 @@ source4/lib/tdb/bin/tdbtool
|
||||
source4/lib/tdb/bin/tdbtorture
|
||||
source4/lib/tdr/tdr_proto.h
|
||||
source4/lib/util/apidocs
|
||||
source4/lib/util/asn1_proto.h
|
||||
source4/lib/util/pidfile.h
|
||||
source4/lib/util/unix_privs.h
|
||||
source4/lib/util/util_proto.h
|
||||
source4/lib/util/util_tdb.h
|
||||
lib/util/asn1_proto.h
|
||||
lib/util/pidfile.h
|
||||
lib/util/unix_privs.h
|
||||
lib/util/util_proto.h
|
||||
lib/util/util_tdb.h
|
||||
source4/mkconfig.mk
|
||||
source4/nbt_server/dgram/proto.h
|
||||
source4/nbt_server/nbt_server_proto.h
|
||||
|
@ -21,7 +21,7 @@
|
||||
#ifndef _SAMBA_UTIL_H_
|
||||
#define _SAMBA_UTIL_H_
|
||||
|
||||
#include "util/attr.h"
|
||||
#include "../lib/util/attr.h"
|
||||
|
||||
#include "charset/charset.h"
|
||||
|
||||
@ -38,12 +38,12 @@ struct smbsrv_tcon;
|
||||
extern const char *logfile;
|
||||
extern const char *panic_action;
|
||||
|
||||
#include "util/time.h"
|
||||
#include "util/data_blob.h"
|
||||
#include "util/xfile.h"
|
||||
#include "util/debug.h"
|
||||
#include "util/mutex.h"
|
||||
#include "util/byteorder.h"
|
||||
#include "../lib/util/time.h"
|
||||
#include "../lib/util/data_blob.h"
|
||||
#include "../lib/util/xfile.h"
|
||||
#include "../lib/util/debug.h"
|
||||
#include "../lib/util/mutex.h"
|
||||
#include "../lib/util/byteorder.h"
|
||||
|
||||
/**
|
||||
this is a warning hack. The idea is to use this everywhere that we
|
@ -74,7 +74,7 @@ socketwrappersrcdir := ../lib/socket_wrapper
|
||||
nsswrappersrcdir := ../lib/nss_wrapper
|
||||
appwebsrcdir := lib/appweb
|
||||
libstreamsrcdir := lib/stream
|
||||
libutilsrcdir := lib/util
|
||||
libutilsrcdir := ../lib/util
|
||||
libtdrsrcdir := lib/tdr
|
||||
libdbwrapsrcdir := lib/dbwrap
|
||||
libcryptosrcdir := ../lib/crypto
|
||||
@ -144,7 +144,7 @@ endif
|
||||
clean::
|
||||
@find ../lib ../libcli -name '*.o' -o -name '*.hd' | xargs rm -f
|
||||
|
||||
DEFAULT_HEADERS = $(srcdir)/lib/util/dlinklist.h \
|
||||
DEFAULT_HEADERS = $(srcdir)/../lib/util/dlinklist.h \
|
||||
$(srcdir)/version.h
|
||||
|
||||
libraries:: $(STATIC_LIBS) $(SHARED_LIBS)
|
||||
|
@ -22,7 +22,7 @@
|
||||
#ifndef __CREDENTIALS_H__
|
||||
#define __CREDENTIALS_H__
|
||||
|
||||
#include "util/data_blob.h"
|
||||
#include "../lib/util/data_blob.h"
|
||||
#include "librpc/gen_ndr/misc.h"
|
||||
|
||||
struct ccache_container;
|
||||
|
@ -14,13 +14,13 @@ m4_include(build/m4/env.m4)
|
||||
m4_include(../lib/replace/samba.m4)
|
||||
m4_include(lib/smbreadline/readline.m4)
|
||||
m4_include(heimdal_build/config.m4)
|
||||
m4_include(lib/util/fault.m4)
|
||||
m4_include(lib/util/signal.m4)
|
||||
m4_include(lib/util/util.m4)
|
||||
m4_include(lib/util/fsusage.m4)
|
||||
m4_include(lib/util/xattr.m4)
|
||||
m4_include(lib/util/capability.m4)
|
||||
m4_include(lib/util/time.m4)
|
||||
m4_include(../lib/util/fault.m4)
|
||||
m4_include(../lib/util/signal.m4)
|
||||
m4_include(../lib/util/util.m4)
|
||||
m4_include(../lib/util/fsusage.m4)
|
||||
m4_include(../lib/util/xattr.m4)
|
||||
m4_include(../lib/util/capability.m4)
|
||||
m4_include(../lib/util/time.m4)
|
||||
m4_include(../lib/popt/samba.m4)
|
||||
m4_include(lib/charset/config.m4)
|
||||
m4_include(lib/socket/config.m4)
|
||||
|
@ -42,12 +42,12 @@
|
||||
#ifndef _PRINTF_ATTRIBUTE
|
||||
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
|
||||
#endif
|
||||
#include "util/util.h"
|
||||
#include "../lib/util/util.h"
|
||||
|
||||
#include "libcli/util/error.h"
|
||||
|
||||
/* String routines */
|
||||
#include "util/safe_string.h"
|
||||
#include "../lib/util/safe_string.h"
|
||||
|
||||
#if 0
|
||||
/* darn, we can't do this now that we don't link the ldb tools to all the smb libs */
|
||||
|
@ -26,7 +26,7 @@
|
||||
#define __LIBNDR_H__
|
||||
|
||||
#include <talloc.h>
|
||||
#include "lib/util/util.h" /* for discard_const */
|
||||
#include "../lib/util/util.h" /* for discard_const */
|
||||
#include <sys/time.h>
|
||||
#include "lib/charset/charset.h"
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
#ifndef __DCERPC_H__
|
||||
#define __DCERPC_H__
|
||||
|
||||
#include "lib/util/data_blob.h"
|
||||
#include "../lib/util/data_blob.h"
|
||||
#include "librpc/gen_ndr/dcerpc.h"
|
||||
#include "librpc/ndr/libndr.h"
|
||||
|
||||
|
@ -19,7 +19,7 @@ mkinclude lib/cmdline/config.mk
|
||||
mkinclude ../lib/socket_wrapper/config.mk
|
||||
mkinclude ../lib/nss_wrapper/config.mk
|
||||
mkinclude lib/stream/config.mk
|
||||
mkinclude lib/util/config.mk
|
||||
mkinclude ../lib/util/config.mk
|
||||
mkinclude lib/tdr/config.mk
|
||||
mkinclude lib/dbwrap/config.mk
|
||||
mkinclude ../lib/crypto/config.mk
|
||||
|
@ -28,14 +28,14 @@ TORTURE_LOCAL_OBJ_FILES = \
|
||||
$(torturesrcdir)/../lib/messaging/tests/messaging.o \
|
||||
$(torturesrcdir)/../lib/messaging/tests/irpc.o \
|
||||
$(torturesrcdir)/../librpc/tests/binding_string.o \
|
||||
$(torturesrcdir)/../lib/util/tests/idtree.o \
|
||||
$(torturesrcdir)/../../lib/util/tests/idtree.o \
|
||||
$(torturesrcdir)/../lib/socket/testsuite.o \
|
||||
$(torturesrcdir)/../../lib/socket_wrapper/testsuite.o \
|
||||
$(torturesrcdir)/../libcli/resolve/testsuite.o \
|
||||
$(torturesrcdir)/../lib/util/tests/strlist.o \
|
||||
$(torturesrcdir)/../lib/util/tests/str.o \
|
||||
$(torturesrcdir)/../lib/util/tests/file.o \
|
||||
$(torturesrcdir)/../lib/util/tests/genrand.o \
|
||||
$(torturesrcdir)/../../lib/util/tests/strlist.o \
|
||||
$(torturesrcdir)/../../lib/util/tests/str.o \
|
||||
$(torturesrcdir)/../../lib/util/tests/file.o \
|
||||
$(torturesrcdir)/../../lib/util/tests/genrand.o \
|
||||
$(torturesrcdir)/../../lib/compression/testsuite.o \
|
||||
$(torturesrcdir)/../lib/charset/tests/charset.o \
|
||||
$(torturesrcdir)/../libcli/security/tests/sddl.o \
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "includes.h"
|
||||
#include "system/filesys.h"
|
||||
#include "librpc/gen_ndr/ndr_xattr.h"
|
||||
#include "lib/util/wrap_xattr.h"
|
||||
#include "../lib/util/wrap_xattr.h"
|
||||
#include "param/param.h"
|
||||
|
||||
static void ntacl_print_debug_helper(struct ndr_print *ndr, const char *format, ...) PRINTF_ATTRIBUTE(2,3);
|
||||
|
Loading…
Reference in New Issue
Block a user