Mercurial > repos > calkan > mrcanavar
diff mrcanavar-0.34/utils.h @ 0:86522a0b5f59 default tip
Uploaded source code for mrCaNaVaR
author | calkan |
---|---|
date | Tue, 21 Feb 2012 10:44:13 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mrcanavar-0.34/utils.h Tue Feb 21 10:44:13 2012 -0500 @@ -0,0 +1,33 @@ +#ifndef __UTILS +#define __UTILS + + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <zlib.h> + +#include "globals.h" + + + +void print_error(char *); + +void set_runmode(enum MODETYPE); +void set_gender(enum GENDERTYPE SET); + +void set_str(char **, char *); + +void init_globals(void); + +FILE *my_fopen(char *, char *, char); + +void saveRefConfig(char *); +void loadRefConfig(char *); + +int endswith(char *, char *); +void trimspace(char *); + +static int compChr(const void *, const void *); + +#endif