-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBiblioteca.h
35 lines (26 loc) · 1.18 KB
/
Biblioteca.h
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
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct Unidade Unidade;
typedef struct NO *ArvorePortugues;
typedef struct ListaIngles ListaIngles;
// ===========- MENU PRINCIPAL -===========
int MenuPrincipal();
int PreferenciaAlfabetica(char *Nome1, char *Nome2);
void SeparacaoString(char *StringPrincipal, char *Unidade, char *ListaEng, char *Arvore);
// ===========- LISTA UNIDADE -===========
Unidade * CriaLista_Unidade();
void MostraUnidade(Unidade *Lista, char *Pesquisa);
Unidade * BuscandoUnidade(Unidade *Lista);
ListaIngles *Consulta_ListaIngles_Unidade(Unidade *Lista, char *Nome);
Unidade * InserirUnidade(Unidade *Lista, char *Nome, ListaIngles *ListIng);
//===========- LISTAS INGLES -===========
ListaIngles * CriaLista_LI();
void MostrarListaIngles(ListaIngles *Lista);
ListaIngles * BuscandoListaIngles(ListaIngles *Lista);
ListaIngles * InserirListaIngles(ListaIngles *Lista, char *Nome, ArvorePortugues *Raiz);
//===========- ARVORE PROTUGUES -===========
ArvorePortugues *CriaArvorePT();
void emOrdem_ArvorePortugues(ArvorePortugues *Raiz);
int InsereArvorePT(ArvorePortugues *Raiz, char *Nome);
void InserindoPalavras(ArvorePortugues *Raiz, char *NomeS);