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 #define SAFE_FREE(src) { if(src) {free(src); src = NULL;}}
42 gboolean _thumb_daemon_start_jobs(gpointer data);
43 void _thumb_daemon_finish_jobs();
44 void _thumb_daemon_mmc_eject_vconf_cb(void *data);
45 void _thumb_daemon_vconf_cb(void *data);
46 gboolean _thumb_server_prepare_socket(int *sock_fd);
47 gboolean _thumb_server_read_socket(GIOChannel *src, GIOCondition condition, gpointer data);
49 #endif /*_THUMB_DAEMON_INTERNAL_H_*/