forked from cintialr/JVM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlistaFrames.h
More file actions
45 lines (30 loc) · 877 Bytes
/
listaFrames.h
File metadata and controls
45 lines (30 loc) · 877 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
35
36
37
38
39
40
41
42
43
44
45
/*
lista_frames.h
Estrutura e cabeçalho da implementação da lista de frames
*/
#ifndef LISTA_FRAMES_H
#define LISTA_FRAMES_H
#include <stdio.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "estruturas.h"
/*
lista_frames
Estrutura de dados da lista de frames
estruturas.h
*/
typedef struct lista_frames{
frame *f;
struct lista_frames *prox;
struct lista_frames *ant;
}lista_frames;
lista_frames* CriaListaFrames();
lista_frames* InsereInicioFrames(lista_frames *lis, frame *f);
lista_frames* InsereFimFrames(lista_frames *lis, frame *f);
lista_frames* RemoveInicioFrames(lista_frames *lis);
lista_frames* RemoveFimFrames(lista_frames *lis);
void ImprimeListaFrames(lista_frames *lis);
void LiberaListaFrames(lista_frames *lis);
#endif