netatalk: spotlight_private.h Source File

netatalk 4.5.1
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
spotlight_private.h
Go to the documentation of this file.
1/*
2 * Private declarations shared between etc/afpd/spotlight.c and the
3 * pluggable Spotlight search backends. Not a public API.
4 */
5
6#ifndef SPOTLIGHT_PRIVATE_H
7#define SPOTLIGHT_PRIVATE_H
8
9#include <atalk/spotlight.h>
10
11/*
12 * Add metadata for one search result to the fm_array.
13 * Defined in etc/afpd/spotlight.c.
14 */
15extern bool add_filemeta(sl_array_t *reqinfo,
16 sl_array_t *fm_array,
17 const char *path,
18 const struct stat *sp);
19
20#endif /* SPOTLIGHT_PRIVATE_H */
spotlight.h
sl_array_t
DALLOC_CTX sl_array_t
Definition spotlight.h:45
add_filemeta
bool add_filemeta(sl_array_t *reqinfo, sl_array_t *fm_array, const char *path, const struct stat *sp)
Add requested metadata for a query result element.
Definition spotlight.c:382
path
Definition include/atalk/directory.h:123