2 Unix SMB/CIFS implementation.
3 Main metadata server / Spotlight routines / noindex backend
5 Copyright (C) Ralph Boehme 2019
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
24 static bool mdssvc_noindex_init(struct mdssvc_ctx
*mdssvc_ctx
)
29 static bool mdssvc_noindex_shutdown(struct mdssvc_ctx
*mdssvc_ctx
)
34 static bool mds_noindex_connect(struct mds_ctx
*mds_ctx
)
39 static bool mds_noindex_search_start(struct sl_query
*slq
)
41 slq
->state
= SLQ_STATE_DONE
;
45 static bool mds_noindex_search_cont(struct sl_query
*slq
)
47 slq
->state
= SLQ_STATE_DONE
;
51 struct mdssvc_backend mdsscv_backend_noindex
= {
52 .init
= mdssvc_noindex_init
,
53 .shutdown
= mdssvc_noindex_shutdown
,
54 .connect
= mds_noindex_connect
,
55 .search_start
= mds_noindex_search_start
,
56 .search_cont
= mds_noindex_search_cont
,