-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools.h
More file actions
42 lines (34 loc) · 1010 Bytes
/
Copy pathtools.h
File metadata and controls
42 lines (34 loc) · 1010 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
/**
* Polytech Marseille
* Case 925 - 163, avenue de Luminy
* 13288 Marseille CEDEX 9
*
* Ce fichier est l'oeuvre d'eleves de Polytech Marseille. Il ne peut etre
* reproduit, utilise ou modifie sans l'avis express de ses auteurs.
*/
/**
* @author PORET Tanguy <tanguy.poret@etu.univ-amu.fr>
* @author DI-GIOVANI Hugo <hugo.DI-GIOVANNI@etu.univ-amu.fr>
*
* @version 0.0.1 / 27-11-2016
*/
/**
* @file tools.c
* @brief Regroupe les fonctions utilitaires
*
*/
#ifndef HUFFMAN_TOOLS_H
#define HUFFMAN_TOOLS_H
#include <stdio.h>
#include "arbre.h"
void compression(const char *fal, const char *nf);
void debug_compression(const char *fal, const char *nf);
void decompression(const char *fal, const char *nf);
int fichier_existe(const char * const nom);
void init_tampon();
void ajouter_bit_tampon(int bit, FILE *nf);
void ajouter_char_au_tampon(char carac, FILE *nf);
void ajouter_au_tampon(tpn arbre, FILE *nf);
void clear_tampon(FILE *nf);
//void debug(tpn arbre);
#endif //HUFFMAN_TOOLS_H