/*
 * @module
 *  list.h
 * @description
 *  header file for lists used
 * @author
 *  rdoss.com
 */
#ifndef LIST_H
#define LIST_H
#include "types.h"

typedef struct __chnode {
    struct __chnode *next;
    char       ch;
}chnode;

typedef struct __attrnode {
    struct __attrnode *next;
    int         start,size;
}attrnode;

void
chlist_insert( char ch );

void
attrlist_insert( size_t start, size_t size );

void
build_strings( char **C );

void
build_stringattr( attribute_t **A , size_t *nr_strings );

void
free_chlist( void );

void
free_attrlist( void );

#endif /* LIST_H */