Top | ![]() |
![]() |
![]() |
![]() |
rasqal_prefix * | rasqal_new_prefix () |
void | rasqal_free_prefix () |
int | rasqal_prefix_print () |
rasqal_prefix * rasqal_new_prefix (rasqal_world *world
,const unsigned char *prefix
,raptor_uri *uri
);
Constructor - create a new rasqal_prefix. Takes ownership of prefix and uri.
world |
rasqal_world object |
|
prefix |
Short prefix string to stand for URI (or NULL) |
|
uri |
Name raptor_uri. |
void
rasqal_free_prefix (rasqal_prefix *p
);
Destructor - destroy a rasqal_prefix object.
int rasqal_prefix_print (rasqal_prefix *p
,FILE *fh
);
Print a Rasqal prefix in a debug format.
The print debug format may change in any release.
typedef struct { rasqal_world* world; const char * prefix; raptor_uri* uri; int declared; int depth; } rasqal_prefix;
Namespace (prefix, uri) pair.
Includes internal flags used for marking when prefixes are declared and at what XML element depth when used in XML formats.
rasqal_world * |
rasqal_world object |
|
short prefix string |
||
raptor_uri * |
URI associated with the prefix. |
|
Internal flag. |
||
Internal flag. |