* Collection of useful common types and macros definitions
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: common.h,v 1.28 2001/02/08 07:24:25 sam Exp $
+ * $Id: common.h,v 1.32 2001/05/30 17:03:11 sam Exp $
*
* Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr>
/* Boolean type */
#ifdef BOOLEAN_T_IN_SYS_TYPES_H
# include <sys/types.h>
+#elif defined(BOOLEAN_T_IN_PTHREAD_H)
+# include <pthread.h>
#else
typedef int boolean_t;
#endif
/* Input */
struct input_thread_s;
-struct input_vlan_s;
+struct input_channel_s;
struct input_cfg_s;
typedef struct input_thread_s * p_input_thread_t;
-typedef struct input_vlan_s * p_input_vlan_t;
+typedef struct input_channel_s * p_input_channel_t;
typedef struct input_cfg_s * p_input_cfg_t;
/* Audio */
/* Misc */
struct macroblock_s;
struct data_packet_s;
+struct es_descriptor_s;
/*****************************************************************************
* Macros and inline functions
#ifdef NTOHL_IN_SYS_PARAM_H
# include <sys/param.h>
+#elif defined(WIN32)
#else
# include <netinet/in.h>
#endif