summaryrefslogtreecommitdiff
path: root/server/include/thumb-server-internal.h
diff options
context:
space:
mode:
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_*/