2 * Unix SMB/CIFS implementation.
4 * Window Search Service
6 * Copyright (c) Noel Power
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 #ifndef __LIBRPC_WSP_UTIL_H__
22 #define __LIBRPC_WSP_UTIL__H__
24 #include "librpc/gen_ndr/misc.h"
26 struct safearraybound
;
27 struct wsp_cfullpropspec
;
28 struct wsp_crestriction
;
30 struct full_propset_info
{
35 bool in_inverted_index
;
37 bool can_col_be_indexed
;
41 struct full_guid_propset
{
43 const struct full_propset_info
*prop_info
;
46 extern const struct full_guid_propset full_propertyset
[];
48 char *prop_from_fullprop(TALLOC_CTX
*ctx
, struct wsp_cfullpropspec
*fullprop
);
49 const struct full_propset_info
*get_prop_info(const char *prop_name
);
50 const struct full_propset_info
*get_propset_info_with_guid(
51 const char *prop_name
,
54 struct wsp_cfullpropspec
*get_full_prop(struct wsp_crestriction
*restriction
);
55 #endif /* __LIBRPC_WSP_UTIL_H__ */