summaryrefslogtreecommitdiff
path: root/server/include/thumb-server-internal.h
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-07-12 02:56:56 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-07-12 06:02:55 (GMT)
commit32fe300117df43130bd365049939122869933d20 (patch)
tree50697ce5f0e9ec63b6b8139005144746de3c5969 /server/include/thumb-server-internal.h
parentc5869473bdf194dd44dc56d269399487106ff759 (diff)
downloadlibmedia-thumbnail-32fe300117df43130bd365049939122869933d20.zip
libmedia-thumbnail-32fe300117df43130bd365049939122869933d20.tar.gz
libmedia-thumbnail-32fe300117df43130bd365049939122869933d20.tar.bz2
Remove unused coderefs/changes/68/138368/3
Remove unused enums, values, APIs. Change-Id: I9f9e66581dc1ef19ceb10f83abe7dcb88eb563e7 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.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/server/include/thumb-server-internal.h b/server/include/thumb-server-internal.h
index 44b0d16..5e0c47f 100755
--- a/server/include/thumb-server-internal.h
+++ b/server/include/thumb-server-internal.h
@@ -26,17 +26,6 @@
#ifndef _THUMB_DAEMON_INTERNAL_H_
#define _THUMB_DAEMON_INTERNAL_H_
-typedef enum {
- MEDIA_SERVER_PID = 1,
- OTHERS_PID = 0,
- GETPID_FAIL = -1
-} _pid_e;
-
-typedef enum {
- BLOCK_MODE = 0,
- TIMEOUT_MODE = 1
-} _server_mode_e;
-
gboolean _thumb_daemon_start_jobs(gpointer data);
void _thumb_daemon_finish_jobs(void);
gboolean _thumb_server_prepare_socket(int *sock_fd);
@@ -45,20 +34,14 @@ gboolean _thumb_server_read_socket(GIOChannel *src, GIOCondition condition, gpoi
int _thumbnail_get_data(const char *origin_path,
char *thumb_path,
unsigned char **data,
- int *size,
int *width,
int *height,
int *alpha,
bool *is_saved);
-int _thumbnail_get_raw_data(const char *origin_path,
- int *width,
- int *height,
- unsigned char **data,
- int *size);
+int _thumbnail_get_raw_data(const char *origin_path, int *width, int *height, unsigned char **data, int *size);
int _media_thumb_process(thumbMsg *req_msg, thumbMsg *res_msg);
-
int _media_thumb_process_raw(thumbMsg *req_msg, thumbMsg *res_msg);
#endif /*_THUMB_DAEMON_INTERNAL_H_*/