]> git.sesse.net Git - vlc/blobdiff - include/vlc_common.h
Revert "Fixed open network panel."
[vlc] / include / vlc_common.h
index 6f543baf306ebc2b9fa5e322bce0ca97f716771f..451a008926ba35707d652a98a9ddf57a32da7948 100644 (file)
@@ -29,6 +29,9 @@
  * This file is a collection of common definitions and types
  */
 
+#ifndef VLC_COMMON_H
+# define VLC_COMMON_H 1
+
 /*****************************************************************************
  * Required vlc headers
  *****************************************************************************/
 /* Counter for statistics and profiling */
 typedef unsigned long       count_t;
 
-/* DCT elements types */
-typedef int16_t             dctelem_t;
-
-/* Video buffer types */
-typedef uint8_t             yuv_data_t;
-
 /* Audio volume */
 typedef uint16_t            audio_volume_t;
 
@@ -218,7 +215,6 @@ typedef struct aout_filter_t aout_filter_t;
 /* Video */
 typedef struct vout_thread_t vout_thread_t;
 typedef struct vout_sys_t vout_sys_t;
-typedef struct chroma_sys_t chroma_sys_t;
 
 typedef video_format_t video_frame_format_t;
 typedef struct picture_t picture_t;
@@ -386,7 +382,7 @@ struct stat;
 typedef union
 {
     int             i_int;
-    bool      b_bool;
+    bool            b_bool;
     float           f_float;
     char *          psz_string;
     void *          p_address;
@@ -444,7 +440,6 @@ struct vlc_list_t
 #define VLC_ENOMOD         -10                           /* Module not found */
 
 #define VLC_ENOOBJ         -20                           /* Object not found */
-#define VLC_EBADOBJ        -21                            /* Bad object type */
 
 #define VLC_ENOVAR         -30                         /* Variable not found */
 #define VLC_EBADVAR        -31                         /* Bad variable value */
@@ -518,10 +513,6 @@ typedef struct vlc_object_internals_t vlc_object_internals_t;
     char *psz_header;                                                       \
     int  i_flags;                                                           \
                                                                             \
-    /* Object access lock */                                                \
-    vlc_mutex_t  object_lock;                                               \
-    vlc_cond_t   object_wait;                                               \
-                                                                            \
     /* Object properties */                                                 \
     volatile bool b_error;                  /**< set by the object */ \
     volatile bool b_die;                   /**< set by the outside */ \
@@ -556,7 +547,7 @@ typedef struct vlc_object_internals_t vlc_object_internals_t;
 
 struct gc_object_t
 {
-            VLC_GC_MEMBERS
+    VLC_GC_MEMBERS
 };
 
 static inline void __vlc_gc_incref( gc_object_t * p_gc )
@@ -917,3 +908,11 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
 #   define PATH_SEP_CHAR ':'
 #   define PATH_SEP ":"
 #endif
+
+#define LICENSE_MSG \
+  _("This program comes with NO WARRANTY, to the extent permitted by " \
+    "law.\nYou may redistribute it under the terms of the GNU General " \
+    "Public License;\nsee the file named COPYING for details.\n" \
+    "Written by the VideoLAN team; see the AUTHORS file.\n")
+
+#endif /* !VLC_COMMON_H */