Skip to content
Snippets Groups Projects
Commit 8cf5303e authored by Adam Michalik's avatar Adam Michalik
Browse files

more separation

parent 3a3e14ca
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,10 @@
#ifndef GRPC_GRPC_POSIX_H
#define GRPC_GRPC_POSIX_H
#include <grpc/impl/codegen/grpc_types.h>
#include <grpc/support/port_platform.h>
#include <stddef.h>
#ifdef __cplusplus
......@@ -47,7 +50,6 @@ extern "C" {
* functionality on top of GRPC Core.
*/
#ifdef GPR_POSIX_SOCKET
/** Create a client channel to 'target' using file descriptor 'fd'. The 'target'
......
......@@ -31,28 +31,22 @@
*
*/
#include <grpc/support/port_platform.h>
#ifdef GPR_POSIX_SOCKET
#include <grpc/grpc.h>
// #include <fcntl.h>
// #include <stdlib.h>
// #include <string.h>
// #include <grpc/support/alloc.h>
// #include <grpc/support/slice.h>
// #include <grpc/support/slice_buffer.h>
#include <fcntl.h>
// #include "src/core/ext/client_config/client_channel.h"
// #include "src/core/ext/client_config/resolver_registry.h"
// #include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
// #include "src/core/lib/channel/channel_args.h"
// #include "src/core/lib/channel/compress_filter.h"
// #include "src/core/lib/channel/http_client_filter.h"
// #include "src/core/lib/iomgr/tcp_client.h"
// #include "src/core/lib/iomgr/tcp_posix.h"
// #include "src/core/lib/surface/api_trace.h"
// #include "src/core/lib/surface/channel.h"
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/transport/transport.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/iomgr/tcp_posix.h"
#include "src/core/lib/surface/api_trace.h"
#include "src/core/lib/surface/channel.h"
grpc_channel *grpc_insecure_channel_create_from_fd(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment