s4:lib/http: move to the toplevel
authorRalph Boehme <slow@samba.org>
Tue, 2 Apr 2019 16:34:24 +0000 (18:34 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 7 Aug 2019 12:54:40 +0000 (12:54 +0000)
This is going to be used from the s3 RPC server soon...

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@suse.de>
13 files changed:
libcli/http/gensec/basic.c [moved from source4/lib/http/gensec/basic.c with 100% similarity]
libcli/http/gensec/generic.c [moved from source4/lib/http/gensec/generic.c with 100% similarity]
libcli/http/http.c [moved from source4/lib/http/http.c with 100% similarity]
libcli/http/http.h [moved from source4/lib/http/http.h with 100% similarity]
libcli/http/http_auth.c [moved from source4/lib/http/http_auth.c with 100% similarity]
libcli/http/http_conn.c [moved from source4/lib/http/http_conn.c with 100% similarity]
libcli/http/http_internal.h [moved from source4/lib/http/http_internal.h with 100% similarity]
libcli/http/wscript_build [moved from source4/lib/http/wscript_build with 100% similarity]
source4/librpc/rpc/dcerpc_connect.c
source4/librpc/rpc/dcerpc_roh.c
source4/librpc/rpc/dcerpc_roh_channel_in.c
source4/librpc/rpc/dcerpc_roh_channel_out.c
wscript_build

similarity index 100%
rename from source4/lib/http/http.c
rename to libcli/http/http.c
similarity index 100%
rename from source4/lib/http/http.h
rename to libcli/http/http.h
index f7656e5d7cdcad74101150e46d1713dfec23e0a1..4c0ed15396f42abb757430b7a86d258dbfc99c98 100644 (file)
@@ -35,7 +35,7 @@
 #include "auth/credentials/credentials.h"
 #include "param/param.h"
 #include "libcli/resolve/resolve.h"
-#include "lib/http/http.h"
+#include "libcli/http/http.h"
 #include "lib/util/util_net.h"
 
 struct dcerpc_pipe_connect {
index 9280c84f79a270b16ad3a0494ae76aec47497e84..a5320c5144de4417113287dddb93bbe458953958 100644 (file)
@@ -32,7 +32,7 @@
 #include "librpc/rpc/dcerpc_roh.h"
 #include "librpc/rpc/dcerpc_proto.h"
 #include "lib/param/param.h"
-#include "lib/http/http.h"
+#include "libcli/http/http.h"
 
 static ssize_t tstream_roh_pending_bytes(struct tstream_context *stream);
 static struct tevent_req * tstream_roh_readv_send(
index cc53c2a7f419e9602ecd3dedfd0e639630c3b093..bc630f77e4298e70c3e35700e84125b7aa0bba4a 100644 (file)
@@ -37,7 +37,7 @@
 #include "librpc/rpc/dcerpc.h"
 #include "librpc/rpc/dcerpc_roh.h"
 #include "librpc/rpc/dcerpc_proto.h"
-#include "lib/http/http.h"
+#include "libcli/http/http.h"
 
 struct roh_connect_channel_state {
        struct tevent_context           *ev;
index 491bbadfa693be5616919fc8f410ecd0f4262612..4a227823f4a5133d9bd67f017dde4ede1fa8bb3f 100644 (file)
@@ -37,7 +37,7 @@
 #include "librpc/rpc/dcerpc.h"
 #include "librpc/rpc/dcerpc_roh.h"
 #include "librpc/rpc/dcerpc_proto.h"
-#include "lib/http/http.h"
+#include "libcli/http/http.h"
 
 struct roh_connect_channel_state {
        struct tevent_context           *ev;
index ac6c044a605b90cc762dca466ef4d6dfff1303a3..f9e033c0dab8cbc8e7356e3f93f47fc3ebbd34d8 100644 (file)
@@ -71,7 +71,6 @@ bld.RECURSE('source4/lib/registry')
 bld.RECURSE('source4/lib/messaging')
 bld.RECURSE('source4/lib/events')
 bld.RECURSE('source4/lib/cmdline')
-bld.RECURSE('source4/lib/http')
 if bld.CHECK_FOR_THIRD_PARTY():
     bld.RECURSE('third_party')
 bld.RECURSE('source4/lib/stream')
@@ -117,6 +116,7 @@ bld.RECURSE('libcli/echo')
 bld.RECURSE('libcli/dns')
 bld.RECURSE('libcli/samsync')
 bld.RECURSE('libcli/registry')
+bld.RECURSE('libcli/http')
 bld.RECURSE('lib/mscat')
 bld.RECURSE('source4/lib/policy')
 bld.RECURSE('libcli/named_pipe_auth')