#ifndef FILE_H
#define FILE_H
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h>

typedef struct node {
int val;
struct node* next;
} noeud;

typedef noeud* liste;

struct file {noeud* debut; noeud* fin;};
typedef struct file file;

file* fileVide();

bool est_file_vide(file* f);

void enfiler (file* f, int x);

int defiler (file* f);

void libere(file* f);

#endif