Merge pull request #900 from nicolasnoble/headers

Guard headers tool.
pull/854/head
Craig Tiller 10 years ago
commit fe3c37c281
  1. 6
      examples/pubsub/publisher.h
  2. 6
      examples/pubsub/subscriber.h
  3. 6
      include/grpc++/async_unary_call.h
  4. 6
      include/grpc++/channel_arguments.h
  5. 6
      include/grpc++/channel_interface.h
  6. 6
      include/grpc++/client_context.h
  7. 6
      include/grpc++/completion_queue.h
  8. 6
      include/grpc++/config.h
  9. 6
      include/grpc++/create_channel.h
  10. 6
      include/grpc++/credentials.h
  11. 6
      include/grpc++/impl/call.h
  12. 6
      include/grpc++/impl/client_unary_call.h
  13. 6
      include/grpc++/impl/internal_stub.h
  14. 6
      include/grpc++/impl/rpc_method.h
  15. 6
      include/grpc++/impl/rpc_service_method.h
  16. 6
      include/grpc++/impl/service_type.h
  17. 6
      include/grpc++/server.h
  18. 6
      include/grpc++/server_builder.h
  19. 6
      include/grpc++/server_context.h
  20. 6
      include/grpc++/server_credentials.h
  21. 6
      include/grpc++/status.h
  22. 6
      include/grpc++/status_code_enum.h
  23. 6
      include/grpc++/stream.h
  24. 6
      include/grpc++/thread_pool_interface.h
  25. 6
      include/grpc/byte_buffer.h
  26. 6
      include/grpc/byte_buffer_reader.h
  27. 6
      include/grpc/grpc.h
  28. 6
      include/grpc/grpc_http.h
  29. 6
      include/grpc/grpc_security.h
  30. 6
      include/grpc/status.h
  31. 6
      include/grpc/support/alloc.h
  32. 6
      include/grpc/support/atm.h
  33. 6
      include/grpc/support/atm_gcc_atomic.h
  34. 6
      include/grpc/support/atm_gcc_sync.h
  35. 6
      include/grpc/support/atm_win32.h
  36. 6
      include/grpc/support/cancellable_platform.h
  37. 6
      include/grpc/support/cmdline.h
  38. 6
      include/grpc/support/cpu.h
  39. 6
      include/grpc/support/histogram.h
  40. 6
      include/grpc/support/host_port.h
  41. 6
      include/grpc/support/log.h
  42. 6
      include/grpc/support/log_win32.h
  43. 6
      include/grpc/support/port_platform.h
  44. 6
      include/grpc/support/slice.h
  45. 6
      include/grpc/support/slice_buffer.h
  46. 6
      include/grpc/support/sync.h
  47. 6
      include/grpc/support/sync_generic.h
  48. 6
      include/grpc/support/sync_posix.h
  49. 6
      include/grpc/support/sync_win32.h
  50. 6
      include/grpc/support/thd.h
  51. 6
      include/grpc/support/time.h
  52. 6
      include/grpc/support/useful.h
  53. 6
      src/compiler/cpp_generator.h
  54. 6
      src/compiler/cpp_generator_helpers.h
  55. 6
      src/compiler/generator_helpers.h
  56. 6
      src/compiler/python_generator.h
  57. 6
      src/compiler/ruby_generator.h
  58. 6
      src/compiler/ruby_generator_helpers-inl.h
  59. 6
      src/compiler/ruby_generator_map-inl.h
  60. 6
      src/compiler/ruby_generator_string-inl.h
  61. 6
      src/core/channel/census_filter.h
  62. 6
      src/core/channel/channel_args.h
  63. 6
      src/core/channel/channel_stack.h
  64. 6
      src/core/channel/child_channel.h
  65. 6
      src/core/channel/client_channel.h
  66. 6
      src/core/channel/client_setup.h
  67. 6
      src/core/channel/connected_channel.h
  68. 6
      src/core/channel/http_client_filter.h
  69. 6
      src/core/channel/http_filter.h
  70. 6
      src/core/channel/http_server_filter.h
  71. 6
      src/core/channel/metadata_buffer.h
  72. 6
      src/core/channel/noop_filter.h
  73. 6
      src/core/compression/algorithm.h
  74. 6
      src/core/compression/message_compress.h
  75. 7
      src/core/debug/trace.h
  76. 6
      src/core/httpcli/format_request.h
  77. 6
      src/core/httpcli/httpcli.h
  78. 6
      src/core/httpcli/httpcli_security_context.h
  79. 6
      src/core/httpcli/parser.h
  80. 6
      src/core/iomgr/alarm.h
  81. 6
      src/core/iomgr/alarm_heap.h
  82. 6
      src/core/iomgr/alarm_internal.h
  83. 6
      src/core/iomgr/endpoint.h
  84. 6
      src/core/iomgr/endpoint_pair.h
  85. 6
      src/core/iomgr/fd_posix.h
  86. 6
      src/core/iomgr/iocp_windows.h
  87. 6
      src/core/iomgr/iomgr.h
  88. 6
      src/core/iomgr/iomgr_internal.h
  89. 6
      src/core/iomgr/iomgr_posix.h
  90. 6
      src/core/iomgr/pollset.h
  91. 6
      src/core/iomgr/pollset_kick.h
  92. 6
      src/core/iomgr/pollset_kick_posix.h
  93. 6
      src/core/iomgr/pollset_kick_windows.h
  94. 6
      src/core/iomgr/pollset_posix.h
  95. 6
      src/core/iomgr/pollset_windows.h
  96. 6
      src/core/iomgr/resolve_address.h
  97. 6
      src/core/iomgr/sockaddr.h
  98. 6
      src/core/iomgr/sockaddr_posix.h
  99. 6
      src/core/iomgr/sockaddr_utils.h
  100. 6
      src/core/iomgr/sockaddr_win32.h
  101. Some files were not shown because too many files have changed in this diff Show More

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_ #ifndef GRPC_EXAMPLES_PUBSUB_PUBLISHER_H
#define __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_ #define GRPC_EXAMPLES_PUBSUB_PUBLISHER_H
#include <grpc++/channel_interface.h> #include <grpc++/channel_interface.h>
#include <grpc++/status.h> #include <grpc++/status.h>
@ -64,4 +64,4 @@ class Publisher {
} // namespace examples } // namespace examples
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_EXAMPLES_PUBSUB_PUBLISHER_H_ #endif // GRPC_EXAMPLES_PUBSUB_PUBLISHER_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_ #ifndef GRPC_EXAMPLES_PUBSUB_SUBSCRIBER_H
#define __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_ #define GRPC_EXAMPLES_PUBSUB_SUBSCRIBER_H
#include <grpc++/channel_interface.h> #include <grpc++/channel_interface.h>
#include <grpc++/status.h> #include <grpc++/status.h>
@ -65,4 +65,4 @@ class Subscriber {
} // namespace examples } // namespace examples
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_EXAMPLES_PUBSUB_SUBSCRIBER_H_ #endif // GRPC_EXAMPLES_PUBSUB_SUBSCRIBER_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_ASYNC_UNARY_CALL_H__ #ifndef GRPCXX_ASYNC_UNARY_CALL_H
#define __GRPCPP_ASYNC_UNARY_CALL_H__ #define GRPCXX_ASYNC_UNARY_CALL_H
#include <grpc++/channel_interface.h> #include <grpc++/channel_interface.h>
#include <grpc++/client_context.h> #include <grpc++/client_context.h>
@ -138,4 +138,4 @@ class ServerAsyncResponseWriter GRPC_FINAL
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_ASYNC_UNARY_CALL_H__ #endif // GRPCXX_ASYNC_UNARY_CALL_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_CHANNEL_ARGUMENTS_H_ #ifndef GRPCXX_CHANNEL_ARGUMENTS_H
#define __GRPCPP_CHANNEL_ARGUMENTS_H_ #define GRPCXX_CHANNEL_ARGUMENTS_H
#include <vector> #include <vector>
#include <list> #include <list>
@ -82,4 +82,4 @@ class ChannelArguments {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_CHANNEL_ARGUMENTS_H_ #endif // GRPCXX_CHANNEL_ARGUMENTS_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_CHANNEL_INTERFACE_H__ #ifndef GRPCXX_CHANNEL_INTERFACE_H
#define __GRPCPP_CHANNEL_INTERFACE_H__ #define GRPCXX_CHANNEL_INTERFACE_H
#include <grpc++/status.h> #include <grpc++/status.h>
#include <grpc++/impl/call.h> #include <grpc++/impl/call.h>
@ -63,4 +63,4 @@ class ChannelInterface : public CallHook {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_CHANNEL_INTERFACE_H__ #endif // GRPCXX_CHANNEL_INTERFACE_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_CLIENT_CONTEXT_H__ #ifndef GRPCXX_CLIENT_CONTEXT_H
#define __GRPCPP_CLIENT_CONTEXT_H__ #define GRPCXX_CLIENT_CONTEXT_H
#include <chrono> #include <chrono>
#include <map> #include <map>
@ -151,4 +151,4 @@ class ClientContext {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_CLIENT_CONTEXT_H__ #endif // GRPCXX_CLIENT_CONTEXT_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_COMPLETION_QUEUE_H__ #ifndef GRPCXX_COMPLETION_QUEUE_H
#define __GRPCPP_COMPLETION_QUEUE_H__ #define GRPCXX_COMPLETION_QUEUE_H
#include <grpc++/impl/client_unary_call.h> #include <grpc++/impl/client_unary_call.h>
@ -121,4 +121,4 @@ class CompletionQueue {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_COMPLETION_QUEUE_H__ #endif // GRPCXX_COMPLETION_QUEUE_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_CONFIG_H__ #ifndef GRPCXX_CONFIG_H
#define __GRPCPP_CONFIG_H__ #define GRPCXX_CONFIG_H
#include <string> #include <string>
@ -50,4 +50,4 @@ typedef std::string string;
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_CONFIG_H__ #endif // GRPCXX_CONFIG_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_CREATE_CHANNEL_H__ #ifndef GRPCXX_CREATE_CHANNEL_H
#define __GRPCPP_CREATE_CHANNEL_H__ #define GRPCXX_CREATE_CHANNEL_H
#include <memory> #include <memory>
@ -55,4 +55,4 @@ std::shared_ptr<ChannelInterface> CreateChannel(
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_CREATE_CHANNEL_H__ #endif // GRPCXX_CREATE_CHANNEL_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_CREDENTIALS_H_ #ifndef GRPCXX_CREDENTIALS_H
#define __GRPCPP_CREDENTIALS_H_ #define GRPCXX_CREDENTIALS_H
#include <chrono> #include <chrono>
#include <memory> #include <memory>
@ -133,4 +133,4 @@ class CredentialsFactory {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_CREDENTIALS_H_ #endif // GRPCXX_CREDENTIALS_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_CALL_H__ #ifndef GRPCXX_IMPL_CALL_H
#define __GRPCPP_CALL_H__ #define GRPCXX_IMPL_CALL_H
#include <grpc/grpc.h> #include <grpc/grpc.h>
#include <grpc++/config.h> #include <grpc++/config.h>
@ -143,4 +143,4 @@ class Call GRPC_FINAL {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_CALL_INTERFACE_H__ #endif // GRPCXX_IMPL_CALL_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_CLIENT_UNARY_CALL_H__ #ifndef GRPCXX_IMPL_CLIENT_UNARY_CALL_H
#define __GRPCPP_CLIENT_UNARY_CALL_H__ #define GRPCXX_IMPL_CLIENT_UNARY_CALL_H
namespace google { namespace google {
namespace protobuf { namespace protobuf {
@ -56,4 +56,4 @@ Status BlockingUnaryCall(ChannelInterface *channel, const RpcMethod &method,
} // namespace grpc } // namespace grpc
#endif #endif // GRPCXX_IMPL_CLIENT_UNARY_CALL_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_IMPL_INTERNAL_STUB_H__ #ifndef GRPCXX_IMPL_INTERNAL_STUB_H
#define __GRPCPP_IMPL_INTERNAL_STUB_H__ #define GRPCXX_IMPL_INTERNAL_STUB_H
#include <memory> #include <memory>
@ -57,4 +57,4 @@ class InternalStub {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_IMPL_INTERNAL_STUB_H__ #endif // GRPCXX_IMPL_INTERNAL_STUB_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_IMPL_RPC_METHOD_H__ #ifndef GRPCXX_IMPL_RPC_METHOD_H
#define __GRPCPP_IMPL_RPC_METHOD_H__ #define GRPCXX_IMPL_RPC_METHOD_H
namespace google { namespace google {
namespace protobuf { namespace protobuf {
@ -66,4 +66,4 @@ class RpcMethod {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_IMPL_RPC_METHOD_H__ #endif // GRPCXX_IMPL_RPC_METHOD_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__ #ifndef GRPCXX_IMPL_RPC_SERVICE_METHOD_H
#define __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__ #define GRPCXX_IMPL_RPC_SERVICE_METHOD_H
#include <functional> #include <functional>
#include <map> #include <map>
@ -203,4 +203,4 @@ class RpcService {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_IMPL_RPC_SERVICE_METHOD_H__ #endif // GRPCXX_IMPL_RPC_SERVICE_METHOD_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_IMPL_SERVICE_TYPE_H__ #ifndef GRPCXX_IMPL_SERVICE_TYPE_H
#define __GRPCPP_IMPL_SERVICE_TYPE_H__ #define GRPCXX_IMPL_SERVICE_TYPE_H
namespace google { namespace google {
namespace protobuf { namespace protobuf {
@ -128,4 +128,4 @@ class AsynchronousService {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_IMPL_SERVICE_TYPE_H__ #endif // GRPCXX_IMPL_SERVICE_TYPE_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_SERVER_H__ #ifndef GRPCXX_SERVER_H
#define __GRPCPP_SERVER_H__ #define GRPCXX_SERVER_H
#include <condition_variable> #include <condition_variable>
#include <list> #include <list>
@ -130,4 +130,4 @@ class Server GRPC_FINAL : private CallHook,
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_SERVER_H__ #endif // GRPCXX_SERVER_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_SERVER_BUILDER_H__ #ifndef GRPCXX_SERVER_BUILDER_H
#define __GRPCPP_SERVER_BUILDER_H__ #define GRPCXX_SERVER_BUILDER_H
#include <memory> #include <memory>
#include <vector> #include <vector>
@ -88,4 +88,4 @@ class ServerBuilder {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_SERVER_BUILDER_H__ #endif // GRPCXX_SERVER_BUILDER_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_SERVER_CONTEXT_H_ #ifndef GRPCXX_SERVER_CONTEXT_H
#define __GRPCPP_SERVER_CONTEXT_H_ #define GRPCXX_SERVER_CONTEXT_H
#include <chrono> #include <chrono>
#include <map> #include <map>
@ -121,4 +121,4 @@ class ServerContext GRPC_FINAL {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_SERVER_CONTEXT_H_ #endif // GRPCXX_SERVER_CONTEXT_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_SERVER_CREDENTIALS_H_ #ifndef GRPCXX_SERVER_CREDENTIALS_H
#define __GRPCPP_SERVER_CREDENTIALS_H_ #define GRPCXX_SERVER_CREDENTIALS_H
#include <memory> #include <memory>
#include <vector> #include <vector>
@ -79,4 +79,4 @@ class ServerCredentialsFactory {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_SERVER_CREDENTIALS_H_ #endif // GRPCXX_SERVER_CREDENTIALS_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_STATUS_H__ #ifndef GRPCXX_STATUS_H
#define __GRPCPP_STATUS_H__ #define GRPCXX_STATUS_H
#include <grpc++/status_code_enum.h> #include <grpc++/status_code_enum.h>
#include <grpc++/config.h> #include <grpc++/config.h>
@ -62,4 +62,4 @@ class Status {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_STATUS_H__ #endif // GRPCXX_STATUS_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_STATUS_CODE_ENUM_H__ #ifndef GRPCXX_STATUS_CODE_ENUM_H
#define __GRPCPP_STATUS_CODE_ENUM_H__ #define GRPCXX_STATUS_CODE_ENUM_H
namespace grpc { namespace grpc {
@ -195,4 +195,4 @@ enum StatusCode {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_STATUS_CODE_ENUM_H_ #endif // GRPCXX_STATUS_CODE_ENUM_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_STREAM_H__ #ifndef GRPCXX_STREAM_H
#define __GRPCPP_STREAM_H__ #define GRPCXX_STREAM_H
#include <grpc++/channel_interface.h> #include <grpc++/channel_interface.h>
#include <grpc++/client_context.h> #include <grpc++/client_context.h>
@ -710,4 +710,4 @@ class ServerAsyncReaderWriter GRPC_FINAL : public ServerAsyncStreamingInterface,
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_STREAM_H__ #endif // GRPCXX_STREAM_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPCPP_THREAD_POOL_INTERFACE_H__ #ifndef GRPCXX_THREAD_POOL_INTERFACE_H
#define __GRPCPP_THREAD_POOL_INTERFACE_H__ #define GRPCXX_THREAD_POOL_INTERFACE_H
#include <functional> #include <functional>
@ -49,4 +49,4 @@ class ThreadPoolInterface {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_THREAD_POOL_INTERFACE_H__ #endif // GRPCXX_THREAD_POOL_INTERFACE_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_BYTE_BUFFER_H__ #ifndef GRPC_BYTE_BUFFER_H
#define __GRPC_BYTE_BUFFER_H__ #define GRPC_BYTE_BUFFER_H
#include <grpc/grpc.h> #include <grpc/grpc.h>
#include <grpc/support/slice_buffer.h> #include <grpc/support/slice_buffer.h>
@ -47,4 +47,4 @@ struct grpc_byte_buffer {
} data; } data;
}; };
#endif /* __GRPC_BYTE_BUFFER_H__ */ #endif /* GRPC_BYTE_BUFFER_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_BYTE_BUFFER_READER_H__ #ifndef GRPC_BYTE_BUFFER_READER_H
#define __GRPC_BYTE_BUFFER_READER_H__ #define GRPC_BYTE_BUFFER_READER_H
#include <grpc/grpc.h> #include <grpc/grpc.h>
#include <grpc/byte_buffer.h> #include <grpc/byte_buffer.h>
@ -46,4 +46,4 @@ struct grpc_byte_buffer_reader {
} current; } current;
}; };
#endif /* __GRPC_BYTE_BUFFER_READER_H__ */ #endif /* GRPC_BYTE_BUFFER_READER_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_GRPC_H__ #ifndef GRPC_GRPC_H
#define __GRPC_GRPC_H__ #define GRPC_GRPC_H
#include <grpc/status.h> #include <grpc/status.h>
@ -632,4 +632,4 @@ void grpc_server_destroy(grpc_server *server);
} }
#endif #endif
#endif /* __GRPC_GRPC_H__ */ #endif /* GRPC_GRPC_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_GRPC_HTTP_H__ #ifndef GRPC_GRPC_HTTP_H
#define __GRPC_GRPC_HTTP_H__ #define GRPC_GRPC_HTTP_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -64,4 +64,4 @@ typedef struct {
} }
#endif #endif
#endif /* __GRPC_GRPC_HTTP_H__ */ #endif /* GRPC_GRPC_HTTP_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef GRPC_SECURITY_H_ #ifndef GRPC_GRPC_SECURITY_H
#define GRPC_SECURITY_H_ #define GRPC_GRPC_SECURITY_H
#include "grpc.h" #include "grpc.h"
#include "status.h" #include "status.h"
@ -185,4 +185,4 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr);
} }
#endif #endif
#endif /* GRPC_SECURITY_H_ */ #endif /* GRPC_GRPC_SECURITY_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_STATUS_H__ #ifndef GRPC_STATUS_H
#define __GRPC_STATUS_H__ #define GRPC_STATUS_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -199,4 +199,4 @@ typedef enum {
} }
#endif #endif
#endif /* __GRPC_STATUS_H__ */ #endif /* GRPC_STATUS_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_ALLOC_H__ #ifndef GRPC_SUPPORT_ALLOC_H
#define __GRPC_SUPPORT_ALLOC_H__ #define GRPC_SUPPORT_ALLOC_H
#include <stddef.h> #include <stddef.h>
@ -55,4 +55,4 @@ void gpr_free_aligned(void *ptr);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_ALLOC_H__ */ #endif /* GRPC_SUPPORT_ALLOC_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_ATM_H__ #ifndef GRPC_SUPPORT_ATM_H
#define __GRPC_SUPPORT_ATM_H__ #define GRPC_SUPPORT_ATM_H
/* This interface provides atomic operations and barriers. /* This interface provides atomic operations and barriers.
It is internal to gpr support code and should not be used outside it. It is internal to gpr support code and should not be used outside it.
@ -89,4 +89,4 @@
#error could not determine platform for atm #error could not determine platform for atm
#endif #endif
#endif /* __GRPC_SUPPORT_ATM_H__ */ #endif /* GRPC_SUPPORT_ATM_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_ATM_GCC_ATOMIC_H__ #ifndef GRPC_SUPPORT_ATM_GCC_ATOMIC_H
#define __GRPC_SUPPORT_ATM_GCC_ATOMIC_H__ #define GRPC_SUPPORT_ATM_GCC_ATOMIC_H
/* atm_platform.h for gcc and gcc-like compilers with the /* atm_platform.h for gcc and gcc-like compilers with the
__atomic_* interface. */ __atomic_* interface. */
@ -66,4 +66,4 @@ static __inline int gpr_atm_rel_cas(gpr_atm *p, gpr_atm o, gpr_atm n) {
__ATOMIC_RELAXED); __ATOMIC_RELAXED);
} }
#endif /* __GRPC_SUPPORT_ATM_GCC_ATOMIC_H__ */ #endif /* GRPC_SUPPORT_ATM_GCC_ATOMIC_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_ATM_GCC_SYNC_H__ #ifndef GRPC_SUPPORT_ATM_GCC_SYNC_H
#define __GRPC_SUPPORT_ATM_GCC_SYNC_H__ #define GRPC_SUPPORT_ATM_GCC_SYNC_H
/* variant of atm_platform.h for gcc and gcc-like compiers with __sync_* /* variant of atm_platform.h for gcc and gcc-like compiers with __sync_*
interface */ interface */
@ -70,4 +70,4 @@ static __inline void gpr_atm_rel_store(gpr_atm *p, gpr_atm value) {
#define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n))) #define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n)))
#define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n)) #define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
#endif /* __GRPC_SUPPORT_ATM_GCC_SYNC_H__ */ #endif /* GRPC_SUPPORT_ATM_GCC_SYNC_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_ATM_WIN32_H__ #ifndef GRPC_SUPPORT_ATM_WIN32_H
#define __GRPC_SUPPORT_ATM_WIN32_H__ #define GRPC_SUPPORT_ATM_WIN32_H
/* Win32 variant of atm_platform.h */ /* Win32 variant of atm_platform.h */
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
@ -105,4 +105,4 @@ static __inline gpr_atm gpr_atm_full_fetch_add(gpr_atm *p, gpr_atm delta) {
return old; return old;
} }
#endif /* __GRPC_SUPPORT_ATM_WIN32_H__ */ #endif /* GRPC_SUPPORT_ATM_WIN32_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_CANCELLABLE_PLATFORM_H__ #ifndef GRPC_SUPPORT_CANCELLABLE_PLATFORM_H
#define __GRPC_SUPPORT_CANCELLABLE_PLATFORM_H__ #define GRPC_SUPPORT_CANCELLABLE_PLATFORM_H
#include <grpc/support/atm.h> #include <grpc/support/atm.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
@ -53,4 +53,4 @@ typedef struct {
struct gpr_cancellable_list_ waiters; struct gpr_cancellable_list_ waiters;
} gpr_cancellable; } gpr_cancellable;
#endif /* __GRPC_SUPPORT_CANCELLABLE_PLATFORM_H__ */ #endif /* GRPC_SUPPORT_CANCELLABLE_PLATFORM_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_CMDLINE_H__ #ifndef GRPC_SUPPORT_CMDLINE_H
#define __GRPC_SUPPORT_CMDLINE_H__ #define GRPC_SUPPORT_CMDLINE_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -92,4 +92,4 @@ void gpr_cmdline_destroy(gpr_cmdline *cl);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_CMDLINE_H__ */ #endif /* GRPC_SUPPORT_CMDLINE_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_SUPPORT_CPU_H__ #ifndef GRPC_SUPPORT_CPU_H
#define __GRPC_INTERNAL_SUPPORT_CPU_H__ #define GRPC_SUPPORT_CPU_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -54,4 +54,4 @@ unsigned gpr_cpu_current_cpu(void);
} // extern "C" } // extern "C"
#endif #endif
#endif /* __GRPC_INTERNAL_SUPPORT_CPU_H__ */ #endif /* GRPC_SUPPORT_CPU_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_HISTOGRAM_H__ #ifndef GRPC_SUPPORT_HISTOGRAM_H
#define __GRPC_SUPPORT_HISTOGRAM_H__ #define GRPC_SUPPORT_HISTOGRAM_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -63,4 +63,4 @@ double gpr_histogram_sum_of_squares(gpr_histogram *histogram);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_HISTOGRAM_H__ */ #endif /* GRPC_SUPPORT_HISTOGRAM_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_HOST_PORT_H__ #ifndef GRPC_SUPPORT_HOST_PORT_H
#define __GRPC_SUPPORT_HOST_PORT_H__ #define GRPC_SUPPORT_HOST_PORT_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -59,4 +59,4 @@ void gpr_split_host_port(const char *name, char **host, char **port);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_HOST_PORT_H__ */ #endif /* GRPC_SUPPORT_HOST_PORT_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_LOG_H__ #ifndef GRPC_SUPPORT_LOG_H
#define __GRPC_SUPPORT_LOG_H__ #define GRPC_SUPPORT_LOG_H
#include <stdlib.h> /* for abort() */ #include <stdlib.h> /* for abort() */
#include <stdarg.h> #include <stdarg.h>
@ -105,4 +105,4 @@ void gpr_set_log_function(gpr_log_func func);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_LOG_H__ */ #endif /* GRPC_SUPPORT_LOG_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_LOG_WIN32_H__ #ifndef GRPC_SUPPORT_LOG_WIN32_H
#define __GRPC_SUPPORT_LOG_WIN32_H__ #define GRPC_SUPPORT_LOG_WIN32_H
#include <windows.h> #include <windows.h>
@ -50,4 +50,4 @@ char *gpr_format_message(DWORD messageid);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_LOG_H__ */ #endif /* GRPC_SUPPORT_LOG_WIN32_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_PORT_PLATFORM_H__ #ifndef GRPC_SUPPORT_PORT_PLATFORM_H
#define __GRPC_SUPPORT_PORT_PLATFORM_H__ #define GRPC_SUPPORT_PORT_PLATFORM_H
/* Override this file with one for your platform if you need to redefine /* Override this file with one for your platform if you need to redefine
things. */ things. */
@ -206,4 +206,4 @@ typedef uintptr_t gpr_uintptr;
power of two */ power of two */
#define GPR_MAX_ALIGNMENT 16 #define GPR_MAX_ALIGNMENT 16
#endif /* __GRPC_SUPPORT_PORT_PLATFORM_H__ */ #endif /* GRPC_SUPPORT_PORT_PLATFORM_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_SLICE_H__ #ifndef GRPC_SUPPORT_SLICE_H
#define __GRPC_SUPPORT_SLICE_H__ #define GRPC_SUPPORT_SLICE_H
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
@ -175,4 +175,4 @@ int gpr_slice_str_cmp(gpr_slice a, const char *b);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_SLICE_H__ */ #endif /* GRPC_SUPPORT_SLICE_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_SLICE_BUFFER_H__ #ifndef GRPC_SUPPORT_SLICE_BUFFER_H
#define __GRPC_SUPPORT_SLICE_BUFFER_H__ #define GRPC_SUPPORT_SLICE_BUFFER_H
#include <grpc/support/slice.h> #include <grpc/support/slice.h>
@ -81,4 +81,4 @@ void gpr_slice_buffer_reset_and_unref(gpr_slice_buffer *sb);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_SLICE_BUFFER_H__ */ #endif /* GRPC_SUPPORT_SLICE_BUFFER_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_SYNC_H__ #ifndef GRPC_SUPPORT_SYNC_H
#define __GRPC_SUPPORT_SYNC_H__ #define GRPC_SUPPORT_SYNC_H
/* Synchronization primitives for GPR. /* Synchronization primitives for GPR.
The type gpr_mu provides a non-reentrant mutex (lock). The type gpr_mu provides a non-reentrant mutex (lock).
@ -345,4 +345,4 @@ gpr_intptr gpr_stats_read(const gpr_stats_counter *c);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_SYNC_H__ */ #endif /* GRPC_SUPPORT_SYNC_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_SYNC_GENERIC_H__ #ifndef GRPC_SUPPORT_SYNC_GENERIC_H
#define __GRPC_SUPPORT_SYNC_GENERIC_H__ #define GRPC_SUPPORT_SYNC_GENERIC_H
/* Generic type defintions for gpr_sync. */ /* Generic type defintions for gpr_sync. */
#include <grpc/support/atm.h> #include <grpc/support/atm.h>
@ -58,4 +58,4 @@ typedef struct {
#define GPR_STATS_INIT \ #define GPR_STATS_INIT \
{ 0 } { 0 }
#endif /* __GRPC_SUPPORT_SYNC_GENERIC_H__ */ #endif /* GRPC_SUPPORT_SYNC_GENERIC_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_SYNC_POSIX_H__ #ifndef GRPC_SUPPORT_SYNC_POSIX_H
#define __GRPC_SUPPORT_SYNC_POSIX_H__ #define GRPC_SUPPORT_SYNC_POSIX_H
#include <grpc/support/sync_generic.h> #include <grpc/support/sync_generic.h>
@ -44,4 +44,4 @@ typedef pthread_once_t gpr_once;
#define GPR_ONCE_INIT PTHREAD_ONCE_INIT #define GPR_ONCE_INIT PTHREAD_ONCE_INIT
#endif /* __GRPC_SUPPORT_SYNC_POSIX_H__ */ #endif /* GRPC_SUPPORT_SYNC_POSIX_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_SYNC_WIN32_H__ #ifndef GRPC_SUPPORT_SYNC_WIN32_H
#define __GRPC_SUPPORT_SYNC_WIN32_H__ #define GRPC_SUPPORT_SYNC_WIN32_H
#include <grpc/support/sync_generic.h> #include <grpc/support/sync_generic.h>
@ -48,4 +48,4 @@ typedef CONDITION_VARIABLE gpr_cv;
typedef INIT_ONCE gpr_once; typedef INIT_ONCE gpr_once;
#define GPR_ONCE_INIT INIT_ONCE_STATIC_INIT #define GPR_ONCE_INIT INIT_ONCE_STATIC_INIT
#endif /* __GRPC_SUPPORT_SYNC_WIN32_H__ */ #endif /* GRPC_SUPPORT_SYNC_WIN32_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_THD_H__ #ifndef GRPC_SUPPORT_THD_H
#define __GRPC_SUPPORT_THD_H__ #define GRPC_SUPPORT_THD_H
/* Thread interface for GPR. /* Thread interface for GPR.
Types Types
@ -73,4 +73,4 @@ gpr_thd_id gpr_thd_currentid(void);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_THD_H__ */ #endif /* GRPC_SUPPORT_THD_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_TIME_H__ #ifndef GRPC_SUPPORT_TIME_H
#define __GRPC_SUPPORT_TIME_H__ #define GRPC_SUPPORT_TIME_H
/* Time support. /* Time support.
We use gpr_timespec, which is analogous to struct timespec. On some We use gpr_timespec, which is analogous to struct timespec. On some
machines, absolute times may be in local time. */ machines, absolute times may be in local time. */
@ -100,4 +100,4 @@ double gpr_timespec_to_micros(gpr_timespec t);
} }
#endif #endif
#endif /* __GRPC_SUPPORT_TIME_H__ */ #endif /* GRPC_SUPPORT_TIME_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_SUPPORT_USEFUL_H__ #ifndef GRPC_SUPPORT_USEFUL_H
#define __GRPC_SUPPORT_USEFUL_H__ #define GRPC_SUPPORT_USEFUL_H
/* useful macros that don't belong anywhere else */ /* useful macros that don't belong anywhere else */
@ -45,4 +45,4 @@
#define GPR_ARRAY_SIZE(array) (sizeof(array) / sizeof(*(array))) #define GPR_ARRAY_SIZE(array) (sizeof(array) / sizeof(*(array)))
#endif /* __GRPC_SUPPORT_USEFUL_H__ */ #endif /* GRPC_SUPPORT_USEFUL_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef NET_GRPC_COMPILER_CPP_GENERATOR_H_ #ifndef GRPC_INTERNAL_COMPILER_CPP_GENERATOR_H
#define NET_GRPC_COMPILER_CPP_GENERATOR_H_ #define GRPC_INTERNAL_COMPILER_CPP_GENERATOR_H
#include <string> #include <string>
@ -58,4 +58,4 @@ std::string GetSourceServices(const google::protobuf::FileDescriptor *file);
} // namespace grpc_cpp_generator } // namespace grpc_cpp_generator
#endif // NET_GRPC_COMPILER_CPP_GENERATOR_H_ #endif // GRPC_INTERNAL_COMPILER_CPP_GENERATOR_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef NET_GRPC_COMPILER_CPP_GENERATOR_HELPERS_H__ #ifndef GRPC_INTERNAL_COMPILER_CPP_GENERATOR_HELPERS_H
#define NET_GRPC_COMPILER_CPP_GENERATOR_HELPERS_H__ #define GRPC_INTERNAL_COMPILER_CPP_GENERATOR_HELPERS_H
#include <map> #include <map>
#include <string> #include <string>
@ -69,4 +69,4 @@ inline std::string ClassName(const google::protobuf::Descriptor *descriptor,
} // namespace grpc_cpp_generator } // namespace grpc_cpp_generator
#endif // NET_GRPC_COMPILER_CPP_GENERATOR_HELPERS_H__ #endif // GRPC_INTERNAL_COMPILER_CPP_GENERATOR_HELPERS_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef NET_GRPC_COMPILER_GENERATOR_HELPERS_H__ #ifndef GRPC_INTERNAL_COMPILER_GENERATOR_HELPERS_H
#define NET_GRPC_COMPILER_GENERATOR_HELPERS_H__ #define GRPC_INTERNAL_COMPILER_GENERATOR_HELPERS_H
#include <map> #include <map>
#include <string> #include <string>
@ -76,4 +76,4 @@ inline std::string StringReplace(std::string str, const std::string &from,
} // namespace grpc_generator } // namespace grpc_generator
#endif // NET_GRPC_COMPILER_GENERATOR_HELPERS_H__ #endif // GRPC_INTERNAL_COMPILER_GENERATOR_HELPERS_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_COMPILER_PYTHON_GENERATOR_H__ #ifndef GRPC_INTERNAL_COMPILER_PYTHON_GENERATOR_H
#define __GRPC_COMPILER_PYTHON_GENERATOR_H__ #define GRPC_INTERNAL_COMPILER_PYTHON_GENERATOR_H
#include <string> #include <string>
#include <utility> #include <utility>
@ -49,4 +49,4 @@ std::pair<bool, std::string> GetServices(const google::protobuf::FileDescriptor*
} // namespace grpc_python_generator } // namespace grpc_python_generator
#endif // __GRPC_COMPILER_PYTHON_GENERATOR_H__ #endif // GRPC_INTERNAL_COMPILER_PYTHON_GENERATOR_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef NET_GRPC_COMPILER_RUBY_GENERATOR_H_ #ifndef GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_H
#define NET_GRPC_COMPILER_RUBY_GENERATOR_H_ #define GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_H
#include <string> #include <string>
@ -48,4 +48,4 @@ std::string GetServices(const google::protobuf::FileDescriptor *file);
} // namespace grpc_ruby_generator } // namespace grpc_ruby_generator
#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_H_ #endif // GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef NET_GRPC_COMPILER_RUBY_GENERATOR_HELPERS_INL_H_ #ifndef GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_HELPERS_INL_H
#define NET_GRPC_COMPILER_RUBY_GENERATOR_HELPERS_INL_H_ #define GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_HELPERS_INL_H
#include <string> #include <string>
@ -64,4 +64,4 @@ inline std::string MessagesRequireName(
} // namespace grpc_ruby_generator } // namespace grpc_ruby_generator
#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_HELPERS_INL_H_ #endif // GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_HELPERS_INL_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef NET_GRPC_COMPILER_RUBY_GENERATOR_MAP_INL_H_ #ifndef GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_MAP_INL_H
#define NET_GRPC_COMPILER_RUBY_GENERATOR_MAP_INL_H_ #define GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_MAP_INL_H
#include <iostream> #include <iostream>
#include <initializer_list> #include <initializer_list>
@ -69,4 +69,4 @@ inline std::map<std::string, std::string> ListToDict(
} // namespace grpc_ruby_generator } // namespace grpc_ruby_generator
#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_MAP_INL_H_ #endif // GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_MAP_INL_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef NET_GRPC_COMPILER_RUBY_GENERATOR_STRING_INL_H_ #ifndef GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_STRING_INL_H
#define NET_GRPC_COMPILER_RUBY_GENERATOR_STRING_INL_H_ #define GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_STRING_INL_H
#include <algorithm> #include <algorithm>
#include <string> #include <string>
@ -130,4 +130,4 @@ inline std::string RubyTypeOf(const std::string &a_type,
} // namespace grpc_ruby_generator } // namespace grpc_ruby_generator
#endif // NET_GRPC_COMPILER_RUBY_GENERATOR_STRING_INL_H_ #endif // GRPC_INTERNAL_COMPILER_RUBY_GENERATOR_STRING_INL_H

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_CENSUS_FILTER_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_CENSUS_FILTER_H
#define __GRPC_INTERNAL_CHANNEL_CENSUS_FILTER_H__ #define GRPC_INTERNAL_CORE_CHANNEL_CENSUS_FILTER_H
#include "src/core/channel/channel_stack.h" #include "src/core/channel/channel_stack.h"
@ -41,4 +41,4 @@
extern const grpc_channel_filter grpc_client_census_filter; extern const grpc_channel_filter grpc_client_census_filter;
extern const grpc_channel_filter grpc_server_census_filter; extern const grpc_channel_filter grpc_server_census_filter;
#endif /* __GRPC_INTERNAL_CHANNEL_CENSUS_FILTER_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_CENSUS_FILTER_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_CHANNEL_ARGS_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_CHANNEL_ARGS_H
#define __GRPC_INTERNAL_CHANNEL_CHANNEL_ARGS_H__ #define GRPC_INTERNAL_CORE_CHANNEL_CHANNEL_ARGS_H
#include <grpc/grpc.h> #include <grpc/grpc.h>
@ -51,4 +51,4 @@ void grpc_channel_args_destroy(grpc_channel_args *a);
is specified in channel args, otherwise returns 0. */ is specified in channel args, otherwise returns 0. */
int grpc_channel_args_is_census_enabled(const grpc_channel_args *a); int grpc_channel_args_is_census_enabled(const grpc_channel_args *a);
#endif /* __GRPC_INTERNAL_CHANNEL_CHANNEL_ARGS_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_CHANNEL_ARGS_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_CHANNEL_STACK_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_CHANNEL_STACK_H
#define __GRPC_INTERNAL_CHANNEL_CHANNEL_STACK_H__ #define GRPC_INTERNAL_CORE_CHANNEL_CHANNEL_STACK_H
/* A channel filter defines how operations on a channel are implemented. /* A channel filter defines how operations on a channel are implemented.
Channel filters are chained together to create full channels, and if those Channel filters are chained together to create full channels, and if those
@ -301,4 +301,4 @@ void grpc_call_element_send_finish(grpc_call_element *cur_elem);
#define GRPC_CALL_LOG_OP(sev, elem, op) \ #define GRPC_CALL_LOG_OP(sev, elem, op) \
if (grpc_trace_bits & GRPC_TRACE_CHANNEL) grpc_call_log_op(sev, elem, op) if (grpc_trace_bits & GRPC_TRACE_CHANNEL) grpc_call_log_op(sev, elem, op)
#endif /* __GRPC_INTERNAL_CHANNEL_CHANNEL_STACK_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_CHANNEL_STACK_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_CHILD_CHANNEL_H_ #ifndef GRPC_INTERNAL_CORE_CHANNEL_CHILD_CHANNEL_H
#define __GRPC_INTERNAL_CHANNEL_CHILD_CHANNEL_H_ #define GRPC_INTERNAL_CORE_CHANNEL_CHILD_CHANNEL_H
#include "src/core/channel/channel_stack.h" #include "src/core/channel/channel_stack.h"
@ -61,4 +61,4 @@ grpc_child_call *grpc_child_channel_create_call(grpc_child_channel *channel,
grpc_call_element *grpc_child_call_get_top_element(grpc_child_call *call); grpc_call_element *grpc_child_call_get_top_element(grpc_child_call *call);
void grpc_child_call_destroy(grpc_child_call *call); void grpc_child_call_destroy(grpc_child_call *call);
#endif /* __GRPC_INTERNAL_CHANNEL_CHILD_CHANNEL_H_ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_CHILD_CHANNEL_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_CLIENT_CHANNEL_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_CLIENT_CHANNEL_H
#define __GRPC_INTERNAL_CHANNEL_CLIENT_CHANNEL_H__ #define GRPC_INTERNAL_CORE_CHANNEL_CLIENT_CHANNEL_H
#include "src/core/channel/channel_stack.h" #include "src/core/channel/channel_stack.h"
@ -59,4 +59,4 @@ grpc_transport_setup_result grpc_client_channel_transport_setup_complete(
grpc_channel_filter const **channel_filters, size_t num_channel_filters, grpc_channel_filter const **channel_filters, size_t num_channel_filters,
grpc_mdctx *mdctx); grpc_mdctx *mdctx);
#endif /* __GRPC_INTERNAL_CHANNEL_CLIENT_CHANNEL_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_CLIENT_CHANNEL_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_CLIENT_SETUP_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_CLIENT_SETUP_H
#define __GRPC_INTERNAL_CHANNEL_CLIENT_SETUP_H__ #define GRPC_INTERNAL_CORE_CHANNEL_CLIENT_SETUP_H
#include "src/core/channel/client_channel.h" #include "src/core/channel/client_channel.h"
#include "src/core/transport/metadata.h" #include "src/core/transport/metadata.h"
@ -70,4 +70,4 @@ gpr_timespec grpc_client_setup_request_deadline(grpc_client_setup_request *r);
grpc_mdctx *grpc_client_setup_get_mdctx(grpc_client_setup_request *r); grpc_mdctx *grpc_client_setup_get_mdctx(grpc_client_setup_request *r);
#endif /* __GRPC_INTERNAL_CHANNEL_CLIENT_SETUP_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_CLIENT_SETUP_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_CONNECTED_CHANNEL_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_CONNECTED_CHANNEL_H
#define __GRPC_INTERNAL_CHANNEL_CONNECTED_CHANNEL_H__ #define GRPC_INTERNAL_CORE_CHANNEL_CONNECTED_CHANNEL_H
#include "src/core/channel/channel_stack.h" #include "src/core/channel/channel_stack.h"
@ -46,4 +46,4 @@ extern const grpc_channel_filter grpc_connected_channel_filter;
grpc_transport_setup_result grpc_connected_channel_bind_transport( grpc_transport_setup_result grpc_connected_channel_bind_transport(
grpc_channel_stack *channel_stack, grpc_transport *transport); grpc_channel_stack *channel_stack, grpc_transport *transport);
#endif /* __GRPC_INTERNAL_CHANNEL_CONNECTED_CHANNEL_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_CONNECTED_CHANNEL_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_HTTP_CLIENT_FILTER_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_HTTP_CLIENT_FILTER_H
#define __GRPC_INTERNAL_CHANNEL_HTTP_CLIENT_FILTER_H__ #define GRPC_INTERNAL_CORE_CHANNEL_HTTP_CLIENT_FILTER_H
#include "src/core/channel/channel_stack.h" #include "src/core/channel/channel_stack.h"
@ -41,4 +41,4 @@ extern const grpc_channel_filter grpc_http_client_filter;
#define GRPC_ARG_HTTP2_SCHEME "grpc.http2_scheme" #define GRPC_ARG_HTTP2_SCHEME "grpc.http2_scheme"
#endif /* __GRPC_INTERNAL_CHANNEL_HTTP_CLIENT_FILTER_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_HTTP_CLIENT_FILTER_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_HTTP_FILTER_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_HTTP_FILTER_H
#define __GRPC_INTERNAL_CHANNEL_HTTP_FILTER_H__ #define GRPC_INTERNAL_CORE_CHANNEL_HTTP_FILTER_H
#include "src/core/channel/channel_stack.h" #include "src/core/channel/channel_stack.h"
@ -40,4 +40,4 @@
transports. */ transports. */
extern const grpc_channel_filter grpc_http_filter; extern const grpc_channel_filter grpc_http_filter;
#endif /* __GRPC_INTERNAL_CHANNEL_HTTP_FILTER_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_HTTP_FILTER_H */

@ -31,12 +31,12 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_HTTP_SERVER_FILTER_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_HTTP_SERVER_FILTER_H
#define __GRPC_INTERNAL_CHANNEL_HTTP_SERVER_FILTER_H__ #define GRPC_INTERNAL_CORE_CHANNEL_HTTP_SERVER_FILTER_H
#include "src/core/channel/channel_stack.h" #include "src/core/channel/channel_stack.h"
/* Processes metadata on the client side for HTTP2 transports */ /* Processes metadata on the client side for HTTP2 transports */
extern const grpc_channel_filter grpc_http_server_filter; extern const grpc_channel_filter grpc_http_server_filter;
#endif /* __GRPC_INTERNAL_CHANNEL_HTTP_SERVER_FILTER_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_HTTP_SERVER_FILTER_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_METADATA_BUFFER_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_METADATA_BUFFER_H
#define __GRPC_INTERNAL_CHANNEL_METADATA_BUFFER_H__ #define GRPC_INTERNAL_CORE_CHANNEL_METADATA_BUFFER_H
#include "src/core/channel/channel_stack.h" #include "src/core/channel/channel_stack.h"
@ -67,4 +67,4 @@ grpc_metadata *grpc_metadata_buffer_extract_elements(
grpc_metadata_buffer *buffer); grpc_metadata_buffer *buffer);
void grpc_metadata_buffer_cleanup_elements(void *elements, grpc_op_error error); void grpc_metadata_buffer_cleanup_elements(void *elements, grpc_op_error error);
#endif /* __GRPC_INTERNAL_CHANNEL_METADATA_BUFFER_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_METADATA_BUFFER_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_CHANNEL_NOOP_FILTER_H__ #ifndef GRPC_INTERNAL_CORE_CHANNEL_NOOP_FILTER_H
#define __GRPC_INTERNAL_CHANNEL_NOOP_FILTER_H__ #define GRPC_INTERNAL_CORE_CHANNEL_NOOP_FILTER_H
#include "src/core/channel/channel_stack.h" #include "src/core/channel/channel_stack.h"
@ -41,4 +41,4 @@
customize for their own filters */ customize for their own filters */
extern const grpc_channel_filter grpc_no_op_filter; extern const grpc_channel_filter grpc_no_op_filter;
#endif /* __GRPC_INTERNAL_CHANNEL_NOOP_FILTER_H__ */ #endif /* GRPC_INTERNAL_CORE_CHANNEL_NOOP_FILTER_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_COMPRESSION_ALGORITHM_H__ #ifndef GRPC_INTERNAL_CORE_COMPRESSION_ALGORITHM_H
#define __GRPC_INTERNAL_COMPRESSION_ALGORITHM_H__ #define GRPC_INTERNAL_CORE_COMPRESSION_ALGORITHM_H
/* The various compression algorithms supported by GRPC */ /* The various compression algorithms supported by GRPC */
typedef enum { typedef enum {
@ -46,4 +46,4 @@ typedef enum {
const char *grpc_compression_algorithm_name( const char *grpc_compression_algorithm_name(
grpc_compression_algorithm algorithm); grpc_compression_algorithm algorithm);
#endif /* __GRPC_INTERNAL_COMPRESSION_ALGORITHM_H__ */ #endif /* GRPC_INTERNAL_CORE_COMPRESSION_ALGORITHM_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_COMPRESSION_MESSAGE_COMPRESS_H__ #ifndef GRPC_INTERNAL_CORE_COMPRESSION_MESSAGE_COMPRESS_H
#define __GRPC_INTERNAL_COMPRESSION_MESSAGE_COMPRESS_H__ #define GRPC_INTERNAL_CORE_COMPRESSION_MESSAGE_COMPRESS_H
#include "src/core/compression/algorithm.h" #include "src/core/compression/algorithm.h"
#include <grpc/support/slice_buffer.h> #include <grpc/support/slice_buffer.h>
@ -49,4 +49,4 @@ int grpc_msg_compress(grpc_compression_algorithm algorithm,
int grpc_msg_decompress(grpc_compression_algorithm algorithm, int grpc_msg_decompress(grpc_compression_algorithm algorithm,
gpr_slice_buffer *input, gpr_slice_buffer *output); gpr_slice_buffer *input, gpr_slice_buffer *output);
#endif /* __GRPC_INTERNAL_COMPRESSION_MESSAGE_COMPRESS_H__ */ #endif /* GRPC_INTERNAL_CORE_COMPRESSION_MESSAGE_COMPRESS_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef GRPC_CORE_DEBUG_TRACE_H #ifndef GRPC_INTERNAL_CORE_DEBUG_TRACE_H
#define GRPC_CORE_DEBUG_TRACE_H #define GRPC_INTERNAL_CORE_DEBUG_TRACE_H
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
@ -57,5 +57,4 @@ extern gpr_uint32 grpc_trace_bits;
void grpc_init_trace_bits(); void grpc_init_trace_bits();
#endif #endif /* GRPC_INTERNAL_CORE_DEBUG_TRACE_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_HTTPCLI_FORMAT_REQUEST_H__ #ifndef GRPC_INTERNAL_CORE_HTTPCLI_FORMAT_REQUEST_H
#define __GRPC_INTERNAL_HTTPCLI_FORMAT_REQUEST_H__ #define GRPC_INTERNAL_CORE_HTTPCLI_FORMAT_REQUEST_H
#include "src/core/httpcli/httpcli.h" #include "src/core/httpcli/httpcli.h"
#include <grpc/support/slice.h> #include <grpc/support/slice.h>
@ -42,4 +42,4 @@ gpr_slice grpc_httpcli_format_post_request(const grpc_httpcli_request *request,
const char *body_bytes, const char *body_bytes,
size_t body_size); size_t body_size);
#endif /* __GRPC_INTERNAL_HTTPCLI_FORMAT_REQUEST_H__ */ #endif /* GRPC_INTERNAL_CORE_HTTPCLI_FORMAT_REQUEST_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_HTTPCLI_HTTPCLI_H__ #ifndef GRPC_INTERNAL_CORE_HTTPCLI_HTTPCLI_H
#define __GRPC_INTERNAL_HTTPCLI_HTTPCLI_H__ #define GRPC_INTERNAL_CORE_HTTPCLI_HTTPCLI_H
#include <stddef.h> #include <stddef.h>
@ -115,4 +115,4 @@ typedef int (*grpc_httpcli_post_override)(const grpc_httpcli_request *request,
void grpc_httpcli_set_override(grpc_httpcli_get_override get, void grpc_httpcli_set_override(grpc_httpcli_get_override get,
grpc_httpcli_post_override post); grpc_httpcli_post_override post);
#endif /* __GRPC_INTERNAL_HTTPCLI_HTTPCLI_H__ */ #endif /* GRPC_INTERNAL_CORE_HTTPCLI_HTTPCLI_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_HTTPCLI_HTTPCLI_SECURITY_CONTEXT_H__ #ifndef GRPC_INTERNAL_CORE_HTTPCLI_HTTPCLI_SECURITY_CONTEXT_H
#define __GRPC_INTERNAL_HTTPCLI_HTTPCLI_SECURITY_CONTEXT_H__ #define GRPC_INTERNAL_CORE_HTTPCLI_HTTPCLI_SECURITY_CONTEXT_H
#include "src/core/security/security_context.h" #include "src/core/security/security_context.h"
@ -40,4 +40,4 @@ grpc_security_status grpc_httpcli_ssl_channel_security_context_create(
const unsigned char *pem_root_certs, size_t pem_root_certs_size, const unsigned char *pem_root_certs, size_t pem_root_certs_size,
const char *secure_peer_name, grpc_channel_security_context **ctx); const char *secure_peer_name, grpc_channel_security_context **ctx);
#endif /* __GRPC_INTERNAL_HTTPCLI_HTTPCLI_SECURITY_CONTEXT_H__ */ #endif /* GRPC_INTERNAL_CORE_HTTPCLI_HTTPCLI_SECURITY_CONTEXT_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_HTTPCLI_PARSER_H__ #ifndef GRPC_INTERNAL_CORE_HTTPCLI_PARSER_H
#define __GRPC_INTERNAL_HTTPCLI_PARSER_H__ #define GRPC_INTERNAL_CORE_HTTPCLI_PARSER_H
#include "src/core/httpcli/httpcli.h" #include "src/core/httpcli/httpcli.h"
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
@ -61,4 +61,4 @@ void grpc_httpcli_parser_destroy(grpc_httpcli_parser *parser);
int grpc_httpcli_parser_parse(grpc_httpcli_parser *parser, gpr_slice slice); int grpc_httpcli_parser_parse(grpc_httpcli_parser *parser, gpr_slice slice);
int grpc_httpcli_parser_eof(grpc_httpcli_parser *parser); int grpc_httpcli_parser_eof(grpc_httpcli_parser *parser);
#endif /* __GRPC_INTERNAL_HTTPCLI_PARSER_H__ */ #endif /* GRPC_INTERNAL_CORE_HTTPCLI_PARSER_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_ALARM_H__ #ifndef GRPC_INTERNAL_CORE_IOMGR_ALARM_H
#define __GRPC_INTERNAL_IOMGR_ALARM_H__ #define GRPC_INTERNAL_CORE_IOMGR_ALARM_H
#include "src/core/iomgr/iomgr.h" #include "src/core/iomgr/iomgr.h"
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
@ -86,4 +86,4 @@ void grpc_alarm_init(grpc_alarm *alarm, gpr_timespec deadline,
Requires: cancel() must happen after add() on a given alarm */ Requires: cancel() must happen after add() on a given alarm */
void grpc_alarm_cancel(grpc_alarm *alarm); void grpc_alarm_cancel(grpc_alarm *alarm);
#endif /* __GRPC_INTERNAL_IOMGR_ALARM_H__ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_ALARM_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_ALARM_HEAP_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_ALARM_HEAP_H
#define __GRPC_INTERNAL_IOMGR_ALARM_HEAP_H_ #define GRPC_INTERNAL_CORE_IOMGR_ALARM_HEAP_H
#include "src/core/iomgr/alarm.h" #include "src/core/iomgr/alarm.h"
@ -54,4 +54,4 @@ void grpc_alarm_heap_pop(grpc_alarm_heap *heap);
int grpc_alarm_heap_is_empty(grpc_alarm_heap *heap); int grpc_alarm_heap_is_empty(grpc_alarm_heap *heap);
#endif /* __GRPC_INTERNAL_IOMGR_ALARM_HEAP_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_ALARM_HEAP_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_ALARM_INTERNAL_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_ALARM_INTERNAL_H
#define __GRPC_INTERNAL_IOMGR_ALARM_INTERNAL_H_ #define GRPC_INTERNAL_CORE_IOMGR_ALARM_INTERNAL_H
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
#include <grpc/support/time.h> #include <grpc/support/time.h>
@ -59,4 +59,4 @@ gpr_timespec grpc_alarm_list_next_timeout(void);
void grpc_kick_poller(void); void grpc_kick_poller(void);
#endif /* __GRPC_INTERNAL_IOMGR_ALARM_INTERNAL_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_ALARM_INTERNAL_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_ENDPOINT_H__ #ifndef GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_H
#define __GRPC_INTERNAL_IOMGR_ENDPOINT_H__ #define GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_H
#include "src/core/iomgr/pollset.h" #include "src/core/iomgr/pollset.h"
#include <grpc/support/slice.h> #include <grpc/support/slice.h>
@ -103,4 +103,4 @@ struct grpc_endpoint {
const grpc_endpoint_vtable *vtable; const grpc_endpoint_vtable *vtable;
}; };
#endif /* __GRPC_INTERNAL_IOMGR_ENDPOINT_H__ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_ENDPOINT_PAIR_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_PAIR_H
#define __GRPC_INTERNAL_IOMGR_ENDPOINT_PAIR_H_ #define GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_PAIR_H
#include "src/core/iomgr/endpoint.h" #include "src/core/iomgr/endpoint.h"
@ -43,4 +43,4 @@ typedef struct {
grpc_endpoint_pair grpc_iomgr_create_endpoint_pair(size_t read_slice_size); grpc_endpoint_pair grpc_iomgr_create_endpoint_pair(size_t read_slice_size);
#endif /* __GRPC_INTERNAL_IOMGR_ENDPOINT_PAIR_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_PAIR_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_FD_POSIX_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_FD_POSIX_H
#define __GRPC_INTERNAL_IOMGR_FD_POSIX_H_ #define GRPC_INTERNAL_CORE_IOMGR_FD_POSIX_H
#include "src/core/iomgr/iomgr.h" #include "src/core/iomgr/iomgr.h"
#include "src/core/iomgr/pollset.h" #include "src/core/iomgr/pollset.h"
@ -143,4 +143,4 @@ void grpc_fd_unref(grpc_fd *fd);
void grpc_fd_global_init(void); void grpc_fd_global_init(void);
void grpc_fd_global_shutdown(void); void grpc_fd_global_shutdown(void);
#endif /* __GRPC_INTERNAL_IOMGR_FD_POSIX_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_FD_POSIX_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_IOCP_WINDOWS_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_IOCP_WINDOWS_H
#define __GRPC_INTERNAL_IOMGR_IOCP_WINDOWS_H_ #define GRPC_INTERNAL_CORE_IOMGR_IOCP_WINDOWS_H
#include <windows.h> #include <windows.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
@ -49,4 +49,4 @@ void grpc_socket_notify_on_write(grpc_winsocket *, void(*cb)(void *, int success
void grpc_socket_notify_on_read(grpc_winsocket *, void(*cb)(void *, int success), void grpc_socket_notify_on_read(grpc_winsocket *, void(*cb)(void *, int success),
void *opaque); void *opaque);
#endif /* __GRPC_INTERNAL_IOMGR_IOCP_WINDOWS_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_IOCP_WINDOWS_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_IOMGR_H__ #ifndef GRPC_INTERNAL_CORE_IOMGR_IOMGR_H
#define __GRPC_INTERNAL_IOMGR_IOMGR_H__ #define GRPC_INTERNAL_CORE_IOMGR_IOMGR_H
/* gRPC Callback definition */ /* gRPC Callback definition */
typedef void (*grpc_iomgr_cb_func)(void *arg, int success); typedef void (*grpc_iomgr_cb_func)(void *arg, int success);
@ -44,4 +44,4 @@ void grpc_iomgr_shutdown(void);
and causes the invocation of a callback at some point in the future */ and causes the invocation of a callback at some point in the future */
void grpc_iomgr_add_callback(grpc_iomgr_cb_func cb, void *cb_arg); void grpc_iomgr_add_callback(grpc_iomgr_cb_func cb, void *cb_arg);
#endif /* __GRPC_INTERNAL_IOMGR_IOMGR_H__ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_IOMGR_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_IOMGR_INTERNAL_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_IOMGR_INTERNAL_H
#define __GRPC_INTERNAL_IOMGR_IOMGR_INTERNAL_H_ #define GRPC_INTERNAL_CORE_IOMGR_IOMGR_INTERNAL_H
#include "src/core/iomgr/iomgr.h" #include "src/core/iomgr/iomgr.h"
#include "src/core/iomgr/iomgr_internal.h" #include "src/core/iomgr/iomgr_internal.h"
@ -48,4 +48,4 @@ void grpc_iomgr_unref(void);
void grpc_iomgr_platform_init(void); void grpc_iomgr_platform_init(void);
void grpc_iomgr_platform_shutdown(void); void grpc_iomgr_platform_shutdown(void);
#endif /* __GRPC_INTERNAL_IOMGR_IOMGR_INTERNAL_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_IOMGR_INTERNAL_H */

@ -31,12 +31,12 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_IOMGR_POSIX_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_IOMGR_POSIX_H
#define __GRPC_INTERNAL_IOMGR_IOMGR_POSIX_H_ #define GRPC_INTERNAL_CORE_IOMGR_IOMGR_POSIX_H
#include "src/core/iomgr/iomgr_internal.h" #include "src/core/iomgr/iomgr_internal.h"
void grpc_pollset_global_init(void); void grpc_pollset_global_init(void);
void grpc_pollset_global_shutdown(void); void grpc_pollset_global_shutdown(void);
#endif /* __GRPC_INTERNAL_IOMGR_IOMGR_POSIX_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_IOMGR_POSIX_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_POLLSET_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_POLLSET_H
#define __GRPC_INTERNAL_IOMGR_POLLSET_H_ #define GRPC_INTERNAL_CORE_IOMGR_POLLSET_H
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
#include <grpc/support/time.h> #include <grpc/support/time.h>
@ -71,4 +71,4 @@ int grpc_pollset_work(grpc_pollset *pollset, gpr_timespec deadline);
Requires GRPC_POLLSET_MU(pollset) locked. */ Requires GRPC_POLLSET_MU(pollset) locked. */
void grpc_pollset_kick(grpc_pollset *pollset); void grpc_pollset_kick(grpc_pollset *pollset);
#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_POLLSET_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_POLLSET_KICK_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_POLLSET_KICK_H
#define __GRPC_INTERNAL_IOMGR_POLLSET_KICK_H_ #define GRPC_INTERNAL_CORE_IOMGR_POLLSET_KICK_H
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
@ -71,4 +71,4 @@ void grpc_pollset_kick_post_poll(grpc_pollset_kick_state *kick_state);
void grpc_pollset_kick_kick(grpc_pollset_kick_state *kick_state); void grpc_pollset_kick_kick(grpc_pollset_kick_state *kick_state);
#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_KICK_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_POLLSET_KICK_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_POLLSET_KICK_POSIX_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_POLLSET_KICK_POSIX_H
#define __GRPC_INTERNAL_IOMGR_POLLSET_KICK_POSIX_H_ #define GRPC_INTERNAL_CORE_IOMGR_POLLSET_KICK_POSIX_H
#include "src/core/iomgr/wakeup_fd_posix.h" #include "src/core/iomgr/wakeup_fd_posix.h"
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
@ -48,4 +48,4 @@ typedef struct grpc_pollset_kick_state {
struct grpc_kick_fd_info *fd_info; struct grpc_kick_fd_info *fd_info;
} grpc_pollset_kick_state; } grpc_pollset_kick_state;
#endif /* __GRPC_INTERNALIOMGR_POLLSET_KICK_POSIX_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_POLLSET_KICK_POSIX_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_POLLSET_KICK_WINDOWS_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_POLLSET_KICK_WINDOWS_H
#define __GRPC_INTERNAL_IOMGR_POLLSET_KICK_WINDOWS_H_ #define GRPC_INTERNAL_CORE_IOMGR_POLLSET_KICK_WINDOWS_H
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
@ -42,4 +42,4 @@ typedef struct grpc_pollset_kick_state {
int unused; int unused;
} grpc_pollset_kick_state; } grpc_pollset_kick_state;
#endif /* __GRPC_INTERNALIOMGR_POLLSET_KICK_WINDOWS_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_POLLSET_KICK_WINDOWS_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_POLLSET_POSIX_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_POLLSET_POSIX_H
#define __GRPC_INTERNAL_IOMGR_POLLSET_POSIX_H_ #define GRPC_INTERNAL_CORE_IOMGR_POLLSET_POSIX_H
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
@ -104,4 +104,4 @@ grpc_pollset *grpc_backup_pollset(void);
void grpc_platform_become_multipoller(grpc_pollset *pollset, void grpc_platform_become_multipoller(grpc_pollset *pollset,
struct grpc_fd **fds, size_t fd_count); struct grpc_fd **fds, size_t fd_count);
#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_POSIX_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_POLLSET_POSIX_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_POLLSET_WINDOWS_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_POLLSET_WINDOWS_H
#define __GRPC_INTERNAL_IOMGR_POLLSET_WINDOWS_H_ #define GRPC_INTERNAL_CORE_IOMGR_POLLSET_WINDOWS_H
#include <windows.h> #include <windows.h>
#include <grpc/support/sync.h> #include <grpc/support/sync.h>
@ -53,4 +53,4 @@ typedef struct grpc_pollset {
#define GRPC_POLLSET_MU(pollset) (&(pollset)->mu) #define GRPC_POLLSET_MU(pollset) (&(pollset)->mu)
#define GRPC_POLLSET_CV(pollset) (&(pollset)->cv) #define GRPC_POLLSET_CV(pollset) (&(pollset)->cv)
#endif /* __GRPC_INTERNAL_IOMGR_POLLSET_WINDOWS_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_POLLSET_WINDOWS_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_RESOLVE_ADDRESS_H__ #ifndef GRPC_INTERNAL_CORE_IOMGR_RESOLVE_ADDRESS_H
#define __GRPC_INTERNAL_IOMGR_RESOLVE_ADDRESS_H__ #define GRPC_INTERNAL_CORE_IOMGR_RESOLVE_ADDRESS_H
#include <stddef.h> #include <stddef.h>
@ -66,4 +66,4 @@ void grpc_resolved_addresses_destroy(grpc_resolved_addresses *addresses);
grpc_resolved_addresses *grpc_blocking_resolve_address( grpc_resolved_addresses *grpc_blocking_resolve_address(
const char *addr, const char *default_port); const char *addr, const char *default_port);
#endif /* __GRPC_INTERNAL_IOMGR_RESOLVE_ADDRESS_H__ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_RESOLVE_ADDRESS_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_SOCKADDR_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_H
#define __GRPC_INTERNAL_IOMGR_SOCKADDR_H_ #define GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_H
#include <grpc/support/port_platform.h> #include <grpc/support/port_platform.h>
@ -44,4 +44,4 @@
#include "src/core/iomgr/sockaddr_posix.h" #include "src/core/iomgr/sockaddr_posix.h"
#endif #endif
#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_SOCKADDR_POSIX_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_POSIX_H
#define __GRPC_INTERNAL_IOMGR_SOCKADDR_POSIX_H_ #define GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_POSIX_H
#include <arpa/inet.h> #include <arpa/inet.h>
#include <sys/socket.h> #include <sys/socket.h>
@ -41,4 +41,4 @@
#include <netdb.h> #include <netdb.h>
#include <unistd.h> #include <unistd.h>
#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_POSIX_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_POSIX_H */

@ -31,8 +31,8 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_SOCKADDR_UTILS_H__ #ifndef GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_UTILS_H
#define __GRPC_INTERNAL_IOMGR_SOCKADDR_UTILS_H__ #define GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_UTILS_H
#include "src/core/iomgr/sockaddr.h" #include "src/core/iomgr/sockaddr.h"
@ -84,4 +84,4 @@ int grpc_sockaddr_set_port(const struct sockaddr *addr, int port);
int grpc_sockaddr_to_string(char **out, const struct sockaddr *addr, int grpc_sockaddr_to_string(char **out, const struct sockaddr *addr,
int normalize); int normalize);
#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_UTILS_H__ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_UTILS_H */

@ -31,11 +31,11 @@
* *
*/ */
#ifndef __GRPC_INTERNAL_IOMGR_SOCKADDR_WIN32_H_ #ifndef GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_WIN32_H
#define __GRPC_INTERNAL_IOMGR_SOCKADDR_WIN32_H_ #define GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_WIN32_H
#include <ws2tcpip.h> #include <ws2tcpip.h>
#include <winsock2.h> #include <winsock2.h>
#include <mswsock.h> #include <mswsock.h>
#endif /* __GRPC_INTERNAL_IOMGR_SOCKADDR_WIN32_H_ */ #endif /* GRPC_INTERNAL_CORE_IOMGR_SOCKADDR_WIN32_H */

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save