OSDN Git Service

690bbb3e410e0c15e6e3badbcb20b70ec05e1d6b
[ntch/develop.git] / src / inc / _2ch / search_2ch.h
1 /* Copyright 2013 Akira Ohta (akohta001@gmail.com)
2     This file is part of ntch.
3
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.
8
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.
13
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/>.
16     
17 */
18 #ifndef _SEARCH_2CH_H_
19 #define _SEARCH_2CH_H_
20
21
22 typedef struct tag_nt_searched_thread_t *nt_searched_thread_tp;
23 typedef struct tag_nt_searched_thread_t{
24         wchar_t *board_name;
25         wchar_t *dat_name;
26         wchar_t *title;
27 }nt_searched_thread_t;
28
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);
33
34
35
36
37 #endif /* _SEARCH_2CH_H_ */