28#include <tracker-sparql.h>
30#include <tinysparql.h>
42#define SPOTLIGHT_CMD_OPEN 1
43#define SPOTLIGHT_CMD_FLAGS 2
44#define SPOTLIGHT_CMD_RPC 3
45#define SPOTLIGHT_CMD_OPEN2 4
48#define SL_ENC_LITTLE_ENDIAN 1
49#define SL_ENC_BIG_ENDIAN 2
50#define SL_ENC_UTF_16 4
static size_t rbuflen
Definition afpfunc_helpers.c:45
static char rbuf[rbufsize]
Definition afpfunc_helpers.c:44
static char buf[MAXPATHLEN+1]
Definition afppasswd.c:66
static struct cnid_dbd_rqst rqst _U_
Definition cmd_dbd_scanvol.c:63
static AFPObj obj
Definition netatalk.c:62
void configure_spotlight_attributes(const char *attributes)
Definition sparql_map.c:107
bool sl_bool_t
Definition spotlight.h:61
int spotlight_init(AFPObj *obj)
Definition spotlight.c:1309
int sl_pack(DALLOC_CTX *query, char *buf)
Definition spotlight_marshalling.c:852
DALLOC_CTX sl_array_t
Definition spotlight.h:53
int sl_nil_t
Definition spotlight.h:59
struct timeval sl_time_t
Definition spotlight.h:62
DALLOC_CTX sl_dict_t
Definition spotlight.h:55
int sl_unpack(DALLOC_CTX *query, const char *buf)
Definition spotlight_marshalling.c:880
DALLOC_CTX sl_filemeta_t
Definition spotlight.h:57
int afp_spotlight_rpc(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf, size_t *rbuflen)
Definition spotlight.c:1364
slq_state_t
Definition spotlight.h:79
@ SLQ_STATE_NEW
Definition spotlight.h:81
@ SLQ_STATE_RUNNING
Definition spotlight.h:83
@ SLQ_STATE_CANCELLED
Definition spotlight.h:93
@ SLQ_STATE_DONE
Definition spotlight.h:89
@ SLQ_STATE_CANCEL_PENDING
Definition spotlight.h:91
@ SLQ_STATE_RESULTS
Definition spotlight.h:85
@ SLQ_STATE_FULL
Definition spotlight.h:87
@ SLQ_STATE_ERROR
Definition spotlight.h:95
Definition spotlight.h:106
uint64_t slq_ctx1
Definition spotlight.h:120
AFPObj * slq_obj
Definition spotlight.h:112
sl_array_t * slq_reqinfo
Definition spotlight.h:124
bool slq_allow_expr
Definition spotlight.h:134
uint64_t * slq_cnids
Definition spotlight.h:128
const struct vol * slq_vol
Definition spotlight.h:114
char * slq_scope
Definition spotlight.h:116
struct sl_rslts * query_results
Definition spotlight.h:138
slq_state_t slq_state
Definition spotlight.h:110
time_t slq_time
Definition spotlight.h:118
uint64_t slq_ctx2
Definition spotlight.h:122
const char * slq_qstring
Definition spotlight.h:126
size_t slq_cnids_num
Definition spotlight.h:130
struct list_head slq_list
Definition spotlight.h:108
void * tracker_cursor
Definition spotlight.h:132
uint64_t slq_result_limit
Definition spotlight.h:136
Definition include/atalk/list.h:17
Definition spotlight.h:67
DALLOC_CTX * ca_cnids
Definition spotlight.h:71
uint32_t ca_context
Definition spotlight.h:70
uint16_t ca_unkn1
Definition spotlight.h:69
Definition spotlight.h:141
slq_t * query_list
Definition spotlight.h:146
GCancellable * cancellable
Definition spotlight.h:143
GMainLoop * mainloop
Definition spotlight.h:144
TrackerSparqlConnection * tracker_con
Definition spotlight.h:142
Definition spotlight.h:99
int num_results
Definition spotlight.h:100
sl_cnids_t * cnids
Definition spotlight.h:101
sl_array_t * fm_array
Definition spotlight.h:102
Definition spotlight.h:63
char sl_uuid[16]
Definition spotlight.h:65
Definition include/atalk/volume.h:32