2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 * @brief Internal implementation of public API's.
21 * @ingroup CAPI_GENERIC_CLASSIFIER_MODULE
24 #ifndef __TIZEN_GENERIC_CLASSIFIER_INTERNAL_H__
25 #define __TIZEN_GENERIC_CLASSIFIER_INTERNAL_H__
30 #endif /* __cplusplus */
32 #include "generic_text_classifier.h"
33 #include "generic_text_classifier_type.h"
34 #include "gc_private.h"
36 int _initialize(void);
38 int _deinitialize(void);
40 int _create_classifier(gc_classifier_h *classifier_handle, char *app_id, char *user_id);
42 int _delete_classifier(gc_classifier_h *classifier_handle);
44 int _get_category(gc_classifier_s *classifier_handle, char *text_data, int text_data_len, gc_category_s *category_list);
46 int _gc_check_init_status(void);
48 int _gc_check_handle_creation(void);
50 int _gc_check_handle_validity(gc_classifier_h *classifier_handle);
52 int _add_category(gc_classifier_s *classifier_handle, char *category_name);
54 int _delete_category(gc_classifier_s *classifier_handle, char *category_name);
56 int _update_category(gc_classifier_s *classifier_handle, char *category_name, char *text_data, int text_data_len);
60 #endif /* __cplusplus */
62 #endif /* __TIZEN_GENERIC_CLASSIFIER_TYPE_H__ */