string_list.h

Thu, 01 Dec 2011 17:04:30 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 01 Dec 2011 17:04:30 +0100
changeset 25
802c5382f499
parent 20
43725438ac50
child 27
95a958e3de88
permissions
-rw-r--r--

Added line buffer (and warning message - there is no regexp parser, though)

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