#include <stdio.h>
#include <demeter.h>

inline Node::Node(char *key) {
   next = NIL;
   datum = key;
}

inline char *Node::get_datum() {
  return(datum);
}

inline char *Node::set_datum(char *new_datum) { 
  char *_old_datum = datum; 
  datum = new_datum;
  return(_old_datum); 
}

inline Node *Node::get_next() {
  return(next);
}

inline Node *Node::set_next(Node *new_next) {
  Node *_old_next = next;
  next = new_next;
  return(_old_next); 
}

