76 |
#define LOG_TYPE_ARCHIVE 15 |
#define LOG_TYPE_ARCHIVE 15 |
77 |
#define LOG_TYPE_MAX (LOG_TYPE_ARCHIVE) |
#define LOG_TYPE_MAX (LOG_TYPE_ARCHIVE) |
78 |
|
|
79 |
|
typedef struct { |
80 |
|
char *name; |
81 |
|
unsigned int id; |
82 |
|
} user_t; |
83 |
|
|
84 |
typedef struct tb { |
typedef struct tb { |
85 |
char *name; |
char *name; |
86 |
char *ref; |
char *ref; |
87 |
|
unsigned int id; |
88 |
struct tb *next; |
struct tb *next; |
89 |
} tb_t; |
} tb_t; |
90 |
|
|
91 |
typedef struct log { |
typedef struct log { |
92 |
int day, month, year; |
int day, month, year; |
93 |
int type; |
int type; |
94 |
char *finder; |
user_t *finder; |
95 |
char *text; |
char *text; |
96 |
|
|
97 |
struct log *next; |
struct log *next; |
125 |
/* cache information */ |
/* cache information */ |
126 |
char *id; |
char *id; |
127 |
char *name; |
char *name; |
128 |
char *owner; |
|
129 |
|
user_t *owner; |
130 |
|
|
131 |
int container; |
int container; |
132 |
int type; |
int type; |
133 |
char *short_description, *long_description; |
char *short_description, *long_description; |