Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
highlighter.h
Go to the documentation of this file.
1 /*
2  * highlighter.h
3  *
4  * Created on: 8 Nov 2019
5  * Author: billy
6  */
7 
8 #ifndef SERVICES_FIELD_TRIALS_INCLUDE_HIGHLIGHTER_H_
9 #define SERVICES_FIELD_TRIALS_INCLUDE_HIGHLIGHTER_H_
10 
11 
14 
15 #include "jansson.h"
16 
17 
18 typedef struct SearchHighlighter
19 {
20  char *sh_key_s;
21  char *sh_value_s;
22  bool (*dh_fn) (json_t *data_p);
24 
25 
26 #ifdef __cplusplus
27 extern "C"
28 {
29 #endif
30 
31 
32 
33 
34 
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 
41 
42 
43 #endif /* SERVICES_FIELD_TRIALS_INCLUDE_HIGHLIGHTER_H_ */
SearchHighlighter::dh_fn
bool(* dh_fn)(json_t *data_p)
Definition: highlighter.h:22
dfw_field_trial_service_library.h
SearchHighlighter::sh_key_s
char * sh_key_s
Definition: highlighter.h:20
SearchHighlighter::sh_value_s
char * sh_value_s
Definition: highlighter.h:21
dfw_field_trial_service_data.h
SearchHighlighter
Definition: highlighter.h:18