12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- /* FILE
- *
- * file: words.cpp
- *
- *
- */
- /*
- */
- # ifndef __LIB_WORDS
- # define __LIB_WORDS
- // # include <stdio.h>
- /* for use string */
- # include <string.h>
- # include "word.c"
- /* */
- struct Words
- {
- /* */
- struct Word* head;
- /* */
- struct Word* tail;
- /* */
- struct Word* select;
- };
- /* INFO del (WithSelect _)
- *
- * remove the preselected item - from the selected point (select)
- *
- * return: void
- *
- *
- */
- void
- del (struct Words *this);
- struct Word*
- words__get(struct Words *this);
- void
- clear__str (char *value);
- /* INFO del (WithTail _)
- *
- * remove the last element - from the tail part (tail)
- *
- * return: this->tail element
- *
- *
- */
- void
- del__tail (struct Words *this);
- /* INFO del (WithHead _)
- *
- * remove the first element - from the head part (head)
- *
- * return: this->head element
- *
- *
- */
- void
- del__head (struct Words *this);
- # endif /* __LIB_WORDS */
|