25 lines
325 B
C
25 lines
325 B
C
#include <stdint.h>
|
|
#include <time.h>
|
|
|
|
#ifndef __USERS_H__
|
|
#define __USERS_H__
|
|
|
|
typedef struct person
|
|
{
|
|
uint16_t uuid;
|
|
|
|
char *name;
|
|
char *surname;
|
|
uint8_t department;
|
|
|
|
time_t last_timestamp;
|
|
uint32_t total;
|
|
} person_t;
|
|
|
|
typedef struct node
|
|
{
|
|
person_t user;
|
|
struct node *next;
|
|
} node_t;
|
|
|
|
#endif |