-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhash.h
More file actions
34 lines (29 loc) · 787 Bytes
/
Copy pathhash.h
File metadata and controls
34 lines (29 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef HASH_H
# define HASH_H
# include <stdio.h>
# include <unistd.h>
# include <stdlib.h>
# include <string.h>
# include <fcntl.h>
# include <math.h>
# include "./libft/printf_functions/includes/header.h"
typedef struct s_lst
{
int vid_amount;
int ep_amount;
int requests;
int caches_amount;
int cache_size;
int *vid_size;
} desc_lst;
typedef struct s_ep
{
int *requests; //количество запросов с соответствующего эндпоинта
int *cache;
} ep_lst;
typedef struct s_vid
{
int *id;
int *mem;
} cache_lst;
#endif