diff --git a/include/ts/apidefs.h.in b/include/ts/apidefs.h.in index b2bf28140ce..80ec0a9d04a 100644 --- a/include/ts/apidefs.h.in +++ b/include/ts/apidefs.h.in @@ -598,8 +598,6 @@ typedef enum { AFTER_BODY, } TSFetchWakeUpOptions; -#ifndef _HTTP_PROXY_API_ENUMS_H_ -#define _HTTP_PROXY_API_ENUMS_H_ /// Values for per server outbound connection tracking group definition. /// See proxy.config.http.per_server.match typedef enum { @@ -608,7 +606,6 @@ typedef enum { TS_SERVER_OUTBOUND_MATCH_HOST, TS_SERVER_OUTBOUND_MATCH_BOTH } TSOutboundConnectionMatchType; -#endif /* librecords types */ diff --git a/proxy/http/HttpProxyAPIEnums.h b/proxy/http/HttpProxyAPIEnums.h index f0d84557210..f888f5a63c7 100644 --- a/proxy/http/HttpProxyAPIEnums.h +++ b/proxy/http/HttpProxyAPIEnums.h @@ -55,18 +55,3 @@ typedef enum { TS_SERVER_SESSION_SHARING_POOL_GLOBAL, TS_SERVER_SESSION_SHARING_POOL_THREAD, } TSServerSessionSharingPoolType; - -// This is use to signal apidefs.h to not define these again. -#ifndef _HTTP_PROXY_API_ENUMS_H_ -#define _HTTP_PROXY_API_ENUMS_H_ - -/// Values for per server outbound connection tracking group definition. -/// See proxy.config.http.per_server.match -typedef enum { - TS_SERVER_OUTBOUND_MATCH_IP, - TS_SERVER_OUTBOUND_MATCH_PORT, - TS_SERVER_OUTBOUND_MATCH_HOST, - TS_SERVER_OUTBOUND_MATCH_BOTH -} TSOutboundConnectionMatchType; - -#endif