Fri, 27 May 2011 13:20:15 +0200
Fixed memory leak when exiting the programm ahead of time
#ifndef _CLINE_H #define _CLINE_H #include <stdio.h> #include <string.h> #include <stdbool.h> #include <stdlib.h> #include <dirent.h> typedef struct _settings { char fileSeparator; int suffixc; char** suffixv; bool recursive; bool includeSuffixes; bool matchesOnly; } settings_t; #ifdef _cplusplus extern "C" { #endif settings_t* new_settings_t(); void destroy_settings_t(settings_t*); void printHelpText(const char*); #ifdef _cplusplus } #endif #endif /* _CLINE_H */