TyphoonProduct.h 952 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __TYPHOON_PRODUCT_H__
  2. #define __TYPHOON_PRODUCT_H__
  3. typedef enum TyphoonAppId_E
  4. {
  5. TYPHOON_APP_ID_NONE = 0x0,
  6. TYPHOON_APP_ID_FTP = 0x1,
  7. TYPHOON_APP_ID_WEB = 0x2,
  8. TYPHOON_APP_ID_SYNC = 0x4,
  9. TYPHOON_APP_ID_OTHER = 0x8,
  10. TYPHOON_APP_ID_FTPC = 0x10,
  11. TYPHOON_APP_ID_FTPS = 0x20,
  12. TYPHOON_APP_ID_PROXYC = 0x40,
  13. TYPHOON_APP_ID_PROXYS = 0x80,
  14. TYPHOON_APP_ID_OFFLINE = 0x100,
  15. TYPHOON_APP_ID_ENCAUTH = 0x200,
  16. }TyphoonAppId_E;
  17. #if 0
  18. #define LOCAL_CONFIG_BUF 128
  19. typedef struct tm_local_config
  20. {
  21. char code[LOCAL_CONFIG_BUF];
  22. char duration[LOCAL_CONFIG_BUF];
  23. char max_bandwidth[LOCAL_CONFIG_BUF];
  24. char expire_date[LOCAL_CONFIG_BUF];
  25. char activate_date[LOCAL_CONFIG_BUF];
  26. char server_date[LOCAL_CONFIG_BUF];
  27. char low_bound_bandwidth[LOCAL_CONFIG_BUF];
  28. char server_key[LOCAL_CONFIG_BUF];
  29. int productId;
  30. }stLocalConfig;
  31. #endif
  32. #endif