Traitement-signal-plantes/Code-C/queue.h
Aurélien Gauthier 012de80d21 merge
2022-06-10 17:21:08 +02:00

33 lines
807 B
C

typedef struct queue *Pqueue;
//Constructors
Pqueue createE(int lenChar, const char* _tabChar);
Pqueue createEmpty();
//Getters
Pqueue getNextE(Pqueue elem);
Pqueue getNextE(Pqueue elem);
char * gettabChar(Pqueue elem);
//Setters
<<<<<<< HEAD
Pqueue setCharLen(Pqueue elem , int _charLen);
Pqueue setTabChar(Pqueue elem , int _charLen, const char *_tabChar);
=======
void setCharLen(Pqueue elem , int _charLen);
void setTabChar(Pqueue elem , int _charLen , char *_tabChar);
void setNextE(Pqueue elem , Pqueue next);
>>>>>>> 2e7253c43c8e65a98686582d853147831016103f
Pqueue addLastQ(Pqueue elem, const char* str, int len);
//Removers
Pqueue rmLastE(Pqueue elem);
Pqueue rmFrstE(Pqueue elem);
Pqueue nextDelFrst(Pqueue elem);
Pqueue nextDelFrst(Pqueue elem);
//print function
void printE(Pqueue elem);