string_list.h

Thu, 26 Jan 2012 15:55:52 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 26 Jan 2012 15:55:52 +0100
changeset 27
95a958e3de88
parent 20
43725438ac50
permissions
-rw-r--r--

added regexp_parser struct and compile function

/*
 * 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