string_list.h

Mon, 13 Feb 2012 19:10:00 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 13 Feb 2012 19:10:00 +0100
changeset 31
27c3c1c6b768
parent 27
95a958e3de88
permissions
-rw-r--r--

added --exclude-cstyle-comments shortcut

     1 /*
     2  * string_list.h
     3  *
     4  *  Created on: 15.09.2011
     5  *      Author: Mike
     6  */
     8 #ifndef STRING_LIST_H_
     9 #define STRING_LIST_H_
    11 #include "stdinc.h"
    13 typedef struct _string_list {
    14   size_t count;
    15   char** items;
    16 } string_list_t;
    18 #ifdef _cplusplus
    19 extern "C" {
    20 #endif
    22 string_list_t* new_string_list_t();
    23 void destroy_string_list_t(string_list_t*);
    24 void add_string(string_list_t*, char*);
    26 #ifdef _cplusplus
    27 }
    28 #endif
    30 #endif /* STRING_LIST_H_ */

mercurial