2022-06-10 10:47:17 +02:00
|
|
|
typedef struct queue *Pqueue;
|
2022-06-10 15:16:13 +02:00
|
|
|
|
|
|
|
//Constructors
|
2022-06-10 17:20:10 +02:00
|
|
|
Pqueue createE(int lenChar, const char* _tabChar);
|
|
|
|
Pqueue createEmpty();
|
2022-06-10 15:16:13 +02:00
|
|
|
|
|
|
|
//Getters
|
2022-06-10 15:05:04 +02:00
|
|
|
Pqueue getNextE(Pqueue elem);
|
2022-06-10 15:16:13 +02:00
|
|
|
Pqueue getNextE(Pqueue elem);
|
|
|
|
char * gettabChar(Pqueue elem);
|
|
|
|
|
|
|
|
//Setters
|
2022-06-10 17:21:08 +02:00
|
|
|
<<<<<<< HEAD
|
2022-06-10 15:05:04 +02:00
|
|
|
Pqueue setCharLen(Pqueue elem , int _charLen);
|
2022-06-10 17:20:10 +02:00
|
|
|
Pqueue setTabChar(Pqueue elem , int _charLen, const char *_tabChar);
|
2022-06-10 17:21:08 +02:00
|
|
|
=======
|
2022-06-10 15:50:27 +02:00
|
|
|
void setCharLen(Pqueue elem , int _charLen);
|
|
|
|
void setTabChar(Pqueue elem , int _charLen , char *_tabChar);
|
|
|
|
void setNextE(Pqueue elem , Pqueue next);
|
|
|
|
|
2022-06-10 17:21:08 +02:00
|
|
|
>>>>>>> 2e7253c43c8e65a98686582d853147831016103f
|
2022-06-10 15:16:13 +02:00
|
|
|
Pqueue addLastQ(Pqueue elem, const char* str, int len);
|
|
|
|
|
|
|
|
//Removers
|
2022-06-10 15:05:04 +02:00
|
|
|
Pqueue rmLastE(Pqueue elem);
|
|
|
|
Pqueue rmFrstE(Pqueue elem);
|
2022-06-10 15:16:13 +02:00
|
|
|
|
2022-06-10 15:05:04 +02:00
|
|
|
Pqueue nextDelFrst(Pqueue elem);
|
2022-06-10 15:16:13 +02:00
|
|
|
|
|
|
|
Pqueue nextDelFrst(Pqueue elem);
|
|
|
|
|
|
|
|
//print function
|
2022-06-10 15:05:04 +02:00
|
|
|
void printE(Pqueue elem);
|