mirror of
https://github.com/sogou/workflow.git
synced 2026-10-25 17:10:05 +08:00
Fix 'include' errors
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
#ifndef _DNSCACHE_H_
|
||||
#define _DNSCACHE_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
@@ -31,7 +32,6 @@
|
||||
#include "list.h"
|
||||
#include "rbtree.h"
|
||||
#include "WFGlobal.h"
|
||||
#include "WFConnection.h"
|
||||
#include "MD5Util.h"
|
||||
#include "CommScheduler.h"
|
||||
#include "EndpointParams.h"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <pthread.h>
|
||||
#include "UpstreamManager.h"
|
||||
#include "WFNameService.h"
|
||||
#include "WFGlobal.h"
|
||||
#include "UpstreamPolicies.h"
|
||||
|
||||
class __UpstreamManager
|
||||
|
||||
@@ -18,11 +18,9 @@
|
||||
|
||||
#ifndef _UPSTREAM_MANAGER_H_
|
||||
#define _UPSTREAM_MANAGER_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <functional>
|
||||
#include "URIParser.h"
|
||||
#include "EndpointParams.h"
|
||||
#include "WFServiceGovernance.h"
|
||||
#include "UpstreamPolicies.h"
|
||||
#include "WFGlobal.h"
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
Xie Han (xiehan@sogou-inc.com)
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <unistd.h>
|
||||
#include <assert.h>
|
||||
#include <signal.h>
|
||||
#include <pthread.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <ctype.h>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <atomic>
|
||||
@@ -35,8 +35,6 @@
|
||||
#include <openssl/engine.h>
|
||||
#include <openssl/conf.h>
|
||||
#include <openssl/crypto.h>
|
||||
#include "WFGlobal.h"
|
||||
#include "EndpointParams.h"
|
||||
#include "CommScheduler.h"
|
||||
#include "DnsCache.h"
|
||||
#include "RouteManager.h"
|
||||
@@ -46,6 +44,7 @@
|
||||
#include "WFNameService.h"
|
||||
#include "WFDnsResolver.h"
|
||||
#include "WFDnsClient.h"
|
||||
#include "WFGlobal.h"
|
||||
|
||||
class __WFGlobal
|
||||
{
|
||||
|
||||
+10
-16
@@ -26,13 +26,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <openssl/ssl.h>
|
||||
#include "CommScheduler.h"
|
||||
#include "DnsCache.h"
|
||||
#include "RouteManager.h"
|
||||
#include "Executor.h"
|
||||
#include "EndpointParams.h"
|
||||
#include "WFNameService.h"
|
||||
#include "WFDnsResolver.h"
|
||||
|
||||
/**
|
||||
* @file WFGlobal.h
|
||||
@@ -114,18 +108,18 @@ public:
|
||||
|
||||
// Internal usage only
|
||||
public:
|
||||
static CommScheduler *get_scheduler();
|
||||
static DnsCache *get_dns_cache();
|
||||
static RouteManager *get_route_manager();
|
||||
static class CommScheduler *get_scheduler();
|
||||
static class DnsCache *get_dns_cache();
|
||||
static class RouteManager *get_route_manager();
|
||||
static SSL_CTX *get_ssl_client_ctx();
|
||||
static SSL_CTX *new_ssl_server_ctx();
|
||||
static ExecQueue *get_exec_queue(const std::string& queue_name);
|
||||
static Executor *get_compute_executor();
|
||||
static IOService *get_io_service();
|
||||
static ExecQueue *get_dns_queue();
|
||||
static Executor *get_dns_executor();
|
||||
static WFNameService *get_name_service();
|
||||
static WFDnsResolver *get_dns_resolver();
|
||||
static class ExecQueue *get_exec_queue(const std::string& queue_name);
|
||||
static class Executor *get_compute_executor();
|
||||
static class IOService *get_io_service();
|
||||
static class ExecQueue *get_dns_queue();
|
||||
static class Executor *get_dns_executor();
|
||||
static class WFNameService *get_name_service();
|
||||
static class WFDnsResolver *get_dns_resolver();
|
||||
static class WFDnsClient *get_dns_client();
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user