catalog.h File Reference


Defines

#define CAT_OTHER   (0)
#define CAT_SYSTEM   (1)
#define CAT_PUBLIC   (2)
#define CAT_DOCTYPE   (3)
#define CAT_ENTITY   (4)
#define CAT_PENTITY   (5)
#define CAT_OVERRIDE   (5)
#define CAT_BASE   (6)
#define OVR_PUBLIC   (CAT_OVERRIDE + CAT_PUBLIC)
#define OVR_DOCTYPE   (CAT_OVERRIDE + CAT_DOCTYPE)
#define OVR_ENTITY   (CAT_OVERRIDE + CAT_ENTITY)

Enumerations

enum  catalog_location { CTL_START, CTL_END }

Functions

int register_catalog_file (const char *file, catalog_location where)
int is_absolute_path (const char *name)
char * localpath (const char *ref, const char *name)
char const * find_in_catalogue (int kind, char const *name, char const *pubid, char const *sysid, int ci)

Define Documentation

#define CAT_BASE   (6)
 

#define CAT_DOCTYPE   (3)
 

#define CAT_ENTITY   (4)
 

#define CAT_OTHER   (0)
 

#define CAT_OVERRIDE   (5)
 

#define CAT_PENTITY   (5)
 

#define CAT_PUBLIC   (2)
 

#define CAT_SYSTEM   (1)
 

#define OVR_DOCTYPE   (CAT_OVERRIDE + CAT_DOCTYPE)
 

#define OVR_ENTITY   (CAT_OVERRIDE + CAT_ENTITY)
 

#define OVR_PUBLIC   (CAT_OVERRIDE + CAT_PUBLIC)
 


Enumeration Type Documentation

enum catalog_location
 

Enumerator:
CTL_START 
CTL_END 


Function Documentation

char const* find_in_catalogue int  kind,
char const *  name,
char const *  pubid,
char const *  sysid,
int  ci
 

int is_absolute_path const char *  name  ) 
 

Check if the path is absolute or relative Input : path Output : TRUE if path is absolute/ FALSE otherwise

char* localpath const char *  ref,
const char *  name
 

Return the local path of the file specified

int register_catalog_file const char *  file,
catalog_location  where
 


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