#include <ctype.h>#include <stdbool.h>#include <stdio.h>#include <string.h>#include <time.h>#include <bstrlib.h>#include <gio/gio.h>#include <talloc.h>#include <atalk/errchk.h>#include <atalk/logger.h>#include <atalk/spotlight.h>#include "sparql_map.h"Typedefs | |
| typedef struct yy_buffer_state * | YY_BUFFER_STATE |
Functions | |
| int | yylex (void) |
| void | yyerror (char const *) |
| void * | yyterminate (void) |
| YY_BUFFER_STATE | yy_scan_string (const char *str) |
| void | yy_delete_buffer (YY_BUFFER_STATE buffer) |
| static const char * | map_expr (const char *attr, char opop, const char *val) |
| static const char * | map_daterange (const char *dateattr, time_t date1, time_t date2) |
| static time_t | isodate2unix (const char *s) |
| static char * | ascii_lower_dup (TALLOC_CTX *ctx, const char *s, size_t len) |
| static char * | map_type_search (const char *attr, char opop, const char *val) |
| int | yywrap () |
| int | map_spotlight_to_sparql_query (slq_t *slq, gchar **sparql_result) |
Variables | |
| slq_t * | ssp_slq |
| static gchar * | ssp_result |
| static int | sparqlvar |
| static char * | result_limit |
| typedef struct yy_buffer_state* YY_BUFFER_STATE |
|
static |
Lowercase ASCII letters in-place in a talloc'd copy of s.
|
static |
|
static |
|
static |
| int map_spotlight_to_sparql_query | ( | slq_t * | slq, |
| gchar ** | sparql_result ) |
Map a Spotlight RAW query string to a SPARQL query string
| [in] | slq | Spotlight query handle |
| [out] | sparql_result | Mapped SPARQL query, string is allocated in talloc context of slq |
|
static |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
| int yywrap | ( | ) |
|
static |
|
static |
|
static |
| slq_t* ssp_slq |