string_list.h

Thu, 02 Feb 2012 14:17:35 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 02 Feb 2012 14:17:35 +0100
changeset 28
72a98cbcb9f1
parent 27
95a958e3de88
permissions
-rw-r--r--

added regex parser

/*
 * string_list.h
 *
 *  Created on: 15.09.2011
 *      Author: Mike
 */

#ifndef STRING_LIST_H_
#define STRING_LIST_H_

#include "stdinc.h"

typedef struct _string_list {
  size_t count;
  char** items;
} string_list_t;

#ifdef _cplusplus
extern "C" {
#endif

string_list_t* new_string_list_t();
void destroy_string_list_t(string_list_t*);
void add_string(string_list_t*, char*);

#ifdef _cplusplus
}
#endif

#endif /* STRING_LIST_H_ */

mercurial