summaryrefslogtreecommitdiff
path: root/server/include/thumb-server-internal.h
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-07-20 18:47:25 +0900
committerMinje Ahn <minje.ahn@samsung.com>2015-07-20 18:47:25 +0900
commit318ec49c458b8f7acef0c192d046074250ebe231 (patch)
treec3f77b8f0a7ad2ce7ea6265656abdc3f72b0225b /server/include/thumb-server-internal.h
parent64959fbc53fd5386a684928617353a9be4890439 (diff)
downloadlibmedia-thumbnail-318ec49c458b8f7acef0c192d046074250ebe231.tar.gz
libmedia-thumbnail-318ec49c458b8f7acef0c192d046074250ebe231.tar.bz2
libmedia-thumbnail-318ec49c458b8f7acef0c192d046074250ebe231.zip
Fix gdkpixbuf issue. replace some function. Change-Id: I3176594d491f9ae1ef08cf7de46a0b791e09e231 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'server/include/thumb-server-internal.h')
-rwxr-xr-xserver/include/thumb-server-internal.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/server/include/thumb-server-internal.h b/server/include/thumb-server-internal.h
index 64648b1..cd754e8 100755
--- a/server/include/thumb-server-internal.h
+++ b/server/include/thumb-server-internal.h
@@ -46,4 +46,28 @@ void _thumb_daemon_vconf_cb(void *data);
gboolean _thumb_server_prepare_socket(int *sock_fd);
gboolean _thumb_server_read_socket(GIOChannel *src, GIOCondition condition, gpointer data);
+int _thumbnail_get_data(const char *origin_path,
+ media_thumb_type thumb_type,
+ media_thumb_format format,
+ unsigned char **data,
+ int *size,
+ int *width,
+ int *height,
+ int *origin_width,
+ int *origin_height,
+ int *alpha,
+ uid_t uid);
+
+int _thumbnail_get_raw_data(const char *origin_path,
+ media_thumb_format format,
+ unsigned char **data,
+ int *size,
+ int *width,
+ int *height,
+ uid_t uid);
+
+int _media_thumb_process(thumbMsg *req_msg, thumbMsg *res_msg, uid_t uid);
+
+int _media_thumb_process_raw(thumbMsg *req_msg, thumbMsg *res_msg, thumbRawAddMsg *res_raw_msg, uid_t uid);
+
#endif /*_THUMB_DAEMON_INTERNAL_H_*/