io_builtins_xsb.h File Reference

#include "io_defs_xsb.h"
#include "token_xsb.h"

Data Structures

struct  stream_record

Defines

#define ERROR_ON_EOF   0
#define EOF_CODE_ON_EOF   1
#define RESET_ON_EOF   2
#define OPENFILES_MUTEX(i)   &(open_files[i].stream_mutex)

Functions

int xsb_intern_fileptr (FILE *file, char *c, char *c2, char *c3)
int xsb_intern_file (char *c1, char *c2, int *i, char *strmode, int opennew)
void write_quotedname (FILE *file, char *string)
void double_quotes (char *string, char *new_string)
xsbBool quotes_are_needed (char *string)
int read_canonical_term (CTXTdeclc FILE *, STRFILE *, int)
void print_term_canonical (CTXTdeclc FILE *, Cell, int)
int get_more_chunk (CTXTdecl)
void findall_copy_to_heap (CTXTdeclc Cell, CPtr, CPtr *)
int findall_init_c (CTXTdecl)
void findall_free (CTXTdeclc int)

Variables

stream_record open_files []

Define Documentation

#define EOF_CODE_ON_EOF   1
 

#define ERROR_ON_EOF   0
 

#define OPENFILES_MUTEX i   )     &(open_files[i].stream_mutex)
 

#define RESET_ON_EOF   2
 


Function Documentation

void double_quotes char *  string,
char *  new_string
 

void findall_copy_to_heap CTXTdeclc  Cell,
CPtr  ,
CPtr
 

void findall_free CTXTdeclc  int  ) 
 

int findall_init_c CTXTdecl   ) 
 

int get_more_chunk CTXTdecl   ) 
 

void print_term_canonical CTXTdeclc FILE *  ,
Cell  ,
int 
 

xsbBool quotes_are_needed char *  string  ) 
 

int read_canonical_term CTXTdeclc FILE *  ,
STRFILE *  ,
int 
 

void write_quotedname FILE *  file,
char *  string
 

int xsb_intern_file char *  c1,
char *  c2,
int i,
char *  strmode,
int  opennew
 

int xsb_intern_fileptr FILE *  file,
char *  c,
char *  c2,
char *  c3
 


Variable Documentation

stream_record open_files[]
 


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