summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHyunjun Ko <zzoon.ko@samsung.com>2013-04-18 02:38:34 (GMT)
committerHyunjun Ko <zzoon.ko@samsung.com>2013-04-18 02:38:34 (GMT)
commit48a1a698783941011b472978302c44ab4b23b46f (patch)
treec2d68dd019c8889fa2b4fa91bea19724e9ddbafc /src/include
parent26b05feb5117117b1fb53545ef7cbe967beb7fbd (diff)
downloadlibmedia-thumbnail-48a1a698783941011b472978302c44ab4b23b46f.zip
libmedia-thumbnail-48a1a698783941011b472978302c44ab4b23b46f.tar.gz
libmedia-thumbnail-48a1a698783941011b472978302c44ab4b23b46f.tar.bz2
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/ipc/media-thumb-ipc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/ipc/media-thumb-ipc.h b/src/include/ipc/media-thumb-ipc.h
index f91925f..ce81c01 100755
--- a/src/include/ipc/media-thumb-ipc.h
+++ b/src/include/ipc/media-thumb-ipc.h
@@ -30,7 +30,12 @@
#include "media-server-ipc.h"
#endif
+#ifdef _USE_UDS_SOCKET_
+#include <sys/un.h>
+#else
#include <sys/socket.h>
+#endif
+
#include <arpa/inet.h>
#include <stdlib.h>
#include <string.h>
@@ -99,8 +104,13 @@ _media_thumb_create_udp_socket(int *sock);
int
_media_thumb_recv_msg(int sock, int header_size, thumbMsg *msg);
+#ifdef _USE_UDS_SOCKET_
+int
+_media_thumb_recv_udp_msg(int sock, int header_size, thumbMsg *msg, struct sockaddr_un *from_addr, unsigned int *from_size);
+#else
int
_media_thumb_recv_udp_msg(int sock, int header_size, thumbMsg *msg, struct sockaddr_in *from_addr, unsigned int *from_size);
+#endif
int
_media_thumb_set_buffer(thumbMsg *req_msg, unsigned char **buf, int *buf_size);