#ifndef __STR_ARRAY_H__ #define __STR_ARRAY_H__ /***********************************************/ /* add the given string inside the given array */ /***********************************************/ GPtrArray *str_array_del(GPtrArray *array, char *str); /**************************************************/ /* remove the given string inside the given array */ /**************************************************/ GPtrArray *str_array_add(GPtrArray *array, char *str); /*************************************************/ /* check if the given string is inside the array */ /*************************************************/ /* output: FALSE=no, TRUE=yes */ /******************************/ int str_array_is_inside(GPtrArray *array, char *str); /********************************************************/ /* delete all entries of the array and the array itself */ /********************************************************/ void str_array_destroy(GPtrArray *array); #endif