]> arthur.barton.de Git - netatalk.git/blob - etc/afpd/spotlight_module.c
Spotlight module
[netatalk.git] / etc / afpd / spotlight_module.c
1 /*
2   Copyright (c) 2012 Frank Lahm <franklahm@gmail.com>
3
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.
8
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.
13 */
14
15 #ifdef HAVE_CONFIG_H
16 #include "config.h"
17 #endif /* HAVE_CONFIG_H */
18
19 #include <atalk/util.h>
20 #include <atalk/errchk.h>
21 #include <atalk/logger.h>
22
23 #include "spotlight.h"
24
25 int sl_mod_init(void *p)
26 {
27     EC_INIT;
28
29     const char *msg = p;
30
31     LOG(log_note, logtype_sl, "sl_mod_init: %s", msg);
32
33 EC_CLEANUP:
34     EC_EXIT;
35 }
36
37 struct sl_module_export sl_mod = {
38     SL_MODULE_VERSION,
39     sl_mod_init,
40     NULL,
41     NULL,
42     NULL
43 };