2 * media-thumbnail-server
4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Hyunjun Ko <zzoon.ko@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
23 #include "media-thumb-ipc.h"
24 #include "media-thumb-db.h"
26 #ifndef _THUMB_DAEMON_INTERNAL_H_
27 #define _THUMB_DAEMON_INTERNAL_H_
29 gboolean _thumb_daemon_start_jobs(gpointer data);
30 gboolean _thumb_server_prepare_socket(int *sock_fd);
31 gboolean _thumb_server_read_socket(GIOChannel *src, GIOCondition condition, gpointer data);
33 int _thumbnail_get_data(const char *origin_path, char *thumb_path);
35 int _thumbnail_get_raw_data(const char *origin_path, int *width, int *height, unsigned char **data, int *size);
37 int _media_thumb_process(thumbMsg *req_msg, thumbMsg *res_msg);
38 int _media_thumb_process_raw(thumbMsg *req_msg, thumbMsg *res_msg);
40 #endif /*_THUMB_DAEMON_INTERNAL_H_*/