| 19 |
|
|
| 20 |
#include <stdint.h> |
#include <stdint.h> |
| 21 |
|
|
| 22 |
#define MAX_AID_INC_CNT 1000 |
#define MAX_VIEWED_AID_INC_CNT 1000 |
| 23 |
|
|
| 24 |
struct article_view_log_t |
struct article_view_log_t |
| 25 |
{ |
{ |
| 26 |
int uid; |
int uid; |
| 27 |
int32_t *aid_base; |
int32_t *aid_base; |
| 28 |
int aid_base_cnt; |
int aid_base_cnt; |
| 29 |
int32_t aid_inc[MAX_AID_INC_CNT]; |
int32_t aid_inc[MAX_VIEWED_AID_INC_CNT]; |
| 30 |
int aid_inc_cnt; |
int aid_inc_cnt; |
| 31 |
}; |
}; |
| 32 |
typedef struct article_view_log_t ARTICLE_VIEW_LOG; |
typedef struct article_view_log_t ARTICLE_VIEW_LOG; |