]> cygwin.com Git - cygwin-apps/setup.git/blob - strarry.h
Remove Makefile
[cygwin-apps/setup.git] / strarry.h
1 /*
2 * Copyright (c) 2000, Red Hat, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by Ron Parker <parkerrd@hotmail.com>
13 *
14 */
15
16 /* strarry.h: strarry struct */
17
18 #include <stddef.h>
19 typedef struct strarry
20 {
21 char **array;
22 size_t count;
23 size_t index;
24 } SA;
25 void sa_init (SA *); /* Initialize the struct. */
26 void sa_add (SA *, const char *); /* Add a string to the array. */
27 void sa_cleanup (SA *); /* Deallocate all of the memory. */
28
This page took 0.036658 seconds and 5 git commands to generate.