2023-09-15 23:55:52 -03:00
|
|
|
#ifndef ASSIGNMENT1_NODE_H
|
|
|
|
#define ASSIGNMENT1_NODE_H
|
2023-09-19 15:38:03 -03:00
|
|
|
|
2023-09-15 23:55:52 -03:00
|
|
|
typedef struct node {
|
|
|
|
struct node *next_elem;
|
|
|
|
char *data;
|
|
|
|
} Node;
|
|
|
|
|
2023-09-19 15:38:03 -03:00
|
|
|
void replaceData(Node *node, char *data);
|
|
|
|
|
2023-09-15 23:55:52 -03:00
|
|
|
Node *createNode(char *data);
|
|
|
|
|
|
|
|
void destroyNode(Node *node);
|
|
|
|
|
|
|
|
#endif //ASSIGNMENT1_NODE_H
|