This repository has been archived on 2026-05-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
LightTAM/include/users.h
T

29 lines
394 B
C

#include <stdint.h>
#include <time.h>
#include <unistd.h>
#include <pthread.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;
pthread_mutex_t lock;
} person_t;
typedef struct node
{
person_t user;
struct node *next;
} node_t;
#endif