|
37 | 37 |
|
38 | 38 | HPExport const struct s_HPMDataCheck HPMDataCheck[] = { |
39 | 39 | #ifdef API_ACLIF_H |
40 | | - { "aclif_interface", sizeof(struct aclif_interface), SERVER_TYPE_UNKNOWN }, |
41 | | - { "char_server_data", sizeof(struct char_server_data), SERVER_TYPE_UNKNOWN }, |
42 | | - { "online_api_login_data", sizeof(struct online_api_login_data), SERVER_TYPE_UNKNOWN }, |
| 40 | + { "aclif_interface", sizeof(struct aclif_interface), SERVER_TYPE_API }, |
| 41 | + { "char_server_data", sizeof(struct char_server_data), SERVER_TYPE_API }, |
| 42 | + { "online_api_login_data", sizeof(struct online_api_login_data), SERVER_TYPE_API }, |
43 | 43 | #else |
44 | 44 | #define API_ACLIF_H |
45 | 45 | #endif // API_ACLIF_H |
46 | 46 | #ifdef API_ALOGINIF_H |
47 | | - { "aloginif_interface", sizeof(struct aloginif_interface), SERVER_TYPE_UNKNOWN }, |
| 47 | + { "aloginif_interface", sizeof(struct aloginif_interface), SERVER_TYPE_API }, |
48 | 48 | #else |
49 | 49 | #define API_ALOGINIF_H |
50 | 50 | #endif // API_ALOGINIF_H |
51 | 51 | #ifdef API_APISESSIONDATA_H |
52 | | - { "api_session_data", sizeof(struct api_session_data), SERVER_TYPE_UNKNOWN }, |
| 52 | + { "api_session_data", sizeof(struct api_session_data), SERVER_TYPE_API }, |
53 | 53 | #else |
54 | 54 | #define API_APISESSIONDATA_H |
55 | 55 | #endif // API_APISESSIONDATA_H |
56 | 56 | #ifdef API_API_H |
57 | | - { "api_interface", sizeof(struct api_interface), SERVER_TYPE_UNKNOWN }, |
| 57 | + { "api_interface", sizeof(struct api_interface), SERVER_TYPE_API }, |
58 | 58 | #else |
59 | 59 | #define API_API_H |
60 | 60 | #endif // API_API_H |
61 | 61 | #ifdef API_HTTPHANDLER_H |
62 | | - { "HttpHandler", sizeof(struct HttpHandler), SERVER_TYPE_UNKNOWN }, |
| 62 | + { "HttpHandler", sizeof(struct HttpHandler), SERVER_TYPE_API }, |
63 | 63 | #else |
64 | 64 | #define API_HTTPHANDLER_H |
65 | 65 | #endif // API_HTTPHANDLER_H |
66 | 66 | #ifdef API_HTTPPARSER_H |
67 | | - { "httpparser_interface", sizeof(struct httpparser_interface), SERVER_TYPE_UNKNOWN }, |
| 67 | + { "httpparser_interface", sizeof(struct httpparser_interface), SERVER_TYPE_API }, |
68 | 68 | #else |
69 | 69 | #define API_HTTPPARSER_H |
70 | 70 | #endif // API_HTTPPARSER_H |
71 | 71 | #ifdef API_HTTPSENDER_H |
72 | | - { "httpsender_interface", sizeof(struct httpsender_interface), SERVER_TYPE_UNKNOWN }, |
| 72 | + { "httpsender_interface", sizeof(struct httpsender_interface), SERVER_TYPE_API }, |
73 | 73 | #else |
74 | 74 | #define API_HTTPSENDER_H |
75 | 75 | #endif // API_HTTPSENDER_H |
76 | 76 | #ifdef API_IMAGEPARSER_H |
77 | | - { "gif_user_data", sizeof(struct gif_user_data), SERVER_TYPE_UNKNOWN }, |
78 | | - { "imageparser_interface", sizeof(struct imageparser_interface), SERVER_TYPE_UNKNOWN }, |
| 77 | + { "gif_user_data", sizeof(struct gif_user_data), SERVER_TYPE_API }, |
| 78 | + { "imageparser_interface", sizeof(struct imageparser_interface), SERVER_TYPE_API }, |
79 | 79 | #else |
80 | 80 | #define API_IMAGEPARSER_H |
81 | 81 | #endif // API_IMAGEPARSER_H |
82 | 82 | #ifdef API_JSONPARSER_H |
83 | | - { "jsonparser_interface", sizeof(struct jsonparser_interface), SERVER_TYPE_UNKNOWN }, |
| 83 | + { "jsonparser_interface", sizeof(struct jsonparser_interface), SERVER_TYPE_API }, |
84 | 84 | #else |
85 | 85 | #define API_JSONPARSER_H |
86 | 86 | #endif // API_JSONPARSER_H |
87 | 87 | #ifdef API_JSONWRITER_H |
88 | | - { "jsonwriter_interface", sizeof(struct jsonwriter_interface), SERVER_TYPE_UNKNOWN }, |
| 88 | + { "jsonwriter_interface", sizeof(struct jsonwriter_interface), SERVER_TYPE_API }, |
89 | 89 | #else |
90 | 90 | #define API_JSONWRITER_H |
91 | 91 | #endif // API_JSONWRITER_H |
92 | 92 | #ifdef API_MIMEPART_H |
93 | | - { "MimePart", sizeof(struct MimePart), SERVER_TYPE_UNKNOWN }, |
| 93 | + { "MimePart", sizeof(struct MimePart), SERVER_TYPE_API }, |
94 | 94 | #else |
95 | 95 | #define API_MIMEPART_H |
96 | 96 | #endif // API_MIMEPART_H |
|
0 commit comments