error.c File Reference

#include <errno.h>
#include <stdlib.h>
#include "error.h"
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include "cinterf.h"
#include "dtd.h"
#include "error_term.h"

Functions

int sgml2pl_error (plerrorid id,...)

Variables

prolog_term global_error_term = (prolog_term)NULL
prolog_term global_warning_term = (prolog_term)NULL

Function Documentation

int sgml2pl_error plerrorid  id,
  ...
 

Function to handle the errors. It creates an appropriate error term for the prolog side to throw. Input : type of error Output : TRUE on success, FALSE on failure


Variable Documentation

prolog_term global_error_term = (prolog_term)NULL
 

prolog_term global_warning_term = (prolog_term)NULL
 


Generated on Wed Jul 26 13:26:56 2006 for XSB by  doxygen 1.4.5