Back to index

lightning-sunbird  0.9+nobinonly
Typedefs | Enumerations | Functions
rdf.h File Reference

Go to the source code of this file.

Typedefs

typedef struct
_RDF_ResourceStruct
RDF_Resource
typedef struct _RDF_FileStructRDFT
typedef struct _RDF_CursorStructRDF_Cursor
typedef void(* WriteClientProc )(void *obj, char *buffer)

Enumerations

enum  RDF_ValueType { RDF_RESOURCE_TYPE, RDF_INT_TYPE, RDF_STRING_TYPE }

Functions

void RDF_Initialize ()
int RDF_Consume (char *fileName, char *data, int len)
void RDF_ReadFile (char *fileName)
void RDF_Unload (RDFT f)
RDFT RDF_GetRDFT (char *url, int createp)
RDF_Resource RDF_GetResource (char *url, int createp)
char * RDF_ResourceID (RDF_Resource u)
int RDF_Assert (RDFT db, RDF_Resource u, RDF_Resource s, void *v, RDF_ValueType type)
int RDF_Unassert (RDFT db, RDF_Resource u, RDF_Resource s, void *v, RDF_ValueType type)
int RDF_HasAssertion (RDFT db, RDF_Resource u, RDF_Resource s, void *v, RDF_ValueType type)
voidRDF_OnePropValue (RDFT db, RDF_Resource u, RDF_Resource s, RDF_ValueType type)
RDF_Resource RDF_OnePropSource (RDFT db, RDF_Resource u, RDF_Resource s)
RDF_Cursor RDF_GetTargets (RDFT db, RDF_Resource u, RDF_Resource s, RDF_ValueType type)
RDF_Cursor RDF_GetSourcess (RDFT db, RDF_Resource u, RDF_Resource s)
voidRDF_NextValue (RDF_Cursor c)
void RDF_DisposeCursor (RDF_Cursor c)
char ** RDF_processPathQuery (char *query)

Typedef Documentation

typedef struct _RDF_CursorStruct* RDF_Cursor

Definition at line 44 of file rdf.h.

Definition at line 42 of file rdf.h.

typedef struct _RDF_FileStruct* RDFT

Definition at line 43 of file rdf.h.

typedef void(* WriteClientProc)(void *obj, char *buffer)

Definition at line 45 of file rdf.h.


Enumeration Type Documentation

Enumerator:
RDF_RESOURCE_TYPE 
RDF_INT_TYPE 
RDF_STRING_TYPE 

Definition at line 47 of file rdf.h.


Function Documentation

int RDF_Assert ( RDFT  db,
RDF_Resource  u,
RDF_Resource  s,
void v,
RDF_ValueType  type 
)

Definition at line 67 of file rdf.c.

                                                                                     {
 return (NULL != remoteStoreAdd (db, u, s, v, type, 1)); 
}

Here is the call graph for this function:

int RDF_Consume ( char *  fileName,
char *  data,
int  len 
)

Definition at line 51 of file rdf.c.

                                                      {
  return rdf_DigestNewStuff (fileName, data, len) ;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 100 of file rdf.c.

                                      {
  disposeCursor(c);
}

Here is the call graph for this function:

RDFT RDF_GetRDFT ( char *  url,
int  createp 
)

Definition at line 59 of file rdf.c.

                                          {
  return getRDFT (url, createp) ;
}

Here is the call graph for this function:

RDF_Resource RDF_GetResource ( char *  url,
int  createp 
)

Definition at line 63 of file rdf.c.

                                                      {
  return getResource (url, createp) ;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 92 of file rdf.c.

                                                                     {
  return getSlotValues (db,  u,  s, RDF_RESOURCE_TYPE, 1, 1);
} 

Here is the call graph for this function:

Definition at line 88 of file rdf.c.

                                                                                        {
  return getSlotValues (db,  u,  s,  type, 0, 1);
}

Here is the call graph for this function:

Here is the caller graph for this function:

int RDF_HasAssertion ( RDFT  db,
RDF_Resource  u,
RDF_Resource  s,
void v,
RDF_ValueType  type 
)

Definition at line 75 of file rdf.c.

                                                 {
  return remoteStoreHasAssertion (db,  u,  s,  v,  type, 1);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 43 of file rdf.c.

                        {
  rdf_init();
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 96 of file rdf.c.

                                   {
  return nextValue (c) ;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 80 of file rdf.c.

                                                                         {
  return (RDF_Resource) getSlotValue(db, u, s, RDF_RESOURCE_TYPE, 1, 1);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 84 of file rdf.c.

                                                                                     {
  return getSlotValue (db,  u,  s,  type, 0, 1);
}

Here is the call graph for this function:

Here is the caller graph for this function:

char** RDF_processPathQuery ( char *  query)

Definition at line 104 of file rdf.c.

                                         {
  //  return processRDFQuery (query) ;
  return 0;
}

Here is the caller graph for this function:

void RDF_ReadFile ( char *  fileName)

Definition at line 47 of file rdf.c.

                                   {
  readRDFFile(fileName);
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 69 of file rdfparse.c.

                                {
  return u->url;
}

Here is the caller graph for this function:

int RDF_Unassert ( RDFT  db,
RDF_Resource  u,
RDF_Resource  s,
void v,
RDF_ValueType  type 
)

Definition at line 71 of file rdf.c.

                                                                                         {
  return (NULL != remoteStoreRemove (db, u, s, v, type));
}

Here is the call graph for this function:

Definition at line 55 of file rdf.c.

                         {
  unloadRDFT (f);
}

Here is the call graph for this function: