rasqal.h   rasqal.h 
/* -*- Mode: c; c-basic-offset: 2 -*- /* -*- Mode: c; c-basic-offset: 2 -*-
* *
* rasqal.h - Rasqal RDF Query library interfaces and definition * rasqal.h - Rasqal RDF Query library interfaces and definition
* *
* $Id: rasqal.h 11498 2006-10-14 23:09:03Z dajobe $ * $Id: rasqal.h 12095 2007-04-22 06:49:06Z dajobe $
* *
* Copyright (C) 2003-2006, David Beckett http://purl.org/net/dajobe/ * Copyright (C) 2003-2007, David Beckett http://purl.org/net/dajobe/
* Copyright (C) 2003-2005, University of Bristol, UK http://www.bristol.ac .uk/ * Copyright (C) 2003-2005, University of Bristol, UK http://www.bristol.ac .uk/
* *
* This package is Free Software and part of Redland http://librdf.org/ * This package is Free Software and part of Redland http://librdf.org/
* *
* It is licensed under the following three licenses as alternatives: * It is licensed under the following three licenses as alternatives:
* 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version * 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
* 2. GNU General Public License (GPL) V2 or any newer version * 2. GNU General Public License (GPL) V2 or any newer version
* 3. Apache License, V2.0 or any newer version * 3. Apache License, V2.0 or any newer version
* *
* You may not use this file except in compliance with at least one of * You may not use this file except in compliance with at least one of
skipping to change at line 88 skipping to change at line 88
RASQAL_API RASQAL_API
extern const char * const rasqal_version_string; extern const char * const rasqal_version_string;
RASQAL_API RASQAL_API
extern const unsigned int rasqal_version_major; extern const unsigned int rasqal_version_major;
RASQAL_API RASQAL_API
extern const unsigned int rasqal_version_minor; extern const unsigned int rasqal_version_minor;
RASQAL_API RASQAL_API
extern const unsigned int rasqal_version_release; extern const unsigned int rasqal_version_release;
RASQAL_API RASQAL_API
extern const unsigned int rasqal_version_decimal; extern const unsigned int rasqal_version_decimal;
RAPTOR_API
extern const char * const rasqal_license_string;
RAPTOR_API
extern const char * const rasqal_home_url_string;
/* Public structures */ /* Public structures */
/** /**
* rasqal_query: * rasqal_query:
* *
* Rasqal query class. * Rasqal query class.
*/ */
typedef struct rasqal_query_s rasqal_query; typedef struct rasqal_query_s rasqal_query;
skipping to change at line 171 skipping to change at line 175
* *
* ANONYMOUS can be used in queries but cannot be returned in a * ANONYMOUS can be used in queries but cannot be returned in a
* result. * result.
*/ */
typedef enum { typedef enum {
RASQAL_VARIABLE_TYPE_UNKNOWN = 0, RASQAL_VARIABLE_TYPE_UNKNOWN = 0,
RASQAL_VARIABLE_TYPE_NORMAL = 1, RASQAL_VARIABLE_TYPE_NORMAL = 1,
RASQAL_VARIABLE_TYPE_ANONYMOUS = 2 RASQAL_VARIABLE_TYPE_ANONYMOUS = 2
} rasqal_variable_type; } rasqal_variable_type;
/* forward reference */
struct rasqal_expression_s;
/** /**
* rasqal_variable: * rasqal_variable:
* @name: Variable name. * @name: Variable name.
* @value: Variable value or NULL if unbound. * @value: Variable value or NULL if unbound.
* @offset: Internal. * @offset: Internal.
* @type: Variable type. * @type: Variable type.
* @expression: Expression when the variable is a computed SELECT expressio n
* *
* Binding between a variable name and a value. * Binding between a variable name and a value.
* *
* Includes internal field @offset for recording the offset into the * Includes internal field @offset for recording the offset into the
* (internal) rasqal_query variables array. * (internal) rasqal_query variables array.
*/ */
typedef struct { typedef struct {
const unsigned char *name; const unsigned char *name;
rasqal_literal* value; rasqal_literal* value;
int offset; int offset;
rasqal_variable_type type; rasqal_variable_type type;
struct rasqal_expression_s* expression;
} rasqal_variable; } rasqal_variable;
/** /**
* rasqal_data_graph_flags: * rasqal_data_graph_flags:
* @RASQAL_DATA_GRAPH_NONE: Internal. * @RASQAL_DATA_GRAPH_NONE: Internal.
* @RASQAL_DATA_GRAPH_NAMED: Graphs with a source and name. * @RASQAL_DATA_GRAPH_NAMED: Graphs with a source and name.
* @RASQAL_DATA_GRAPH_BACKGROUND: Graphs with a source only. * @RASQAL_DATA_GRAPH_BACKGROUND: Graphs with a source only.
* *
* Flags for the type of #rasqal_data_graph. * Flags for the type of #rasqal_data_graph.
* *
skipping to change at line 367 skipping to change at line 376
* @RASQAL_EXPR_STR: Expression for SPARQL STR(A). * @RASQAL_EXPR_STR: Expression for SPARQL STR(A).
* @RASQAL_EXPR_LANG: Expression for SPARQL LANG(A). * @RASQAL_EXPR_LANG: Expression for SPARQL LANG(A).
* @RASQAL_EXPR_LANGMATCHES: Expression for SPARQL LANGMATCHES(A, B). * @RASQAL_EXPR_LANGMATCHES: Expression for SPARQL LANGMATCHES(A, B).
* @RASQAL_EXPR_DATATYPE: Expression for SPARQL DATATYPE(A). * @RASQAL_EXPR_DATATYPE: Expression for SPARQL DATATYPE(A).
* @RASQAL_EXPR_ISURI: Expression for SPARQL ISURI(A). * @RASQAL_EXPR_ISURI: Expression for SPARQL ISURI(A).
* @RASQAL_EXPR_ISBLANK: Expression for SPARQL ISBLANK(A). * @RASQAL_EXPR_ISBLANK: Expression for SPARQL ISBLANK(A).
* @RASQAL_EXPR_ISLITERAL: Expression for SPARQL ISLITERAL(A). * @RASQAL_EXPR_ISLITERAL: Expression for SPARQL ISLITERAL(A).
* @RASQAL_EXPR_CAST: Expression for cast literal A to type B. * @RASQAL_EXPR_CAST: Expression for cast literal A to type B.
* @RASQAL_EXPR_ORDER_COND_ASC: Expression for SPARQL order condition ascen ding. * @RASQAL_EXPR_ORDER_COND_ASC: Expression for SPARQL order condition ascen ding.
* @RASQAL_EXPR_ORDER_COND_DESC: Expression for SPARQL order condition desc ending. * @RASQAL_EXPR_ORDER_COND_DESC: Expression for SPARQL order condition desc ending.
* @RASQAL_EXPR_GROUP_COND_ASC: Expression for LAQRS group condition ascend
ing.
* @RASQAL_EXPR_GROUP_COND_DESC: Expression for LAQRS group condition desce
nding.
* @RASQAL_EXPR_COUNT: Expression for LAQRS select COUNT()
* @RASQAL_EXPR_VARSTAR: Expression for LAQRS select Variable *
* @RASQAL_EXPR_UNKNOWN: Internal * @RASQAL_EXPR_UNKNOWN: Internal
* @RASQAL_EXPR_LAST: Internal * @RASQAL_EXPR_LAST: Internal
* *
* Rasqal expression operators. A mixture of unary, binary and * Rasqal expression operators. A mixture of unary, binary and
* tertiary operators (string matches). Also includes casting and * tertiary operators (string matches). Also includes casting and
* two ordering operators from ORDER BY in SPARQL. * two ordering operators from ORDER BY in SPARQL.
*/ */
typedef enum { typedef enum {
/* internal */ /* internal */
RASQAL_EXPR_UNKNOWN, RASQAL_EXPR_UNKNOWN,
skipping to change at line 411 skipping to change at line 424
RASQAL_EXPR_LANG, RASQAL_EXPR_LANG,
RASQAL_EXPR_DATATYPE, RASQAL_EXPR_DATATYPE,
RASQAL_EXPR_ISURI, RASQAL_EXPR_ISURI,
RASQAL_EXPR_ISBLANK, RASQAL_EXPR_ISBLANK,
RASQAL_EXPR_ISLITERAL, RASQAL_EXPR_ISLITERAL,
RASQAL_EXPR_CAST, RASQAL_EXPR_CAST,
RASQAL_EXPR_ORDER_COND_ASC, RASQAL_EXPR_ORDER_COND_ASC,
RASQAL_EXPR_ORDER_COND_DESC, RASQAL_EXPR_ORDER_COND_DESC,
RASQAL_EXPR_LANGMATCHES, RASQAL_EXPR_LANGMATCHES,
RASQAL_EXPR_REGEX, RASQAL_EXPR_REGEX,
RASQAL_EXPR_GROUP_COND_ASC,
RASQAL_EXPR_GROUP_COND_DESC,
RASQAL_EXPR_COUNT,
RASQAL_EXPR_VARSTAR,
/* internal */ /* internal */
RASQAL_EXPR_LAST= RASQAL_EXPR_REGEX RASQAL_EXPR_LAST= RASQAL_EXPR_VARSTAR
} rasqal_op; } rasqal_op;
/** /**
* rasqal_expression: * rasqal_expression:
* *
* expression (arg1), unary op (arg1), binary op (arg1,arg2), * expression (arg1), unary op (arg1), binary op (arg1,arg2),
* literal or variable * literal or variable
*/ */
struct rasqal_expression_s { struct rasqal_expression_s {
int usage; /* reference count - 1 for itself */ int usage; /* reference count - 1 for itself */
rasqal_op op; rasqal_op op;
struct rasqal_expression_s* arg1; struct rasqal_expression_s* arg1;
struct rasqal_expression_s* arg2; struct rasqal_expression_s* arg2;
struct rasqal_expression_s* arg3; /* optional 3rd arg for EXPR_REGEX */ struct rasqal_expression_s* arg3; /* optional 3rd arg for EXPR_REGEX */
rasqal_literal* literal; rasqal_literal* literal;
rasqal_variable* variable;
unsigned char *value; /* UTF-8 value */ unsigned char *value; /* UTF-8 value */
/* for extension function qname(args...) and cast-to-uri */ /* for extension function qname(args...) and cast-to-uri */
raptor_uri* name; raptor_uri* name;
raptor_sequence* args; raptor_sequence* args;
}; };
typedef struct rasqal_expression_s rasqal_expression; typedef struct rasqal_expression_s rasqal_expression;
/** /**
* rasqal_triple_flags: * rasqal_triple_flags:
skipping to change at line 499 skipping to change at line 515
} rasqal_pattern_flags; } rasqal_pattern_flags;
typedef unsigned char* (*rasqal_generate_bnodeid_handler)(rasqal_query* que ry, void *user_data, unsigned char *user_bnodeid); typedef unsigned char* (*rasqal_generate_bnodeid_handler)(rasqal_query* que ry, void *user_data, unsigned char *user_bnodeid);
/** /**
* rasqal_query_verb: * rasqal_query_verb:
* @RASQAL_QUERY_VERB_SELECT: RDQL/SPARQL query select verb. * @RASQAL_QUERY_VERB_SELECT: RDQL/SPARQL query select verb.
* @RASQAL_QUERY_VERB_CONSTRUCT: SPARQL query construct verb. * @RASQAL_QUERY_VERB_CONSTRUCT: SPARQL query construct verb.
* @RASQAL_QUERY_VERB_DESCRIBE: SPARQL query describe verb. * @RASQAL_QUERY_VERB_DESCRIBE: SPARQL query describe verb.
* @RASQAL_QUERY_VERB_ASK: SPARQL query ask verb. * @RASQAL_QUERY_VERB_ASK: SPARQL query ask verb.
* @RASQAL_QUERY_VERB_DELETE: LAQRS query delete verb.
* @RASQAL_QUERY_VERB_INSERT: LAQRS query insert verb.
* @RASQAL_QUERY_VERB_UNKNOWN: Internal * @RASQAL_QUERY_VERB_UNKNOWN: Internal
* @RASQAL_QUERY_VERB_LAST: Internal * @RASQAL_QUERY_VERB_LAST: Internal
* *
* Query main operation verbs describing the major type of query * Query main operation verbs describing the major type of query
* being performed. * being performed.
*/ */
typedef enum { typedef enum {
/* internal */ /* internal */
RASQAL_QUERY_VERB_UNKNOWN = 0, RASQAL_QUERY_VERB_UNKNOWN = 0,
RASQAL_QUERY_VERB_SELECT = 1, RASQAL_QUERY_VERB_SELECT = 1,
RASQAL_QUERY_VERB_CONSTRUCT = 2, RASQAL_QUERY_VERB_CONSTRUCT = 2,
RASQAL_QUERY_VERB_DESCRIBE = 3, RASQAL_QUERY_VERB_DESCRIBE = 3,
RASQAL_QUERY_VERB_ASK = 4, RASQAL_QUERY_VERB_ASK = 4,
RASQAL_QUERY_VERB_DELETE = 5,
RASQAL_QUERY_VERB_INSERT = 6,
/* internal */ /* internal */
RASQAL_QUERY_VERB_LAST=RASQAL_QUERY_VERB_ASK RASQAL_QUERY_VERB_LAST=RASQAL_QUERY_VERB_INSERT
} rasqal_query_verb; } rasqal_query_verb;
/** /**
* 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_UNKNOWN: Internal. * @RASQAL_GRAPH_PATTERN_OPERATOR_UNKNOWN: Internal.
skipping to change at line 617 skipping to change at line 637
RASQAL_API RASQAL_API
void rasqal_query_set_generate_bnodeid_handler(rasqal_query* query, void *u ser_data, rasqal_generate_bnodeid_handler handler); void rasqal_query_set_generate_bnodeid_handler(rasqal_query* query, void *u ser_data, rasqal_generate_bnodeid_handler handler);
RASQAL_API RASQAL_API
rasqal_query_verb rasqal_query_get_verb(rasqal_query* query); rasqal_query_verb rasqal_query_get_verb(rasqal_query* query);
RASQAL_API RASQAL_API
int rasqal_query_get_wildcard(rasqal_query* query); int rasqal_query_get_wildcard(rasqal_query* query);
RASQAL_API RASQAL_API
int rasqal_query_get_distinct(rasqal_query* query); int rasqal_query_get_distinct(rasqal_query* query);
RASQAL_API RASQAL_API
void rasqal_query_set_distinct(rasqal_query* query, int is_distinct); void rasqal_query_set_distinct(rasqal_query* query, int distinct_mode);
RASQAL_API
int rasqal_query_get_explain(rasqal_query* query);
RASQAL_API
void rasqal_query_set_explain(rasqal_query* query, int is_explain);
RASQAL_API RASQAL_API
int rasqal_query_get_limit(rasqal_query* query); int rasqal_query_get_limit(rasqal_query* query);
RASQAL_API RASQAL_API
void rasqal_query_set_limit(rasqal_query* query, int limit); void rasqal_query_set_limit(rasqal_query* query, int limit);
RASQAL_API RASQAL_API
int rasqal_query_get_offset(rasqal_query* query); int rasqal_query_get_offset(rasqal_query* query);
RASQAL_API RASQAL_API
void rasqal_query_set_offset(rasqal_query* query, int offset); void rasqal_query_set_offset(rasqal_query* query, int offset);
RASQAL_API RASQAL_API
skipping to change at line 663 skipping to change at line 687
void rasqal_query_add_prefix(rasqal_query* query, rasqal_prefix* prefix); void rasqal_query_add_prefix(rasqal_query* query, rasqal_prefix* prefix);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_prefix_sequence(rasqal_query* query); raptor_sequence* rasqal_query_get_prefix_sequence(rasqal_query* query);
RASQAL_API RASQAL_API
rasqal_prefix* rasqal_query_get_prefix(rasqal_query* query, int idx); rasqal_prefix* rasqal_query_get_prefix(rasqal_query* query, int idx);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_order_conditions_sequence(rasqal_query* q uery); raptor_sequence* rasqal_query_get_order_conditions_sequence(rasqal_query* q uery);
RASQAL_API RASQAL_API
rasqal_expression* rasqal_query_get_order_condition(rasqal_query* query, in t idx); rasqal_expression* rasqal_query_get_order_condition(rasqal_query* query, in t idx);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_group_conditions_sequence(rasqal_query* q
uery);
RASQAL_API
rasqal_expression* rasqal_query_get_group_condition(rasqal_query* query, in
t idx);
RASQAL_API
raptor_sequence* rasqal_query_get_construct_triples_sequence(rasqal_query* query); raptor_sequence* rasqal_query_get_construct_triples_sequence(rasqal_query* query);
RASQAL_API RASQAL_API
rasqal_triple* rasqal_query_get_construct_triple(rasqal_query* query, int i dx); rasqal_triple* rasqal_query_get_construct_triple(rasqal_query* query, int i dx);
RASQAL_API RASQAL_API
void rasqal_query_graph_pattern_visit(rasqal_query* query, rasqal_graph_pat tern_visit_fn visit_fn, void* data); void rasqal_query_graph_pattern_visit(rasqal_query* query, rasqal_graph_pat tern_visit_fn visit_fn, void* data);
RASQAL_API RASQAL_API
int rasqal_query_write(raptor_iostream* iostr, rasqal_query* query, raptor_ uri* format_uri, raptor_uri* base_uri); int rasqal_query_write(raptor_iostream* iostr, rasqal_query* query, raptor_ uri* format_uri, raptor_uri* base_uri);
/* graph patterns */ /* graph patterns */
RASQAL_API RASQAL_API
skipping to change at line 760 skipping to change at line 788
int rasqal_query_results_get_boolean(rasqal_query_results *query_results); int rasqal_query_results_get_boolean(rasqal_query_results *query_results);
/* Graph result format */ /* Graph result format */
RASQAL_API RASQAL_API
int rasqal_query_results_is_graph(rasqal_query_results *query_results); int rasqal_query_results_is_graph(rasqal_query_results *query_results);
RASQAL_API RASQAL_API
raptor_statement* rasqal_query_results_get_triple(rasqal_query_results *que ry_results); raptor_statement* rasqal_query_results_get_triple(rasqal_query_results *que ry_results);
RASQAL_API RASQAL_API
int rasqal_query_results_next_triple(rasqal_query_results *query_results); int rasqal_query_results_next_triple(rasqal_query_results *query_results);
/* Syntax result format */
RASQAL_API
int rasqal_query_results_is_syntax(rasqal_query_results* query_results);
RASQAL_API RASQAL_API
int rasqal_query_results_write(raptor_iostream *iostr, rasqal_query_results *results, raptor_uri *format_uri, raptor_uri *base_uri); int rasqal_query_results_write(raptor_iostream *iostr, rasqal_query_results *results, raptor_uri *format_uri, raptor_uri *base_uri);
RASQAL_API RASQAL_API
int rasqal_query_results_formats_enumerate_full(const unsigned int counter,
const char **name, const char **label, const unsigned char **uri_string, c
onst char **mime_type);
RASQAL_API
int rasqal_query_results_formats_enumerate(const unsigned int counter, cons t char **name, const char **label, const unsigned char **uri_string); int rasqal_query_results_formats_enumerate(const unsigned int counter, cons t char **name, const char **label, const unsigned char **uri_string);
RASQAL_API RASQAL_API
int rasqal_query_results_formats_check(const char *name, raptor_uri* uri, c
onst char *mime_type);
RASQAL_API
rasqal_query_results_formatter* rasqal_new_query_results_formatter(const ch ar *name, raptor_uri* uri); rasqal_query_results_formatter* rasqal_new_query_results_formatter(const ch ar *name, raptor_uri* uri);
RASQAL_API RASQAL_API
rasqal_query_results_formatter* rasqal_new_query_results_formatter_by_mime_
type(const char *mime_type);
RASQAL_API
void rasqal_free_query_results_formatter(rasqal_query_results_formatter* fo rmatter); void rasqal_free_query_results_formatter(rasqal_query_results_formatter* fo rmatter);
RASQAL_API RASQAL_API
int rasqal_query_results_formatter_write(raptor_iostream *iostr, rasqal_que ry_results_formatter* formatter, rasqal_query_results* results, raptor_uri *base_uri); int rasqal_query_results_formatter_write(raptor_iostream *iostr, rasqal_que ry_results_formatter* formatter, rasqal_query_results* results, raptor_uri *base_uri);
RASQAL_API
const char* rasqal_query_results_formatter_get_mime_type(rasqal_query_resul
ts_formatter *formatter);
RASQAL_API RASQAL_API
int rasqal_query_iostream_write_escaped_counted_string(rasqal_query* query, raptor_iostream* iostr, const unsigned char* string, size_t len); int rasqal_query_iostream_write_escaped_counted_string(rasqal_query* query, raptor_iostream* iostr, const unsigned char* string, size_t len);
RASQAL_API RASQAL_API
unsigned char* rasqal_query_escape_counted_string(rasqal_query* query, cons t unsigned char *string, size_t len, size_t* output_len_p); unsigned char* rasqal_query_escape_counted_string(rasqal_query* query, cons t unsigned char *string, size_t len, size_t* output_len_p);
/* Data graph class */ /* Data graph class */
RASQAL_API RASQAL_API
rasqal_data_graph* rasqal_new_data_graph(raptor_uri* uri, raptor_uri* name_ uri, int flags); rasqal_data_graph* rasqal_new_data_graph(raptor_uri* uri, raptor_uri* name_ uri, int flags);
RASQAL_API RASQAL_API
skipping to change at line 799 skipping to change at line 839
* *
* Flags for rasqal_expression_evaluate() or rasqal_literal_compare(). * Flags for rasqal_expression_evaluate() or rasqal_literal_compare().
*/ */
typedef enum { typedef enum {
RASQAL_COMPARE_NOCASE = 1, RASQAL_COMPARE_NOCASE = 1,
RASQAL_COMPARE_XQUERY = 2 RASQAL_COMPARE_XQUERY = 2
} rasqal_compare_flags; } rasqal_compare_flags;
/* Expression class */ /* Expression class */
RASQAL_API RASQAL_API
rasqal_expression* rasqal_new_0op_expression(rasqal_op op);
RASQAL_API
rasqal_expression* rasqal_new_1op_expression(rasqal_op op, rasqal_expressio n* arg); rasqal_expression* rasqal_new_1op_expression(rasqal_op op, rasqal_expressio n* arg);
RASQAL_API RASQAL_API
rasqal_expression* rasqal_new_2op_expression(rasqal_op op, rasqal_expressio n* arg1, rasqal_expression* arg2); rasqal_expression* rasqal_new_2op_expression(rasqal_op op, rasqal_expressio n* arg1, rasqal_expression* arg2);
RASQAL_API RASQAL_API
rasqal_expression* rasqal_new_3op_expression(rasqal_op op, rasqal_expressio n* arg1, rasqal_expression* arg2, rasqal_expression* arg3); rasqal_expression* rasqal_new_3op_expression(rasqal_op op, rasqal_expressio n* arg1, rasqal_expression* arg2, rasqal_expression* arg3);
RASQAL_API RASQAL_API
rasqal_expression* rasqal_new_string_op_expression(rasqal_op op, rasqal_exp ression* arg1, rasqal_literal* literal); rasqal_expression* rasqal_new_string_op_expression(rasqal_op op, rasqal_exp ression* arg1, rasqal_literal* literal);
RASQAL_API RASQAL_API
rasqal_expression* rasqal_new_literal_expression(rasqal_literal* literal); rasqal_expression* rasqal_new_literal_expression(rasqal_literal* literal);
RASQAL_API RASQAL_API
skipping to change at line 1062 skipping to change at line 1104
/* The info below is solely for gtk-doc - ignore it */ /* The info below is solely for gtk-doc - ignore it */
/** /**
* rasqal_expression_s: * rasqal_expression_s:
* @usage: Internal * @usage: Internal
* @op: Internal * @op: Internal
* @arg1: Internal * @arg1: Internal
* @arg2: Internal * @arg2: Internal
* @arg3: Internal * @arg3: Internal
* @literal: Internal * @literal: Internal
* @variable: Internal
* @value: Internal * @value: Internal
* @name: Internal * @name: Internal
* @args: Internal * @args: Internal
* *
* Internal - see #rasqal_expression. * Internal - see #rasqal_expression.
* *
*/ */
/** /**
* rasqal_literal_s: * rasqal_literal_s:
 End of changes. 22 change blocks. 
7 lines changed or deleted 57 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/