1 /* Copyright 2013 Akira Ohta (akohta001@gmail.com)
2 This file is part of ntch.
4 The ntch 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 3 of the License, or
7 (at your option) any later version.
9 The ntch 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.
14 You should have received a copy of the GNU General Public License
15 along with ntch. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef _SEARCH_2CH_H_
19 #define _SEARCH_2CH_H_
22 typedef struct tag_nt_searched_thread_t *nt_searched_thread_tp;
23 typedef struct tag_nt_searched_thread_t{
27 }nt_searched_thread_t;
29 extern BOOL nt_get_search_text(const char *in_text, char** out_text);
30 extern nt_link_tp nt_search_all_board(nt_2ch_model_tp modelp,
31 const char *search_text, const wchar_t **error_msg);
32 extern void free_searched_thread(void *ptr);
37 #endif /* _SEARCH_2CH_H_ */