word__tools.h 687 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* FILE
  2. *
  3. * file: word.cpp
  4. *
  5. *
  6. */
  7. /* USE
  8. *
  9. * Words.cpp
  10. *
  11. */
  12. # ifndef __LIB__WORD
  13. # define __LIB__WORD
  14. /* */
  15. struct Word
  16. {
  17. /* value: */
  18. /* value of Word */
  19. char* value;
  20. /* points: */
  21. /* point to previous Word */
  22. struct Word *previous;
  23. /* point to next Word */
  24. struct Word *next;
  25. };
  26. /* tools for value */
  27. /* */
  28. char*
  29. word__get (struct Word *this);
  30. /* */
  31. void
  32. word__set (struct Word *this, char *value);
  33. /* Word (Word *word) */
  34. void
  35. word__copy (struct Word *this, struct Word *word);
  36. /* tools wich point */
  37. /* INITIALIZATION Word */
  38. void
  39. word__init (struct Word *this);
  40. # endif /* __LIB__WORD__LIB */