Dacons LLP Mailit for C/C++ | Version 1.0.8 |
EmaiProxy.hGo to the documentation of this file.00001 00014 #ifndef __EMAIPROXY_H__ 00015 #define __EMAIPROXY_H__ 00016 00017 #include <EmaiObject.h> 00018 00019 #ifdef __cplusplus 00020 extern "C" { 00021 #endif 00022 00023 enum EmaiEnumProxySelector 00024 { 00025 EmaiProxyNo = 0, /*connectiion without proxy*/ 00026 EmaiProxyHTTP, /*connectiion throw HTTP proxy*/ 00027 EmaiProxySOCKS4, /*connectiion throw SOCKS4 proxy*/ 00028 EmaiProxySOCKS5 /*connectiion throw SOCKS5 proxy*/ 00029 }; 00030 00034 typedef struct 00035 { 00036 EmaiConstUniCharPtr proxyServer; 00037 short port; 00038 EmaiConstUniCharPtr account; 00039 EmaiConstUniCharPtr password; 00040 EmaiUint32 proxyType; 00041 } EmaiProxyInfo; 00042 00043 #ifdef __cplusplus 00044 } 00045 #endif 00046 00047 #endif /*__EMAIPROXY_H__*/ |