FreeRDP
proxy_types.h
1 
21 #ifndef FREERDP_SERVER_PROXY_TYPES_H
22 #define FREERDP_SERVER_PROXY_TYPES_H
23 
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28 
30  typedef enum
31  {
32  PF_UTILS_CHANNEL_NOT_HANDLED,
33  PF_UTILS_CHANNEL_BLOCK,
34  PF_UTILS_CHANNEL_PASSTHROUGH,
35  PF_UTILS_CHANNEL_INTERCEPT
36  } pf_utils_channel_mode;
37 
39  typedef enum
40  {
41  PF_CHANNEL_RESULT_PASS,
42  PF_CHANNEL_RESULT_DROP,
43  PF_CHANNEL_RESULT_ERROR
44  } PfChannelResult;
45  typedef enum
46  {
47  PROXY_FETCH_TARGET_METHOD_DEFAULT,
48  PROXY_FETCH_TARGET_METHOD_CONFIG,
49  PROXY_FETCH_TARGET_METHOD_LOAD_BALANCE_INFO,
50  PROXY_FETCH_TARGET_USE_CUSTOM_ADDR
51  } ProxyFetchTargetMethod;
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif /* FREERDP_SERVER_PROXY_TYPES_H */