X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fafpd%2Fspotlight.h;h=da7aaf65fd3dcbc43803cf6468335557b7fbe6d1;hb=842593b24200537927aeb6f749782a9de46c313b;hp=adcac14d411e269dd0f7ce6b5bdd4ed9750fe107;hpb=1557c54c938ce8af8a4c49cf3b8968665e75c03f;p=netatalk.git diff --git a/etc/afpd/spotlight.h b/etc/afpd/spotlight.h index adcac14d..da7aaf65 100644 --- a/etc/afpd/spotlight.h +++ b/etc/afpd/spotlight.h @@ -24,6 +24,7 @@ #include #include +#include /************************************************************************************************** * Spotlight module stuff @@ -87,11 +88,15 @@ typedef enum { /* Internal query data structure */ typedef struct { slq_state_t slq_state; /* State */ + AFPObj *slq_obj; /* global AFPObj handle */ + const struct vol *slq_vol; /* volume handle */ + DALLOC_CTX *slq_reply; /* reply handle */ time_t slq_time; /* timestamp where we received this query */ uint64_t slq_ctx1; /* client context 1 */ uint64_t slq_ctx2; /* client context 2 */ const char *slq_qstring; /* the Spotlight query string */ DALLOC_CTX *slq_reqinfo; /* array with requested metadata */ + int slq_metacount; /* number of requested metadata attributes in slq_reqinfo */ void *slq_tracker_cursor; /* Tracker query result cursor */ } slq_t;