cline.h

Fri, 27 May 2011 13:20:15 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 27 May 2011 13:20:15 +0200
changeset 5
9393eff3d2f9
parent 4
c3acfb3b4957
child 6
be923400164c
permissions
-rw-r--r--

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 */

mercurial