Você está na página 1de 1

//

// errorList.h
// EDAII
//
// Created by Andr Almeida on 30/05/14.
// Copyright (c) 2014 Andr almeida. All rights reserved.
//
#ifndef EDAII_errorList_h
#define EDAII_errorList_h
//Definio de algumas constantes necessarias
#define MAX_ERRORS_HASH 400033
#define MAX_ERRORS_INDEX 100000
#define LINES_ERROR_MAX 50
#define MAXWORD_SIZE 28
//Definio das estruturas necessarias para a criao da listagem dos erros
struct errorList{
struct error *list[MAX_ERRORS_HASH];
struct error *index[MAX_ERRORS_INDEX];
int errors;
};
struct error;
//Definio das funes necessarias para a criao da listagem dos erros
struct errorList *newErrorList(void);
void insertError(struct errorList *,char *,int);
void printErrors(struct errorList *,long);
void closeErrorList(struct errorList *);
#endif

Você também pode gostar