/*
* Unicode stuff
*/
+char *vlc_fix_readdir (const char *);
+bool vlc_current_charset (char **);
/*
* LibVLC objects stuff
{
VLC_COMMON_MEMBERS
- /* Object structure data */
+ /* Object structure data */
int i_counter; ///< object counter
int i_objects; ///< Attached objects count
vlc_object_t ** pp_objects; ///< Array of all objects
vlc_spinlock_t ref_spin;
unsigned i_refcount;
vlc_destructor_t pf_destructor;
- bool b_attached;
+
+ vlc_object_t **pp_children;
+ int i_children;
};
#define ZOOM_SECTION N_("Zoom")
*/
void var_OptionParse (vlc_object_t *, const char *, bool trusted);
+/*
+ * Replacement functions
+ */
+# ifndef HAVE_DIRENT_H
+typedef void DIR;
+# ifndef FILENAME_MAX
+# define FILENAME_MAX (260)
+# endif
+struct dirent
+{
+ long d_ino; /* Always zero. */
+ unsigned short d_reclen; /* Always zero. */
+ unsigned short d_namlen; /* Length of name in d_name. */
+ char d_name[FILENAME_MAX]; /* File name. */
+};
+# define opendir vlc_opendir
+# define readdir vlc_readdir
+# define closedir vlc_closedir
+# define rewinddir vlc_rewindir
+void *vlc_opendir (const char *);
+void *vlc_readdir (void *);
+int vlc_closedir(void *);
+void vlc_rewinddir(void *);
+# endif
+
#endif