rasqal.h   rasqal.h 
skipping to change at line 38 skipping to change at line 38
extern "C" { extern "C" {
#endif #endif
/** /**
* RASQAL_VERSION: * RASQAL_VERSION:
* *
* Rasqal library version number * Rasqal library version number
* *
* Format: major * 10000 + minor * 100 + release * Format: major * 10000 + minor * 100 + release
*/ */
#define RASQAL_VERSION 923 #define RASQAL_VERSION 924
/** /**
* RASQAL_VERSION_STRING: * RASQAL_VERSION_STRING:
* *
* Rasqal library version string * Rasqal library version string
*/ */
#define RASQAL_VERSION_STRING "0.9.23" #define RASQAL_VERSION_STRING "0.9.24"
/** /**
* RASQAL_VERSION_MAJOR: * RASQAL_VERSION_MAJOR:
* *
* Rasqal library major version * Rasqal library major version
*/ */
#define RASQAL_VERSION_MAJOR 0 #define RASQAL_VERSION_MAJOR 0
/** /**
* RASQAL_VERSION_MINOR: * RASQAL_VERSION_MINOR:
* *
* Rasqal library minor version * Rasqal library minor version
*/ */
#define RASQAL_VERSION_MINOR 9 #define RASQAL_VERSION_MINOR 9
/** /**
* RASQAL_VERSION_RELEASE: * RASQAL_VERSION_RELEASE:
* *
* Rasqal library release * Rasqal library release
*/ */
#define RASQAL_VERSION_RELEASE 23 #define RASQAL_VERSION_RELEASE 24
/** /**
* RASQAL_API: * RASQAL_API:
* *
* Macro for wrapping API function call declarations. * Macro for wrapping API function call declarations.
* *
*/ */
#ifndef RASQAL_API #ifndef RASQAL_API
# ifdef WIN32 # ifdef WIN32
# ifdef __GNUC__ # ifdef __GNUC__
skipping to change at line 826 skipping to change at line 826
RASQAL_QUERY_RESULTS_UNKNOWN RASQAL_QUERY_RESULTS_UNKNOWN
} rasqal_query_results_type; } rasqal_query_results_type;
/** /**
* rasqal_update_type: * rasqal_update_type:
* @RASQAL_UPDATE_TYPE_CLEAR: Clear graph. * @RASQAL_UPDATE_TYPE_CLEAR: Clear graph.
* @RASQAL_UPDATE_TYPE_CREATE: Create graph. * @RASQAL_UPDATE_TYPE_CREATE: Create graph.
* @RASQAL_UPDATE_TYPE_DROP: Drop graph. * @RASQAL_UPDATE_TYPE_DROP: Drop graph.
* @RASQAL_UPDATE_TYPE_LOAD: Load graph. * @RASQAL_UPDATE_TYPE_LOAD: Load graph.
* @RASQAL_UPDATE_TYPE_UPDATE: Insert or Delete graph or triples. * @RASQAL_UPDATE_TYPE_UPDATE: Insert or Delete graph or triples.
* @RASQAL_UPDATE_TYPE_ADD: Add graph to another graph.
* @RASQAL_UPDATE_TYPE_MOVE: Move graph to another grpah.
* @RASQAL_UPDATE_TYPE_COPY: Copy graph to another graph.
* @RASQAL_UPDATE_TYPE_UNKNOWN: Internal * @RASQAL_UPDATE_TYPE_UNKNOWN: Internal
* @RASQAL_UPDATE_TYPE_LAST: Internal * @RASQAL_UPDATE_TYPE_LAST: Internal
* *
* Update type being performed. * Update type being performed.
* *
*/ */
typedef enum { typedef enum {
/* internal */ /* internal */
RASQAL_UPDATE_TYPE_UNKNOWN = 0, RASQAL_UPDATE_TYPE_UNKNOWN = 0,
RASQAL_UPDATE_TYPE_CLEAR = 1, RASQAL_UPDATE_TYPE_CLEAR = 1,
RASQAL_UPDATE_TYPE_CREATE = 2, RASQAL_UPDATE_TYPE_CREATE = 2,
RASQAL_UPDATE_TYPE_DROP = 3, RASQAL_UPDATE_TYPE_DROP = 3,
RASQAL_UPDATE_TYPE_LOAD = 4, RASQAL_UPDATE_TYPE_LOAD = 4,
RASQAL_UPDATE_TYPE_UPDATE = 5, RASQAL_UPDATE_TYPE_UPDATE = 5,
RASQAL_UPDATE_TYPE_ADD = 6,
RASQAL_UPDATE_TYPE_MOVE = 7,
RASQAL_UPDATE_TYPE_COPY = 8,
/* internal */ /* internal */
RASQAL_UPDATE_TYPE_LAST = RASQAL_UPDATE_TYPE_UPDATE RASQAL_UPDATE_TYPE_LAST = RASQAL_UPDATE_TYPE_COPY
} rasqal_update_type; } rasqal_update_type;
/** /**
* rasqal_update_flags: * rasqal_update_flags:
* @RASQAL_UPDATE_FLAGS_SILENT: the update operation should be silent * @RASQAL_UPDATE_FLAGS_SILENT: the update operation should be silent
* @RASQAL_UPDATE_FLAGS_DATA: the update operation is triple data not templ ates * @RASQAL_UPDATE_FLAGS_DATA: the update operation is triple data not templ ates
* *
* Flags for graph update operations * Bitflags for graph update operations
*/ */
typedef enum { typedef enum {
RASQAL_UPDATE_FLAGS_SILENT = 1, RASQAL_UPDATE_FLAGS_SILENT = 1,
RASQAL_UPDATE_FLAGS_DATA = 2, RASQAL_UPDATE_FLAGS_DATA = 2
} rasqal_update_flags; } rasqal_update_flags;
/** /**
* rasqal_update_graph_applies:
* @RASQAL_UPDATE_GRAPH_ONE: the update operation applies to 1 graph
* @RASQAL_UPDATE_GRAPH_DEFAULT: the update operation applies to the defaul
t graph
* @RASQAL_UPDATE_GRAPH_NAMED: the update operation applies to all named gr
aphs
* @RASQAL_UPDATE_GRAPH_ALL: the update operation applies ALL graphs
*
* The graph(s) that the update operation applies to.
*/
typedef enum {
RASQAL_UPDATE_GRAPH_ONE = 0,
RASQAL_UPDATE_GRAPH_DEFAULT = 1,
RASQAL_UPDATE_GRAPH_NAMED = 2,
RASQAL_UPDATE_GRAPH_ALL = 3
} rasqal_update_graph_applies;
/**
* rasqal_update_operation: * rasqal_update_operation:
* @type: type of update * @type: type of update
* @graph_uri: optional graph URI (clear, drop, load, with ... delete/inser * @graph_uri: optional graph URI (clear, drop, load, with ... delete, inse
t) rt); source graph (add, move, copy)
* @document_uri: optional document URI (load) * @document_uri: optional document URI (load); destination graph (add, mov
e, copy)
* @insert_templates: optional sequence of #rasqal_triple to insert. Data t riples if @flags is #RASQAL_UPDATE_FLAGS_DATA set, templates otherwise. * @insert_templates: optional sequence of #rasqal_triple to insert. Data t riples if @flags is #RASQAL_UPDATE_FLAGS_DATA set, templates otherwise.
* @delete_templates: optional sequence of #rasqal_triple templates to dele te * @delete_templates: optional sequence of #rasqal_triple templates to dele te
* @where: optional where template (insert/delete) * @where: optional where template (insert/delete)
* @flags: update flags - bit-or of flags defined in #rasqal_update_flags * @flags: update flags - bit-or of flags defined in #rasqal_update_flags
* @applies: the graph(s) that the update operation applies to, or @graph_u ri if #RASQAL_UPDATE_GRAPH_ONE
* *
* Update operation - changing the dataset * Update operation - changing the dataset
* *
* For LOAD and CLEAR if @applies is set (not 0) then the operation
* applies to just those graph(), otherwise it applies to the @graph_uri.
*
* For ADD, MOVE and COPY the source graph is stored in @graph_uri
* field and the destination graph in the @document_uri field. The
* field names have no meaning in this case since both values are
* always present, always graphs and a NULL value signifies the
* default graph.
*
*/ */
typedef struct { typedef struct {
rasqal_update_type type; rasqal_update_type type;
raptor_uri* graph_uri; raptor_uri* graph_uri;
raptor_uri* document_uri; raptor_uri* document_uri;
raptor_sequence* insert_templates; raptor_sequence* insert_templates;
raptor_sequence* delete_templates; raptor_sequence* delete_templates;
rasqal_graph_pattern* where; rasqal_graph_pattern* where;
int flags; int flags;
rasqal_update_graph_applies applies;
} rasqal_update_operation; } rasqal_update_operation;
/** /**
* rasqal_graph_pattern_operator: * rasqal_graph_pattern_operator:
* @RASQAL_GRAPH_PATTERN_OPERATOR_BASIC: Just triple patterns and constrain ts. * @RASQAL_GRAPH_PATTERN_OPERATOR_BASIC: Just triple patterns and constrain ts.
* @RASQAL_GRAPH_PATTERN_OPERATOR_OPTIONAL: Set of graph patterns (ANDed) a nd constraints. * @RASQAL_GRAPH_PATTERN_OPERATOR_OPTIONAL: Set of graph patterns (ANDed) a nd constraints.
* @RASQAL_GRAPH_PATTERN_OPERATOR_UNION: Set of graph patterns (UNIONed) an d constraints. * @RASQAL_GRAPH_PATTERN_OPERATOR_UNION: Set of graph patterns (UNIONed) an d constraints.
* @RASQAL_GRAPH_PATTERN_OPERATOR_GROUP: Set of graph patterns (ANDed) and constraints. * @RASQAL_GRAPH_PATTERN_OPERATOR_GROUP: Set of graph patterns (ANDed) and constraints.
* @RASQAL_GRAPH_PATTERN_OPERATOR_GRAPH: A graph term + a graph pattern and constraints. * @RASQAL_GRAPH_PATTERN_OPERATOR_GRAPH: A graph term + a graph pattern and constraints.
* @RASQAL_GRAPH_PATTERN_OPERATOR_FILTER: A filter graph pattern with an ex pression * @RASQAL_GRAPH_PATTERN_OPERATOR_FILTER: A filter graph pattern with an ex pression
 End of changes. 13 change blocks. 
9 lines changed or deleted 46 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/