2 Copyright (c) 2012 Frank Lahm <franklahm@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
17 #endif /* HAVE_CONFIG_H */
24 #include <atalk/dalloc.h>
25 #include <atalk/globals.h>
27 typedef DALLOC_CTX sl_array_t; /* an array of elements */
28 typedef DALLOC_CTX sl_dict_t; /* an array of key/value elements */
29 typedef DALLOC_CTX sl_filemeta_t; /* contains one sl_array_t */
30 typedef int sl_nil_t; /* a nil element */
31 typedef bool sl_bool_t; /* a boolean, we avoid bool_t as it's a define for something else */
32 typedef struct timeval sl_time_t; /* a boolean, we avoid bool_t as it's a define for something else */
35 } sl_uuid_t; /* a UUID */
40 } sl_cnids_t; /* an array of CNID */
42 extern int afp_spotlight_rpc(AFPObj *obj, char *ibuf, size_t ibuflen _U_, char *rbuf, size_t *rbuflen);
44 #endif /* SPOTLIGHT_H */