view 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 source

#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