Unused items 3 RASQAL Library
Unused items Not used

## Synopsis

    #define     RASQAL_API
    struct      rasqal_expression_s;
    struct      rasqal_literal_s;
    struct      rasqal_triples_match_s;
    struct      rasqal_triples_source_s;

## Description

## Details

### RASQAL_API

    #define     RASQAL_API

Macro for wrapping API function call declarations.

RASQAL_API

### struct rasqal_expression_s

    struct rasqal_expression_s {
      int usage; /* reference count - 1 for itself */

      rasqal_op op;
      struct rasqal_expression_s* arg1;
      struct rasqal_expression_s* arg2;
      struct rasqal_expression_s* arg3; /* optional 3rd arg for EXPR_REGEX */
      rasqal_literal* literal;
      rasqal_variable* variable;
      unsigned char *value; /* UTF-8 value */

      /* for extension function qname(args...) and cast-to-uri */
      raptor_uri* name;
      raptor_sequence* args;
    };

Internal - see rasqal_expression.

int usage;

  Internal

rasqal_op op;

  Internal

struct rasqal_expression_s *arg1;

  Internal

struct rasqal_expression_s *arg2;

  Internal

struct rasqal_expression_s *arg3;

  Internal

rasqal_literal *literal;

  Internal

rasqal_variable *variable;

  Internal

unsigned char *value;

  Internal

raptor_uri *name;

  Internal

raptor_sequence *args;

  Internal

rasqal_expression_s

### struct rasqal_literal_s

    struct rasqal_literal_s {
      int usage;
      rasqal_literal_type type;
      /* UTF-8 string, pattern, qname, blank, double, float, decimal, datetime */
      const unsigned char *string;
      unsigned int string_len;

      union {
        /* integer and boolean types */
        int integer;
        /* double and float */
        double floating;
        /* uri (can be temporarily NULL if a qname, see flags below) */
        raptor_uri* uri;
        /* variable */
        rasqal_variable* variable;
    };

Internal - see rasqal_literal.

int usage;

  Internal

rasqal_literal_type type;

  Internal

const unsigned char *string;

  Internal

unsigned int string_len;

  Internal

rasqal_literal_s

### struct rasqal_triples_match_s

    struct rasqal_triples_match_s {
      void *user_data;

      rasqal_triple_parts (*bind_match)(struct rasqal_triples_match_s*, void *user_data, rasqal_variable *bindings[4], rasqal_triple_parts parts);

      void (*next_match)(struct rasqal_triples_match_s*, void *user_data);

      int (*is_end)(struct rasqal_triples_match_s*, void *user_data);

      void (*finish)(struct rasqal_triples_match_s*, void *user_data);
    };

Internal - see rasqal_triples_match.

void *user_data;

  Internal

bind_match ()

  Internal

next_match ()

  Internal

is_end ()

  Internal

finish ()

  Internal

rasqal_triples_match_s

### struct rasqal_triples_source_s

    struct rasqal_triples_source_s {
      rasqal_query* query;

      void *user_data;

      int (*init_triples_match)(rasqal_triples_match* rtm, struct rasqal_triples_source_s* rts, void *user_data, rasqal_triple_meta *m, rasqal_triple *t);

      int (*triple_present)(struct rasqal_triples_source_s* rts, void *user_data, rasqal_triple *t);

      void (*free_triples_source)(void *user_data);
    };

Internal - see rasqal_triples_source.

rasqal_query *query;

  Internal

void *user_data;

  Internal

init_triples_match ()

  Internal

triple_present ()

  Internal

free_triples_source ()

  Internal

rasqal_triples_source_s