OpenMAXBellagio 0.9.3
content_pipe_inet.h
Go to the documentation of this file.
00001 
00026 #ifndef __CONTENT_PIPE_INET_H__
00027 #define __CONTENT_PIPE_INET_H__
00028 
00029 #include <sys/types.h>
00030 #include <sys/socket.h>
00031 #include <netinet/in.h>
00032 #include <netdb.h>
00033 #include <string.h>
00034 #include <unistd.h>
00035 #include <stdio.h>
00036 #include <stdlib.h>
00037 #include <malloc.h>
00038 
00039 
00040 #include <OMX_Types.h>
00041 #include <OMX_ContentPipe.h>
00042 
00043 #include "omx_comp_debug_levels.h"
00044 
00045 #define SOCKET_ERROR        -1
00046 #define QUEUE_SIZE          1
00047 
00048 typedef struct {
00049 
00050   /* public */
00051   CP_PIPETYPE pipe;
00052 
00053   /* private */
00054   int sfd;
00055   int cfd;
00056 
00057 } inet_ContentPipe;
00058 
00059 #endif