5 * String arrays handling code.
7 #ifndef __gammu_array_h
8 #define __gammu_array_h
10 #include <gammu-types.h>
15 * Number of used elements.
19 * Number of allocated elements.
29 * Initiates new array structures.
31 void GSM_StringArray_New(GSM_StringArray
*array
);
34 * Frees all memory allocated by array.
36 void GSM_StringArray_Free(GSM_StringArray
*array
);
39 * Appends string to the array.
41 gboolean
GSM_StringArray_Add(GSM_StringArray
*array
, const char *string
);
44 * Checks whether string is present in array.
46 gboolean
GSM_StringArray_Find(GSM_StringArray
*array
, const char *string
);
49 /* Editor configuration
50 * vim: noexpandtab sw=8 ts=8 sts=8 tw=72: