/* automatically generated by rust-bindgen */ pub const __MACOSX__: u32 = 1; pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1; pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1; pub const __DARWIN_ONLY_VERS_1050: u32 = 1; pub const __DARWIN_UNIX03: u32 = 1; pub const __DARWIN_64_BIT_INO_T: u32 = 1; pub const __DARWIN_VERS_1050: u32 = 1; pub const __DARWIN_NON_CANCELABLE: u32 = 0; pub const __DARWIN_SUF_EXTSN: &'static [u8; 14usize] = b"$DARWIN_EXTSN\0"; pub const __DARWIN_C_ANSI: u32 = 4096; pub const __DARWIN_C_FULL: u32 = 900000; pub const __DARWIN_C_LEVEL: u32 = 900000; pub const __STDC_WANT_LIB_EXT1__: u32 = 1; pub const __DARWIN_NO_LONG_LONG: u32 = 0; pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1; pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1; pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1; pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1; pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3; pub const __has_ptrcheck: u32 = 0; pub const __DARWIN_CLK_TCK: u32 = 100; pub const CHAR_BIT: u32 = 8; pub const MB_LEN_MAX: u32 = 6; pub const CLK_TCK: u32 = 100; pub const SCHAR_MAX: u32 = 127; pub const SCHAR_MIN: i32 = -128; pub const UCHAR_MAX: u32 = 255; pub const CHAR_MAX: u32 = 127; pub const CHAR_MIN: i32 = -128; pub const USHRT_MAX: u32 = 65535; pub const SHRT_MAX: u32 = 32767; pub const SHRT_MIN: i32 = -32768; pub const UINT_MAX: u32 = 4294967295; pub const INT_MAX: u32 = 2147483647; pub const INT_MIN: i32 = -2147483648; pub const ULONG_MAX: i32 = -1; pub const LONG_MAX: u64 = 9223372036854775807; pub const LONG_MIN: i64 = -9223372036854775808; pub const ULLONG_MAX: i32 = -1; pub const LLONG_MAX: u64 = 9223372036854775807; pub const LLONG_MIN: i64 = -9223372036854775808; pub const LONG_BIT: u32 = 64; pub const SSIZE_MAX: u64 = 9223372036854775807; pub const WORD_BIT: u32 = 32; pub const SIZE_T_MAX: i32 = -1; pub const UQUAD_MAX: i32 = -1; pub const QUAD_MAX: u64 = 9223372036854775807; pub const QUAD_MIN: i64 = -9223372036854775808; pub const ARG_MAX: u32 = 1048576; pub const CHILD_MAX: u32 = 266; pub const GID_MAX: u32 = 2147483647; pub const LINK_MAX: u32 = 32767; pub const MAX_CANON: u32 = 1024; pub const MAX_INPUT: u32 = 1024; pub const NAME_MAX: u32 = 255; pub const NGROUPS_MAX: u32 = 16; pub const UID_MAX: u32 = 2147483647; pub const OPEN_MAX: u32 = 10240; pub const PATH_MAX: u32 = 1024; pub const PIPE_BUF: u32 = 512; pub const BC_BASE_MAX: u32 = 99; pub const BC_DIM_MAX: u32 = 2048; pub const BC_SCALE_MAX: u32 = 99; pub const BC_STRING_MAX: u32 = 1000; pub const CHARCLASS_NAME_MAX: u32 = 14; pub const COLL_WEIGHTS_MAX: u32 = 2; pub const EQUIV_CLASS_MAX: u32 = 2; pub const EXPR_NEST_MAX: u32 = 32; pub const LINE_MAX: u32 = 2048; pub const RE_DUP_MAX: u32 = 255; pub const NZERO: u32 = 20; pub const _POSIX_ARG_MAX: u32 = 4096; pub const _POSIX_CHILD_MAX: u32 = 25; pub const _POSIX_LINK_MAX: u32 = 8; pub const _POSIX_MAX_CANON: u32 = 255; pub const _POSIX_MAX_INPUT: u32 = 255; pub const _POSIX_NAME_MAX: u32 = 14; pub const _POSIX_NGROUPS_MAX: u32 = 8; pub const _POSIX_OPEN_MAX: u32 = 20; pub const _POSIX_PATH_MAX: u32 = 256; pub const _POSIX_PIPE_BUF: u32 = 512; pub const _POSIX_SSIZE_MAX: u32 = 32767; pub const _POSIX_STREAM_MAX: u32 = 8; pub const _POSIX_TZNAME_MAX: u32 = 6; pub const _POSIX2_BC_BASE_MAX: u32 = 99; pub const _POSIX2_BC_DIM_MAX: u32 = 2048; pub const _POSIX2_BC_SCALE_MAX: u32 = 99; pub const _POSIX2_BC_STRING_MAX: u32 = 1000; pub const _POSIX2_EQUIV_CLASS_MAX: u32 = 2; pub const _POSIX2_EXPR_NEST_MAX: u32 = 32; pub const _POSIX2_LINE_MAX: u32 = 2048; pub const _POSIX2_RE_DUP_MAX: u32 = 255; pub const _POSIX_AIO_LISTIO_MAX: u32 = 2; pub const _POSIX_AIO_MAX: u32 = 1; pub const _POSIX_DELAYTIMER_MAX: u32 = 32; pub const _POSIX_MQ_OPEN_MAX: u32 = 8; pub const _POSIX_MQ_PRIO_MAX: u32 = 32; pub const _POSIX_RTSIG_MAX: u32 = 8; pub const _POSIX_SEM_NSEMS_MAX: u32 = 256; pub const _POSIX_SEM_VALUE_MAX: u32 = 32767; pub const _POSIX_SIGQUEUE_MAX: u32 = 32; pub const _POSIX_TIMER_MAX: u32 = 32; pub const _POSIX_CLOCKRES_MIN: u32 = 20000000; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS: u32 = 4; pub const _POSIX_THREAD_KEYS_MAX: u32 = 128; pub const _POSIX_THREAD_THREADS_MAX: u32 = 64; pub const PTHREAD_DESTRUCTOR_ITERATIONS: u32 = 4; pub const PTHREAD_KEYS_MAX: u32 = 512; pub const PTHREAD_STACK_MIN: u32 = 16384; pub const _POSIX_HOST_NAME_MAX: u32 = 255; pub const _POSIX_LOGIN_NAME_MAX: u32 = 9; pub const _POSIX_SS_REPL_MAX: u32 = 4; pub const _POSIX_SYMLINK_MAX: u32 = 255; pub const _POSIX_SYMLOOP_MAX: u32 = 8; pub const _POSIX_TRACE_EVENT_NAME_MAX: u32 = 30; pub const _POSIX_TRACE_NAME_MAX: u32 = 8; pub const _POSIX_TRACE_SYS_MAX: u32 = 8; pub const _POSIX_TRACE_USER_EVENT_MAX: u32 = 32; pub const _POSIX_TTY_NAME_MAX: u32 = 9; pub const _POSIX2_CHARCLASS_NAME_MAX: u32 = 14; pub const _POSIX2_COLL_WEIGHTS_MAX: u32 = 2; pub const _POSIX_RE_DUP_MAX: u32 = 255; pub const OFF_MIN: i64 = -9223372036854775808; pub const OFF_MAX: u64 = 9223372036854775807; pub const PASS_MAX: u32 = 128; pub const NL_ARGMAX: u32 = 9; pub const NL_LANGMAX: u32 = 14; pub const NL_MSGMAX: u32 = 32767; pub const NL_NMAX: u32 = 1; pub const NL_SETMAX: u32 = 255; pub const NL_TEXTMAX: u32 = 2048; pub const _XOPEN_IOV_MAX: u32 = 16; pub const IOV_MAX: u32 = 1024; pub const _XOPEN_NAME_MAX: u32 = 255; pub const _XOPEN_PATH_MAX: u32 = 1024; pub const MAXTYPE_INT: u32 = 8; pub type size_t = ::std::os::raw::c_ulong; pub type wchar_t = ::std::os::raw::c_int; pub type max_align_t = f64; pub type MediaInfo_int8u = ::std::os::raw::c_uchar; pub type MediaInfo_int64u = ::std::os::raw::c_ulonglong; pub const MediaInfo_stream_t_MediaInfo_Stream_General: MediaInfo_stream_t = 0; pub const MediaInfo_stream_t_MediaInfo_Stream_Video: MediaInfo_stream_t = 1; pub const MediaInfo_stream_t_MediaInfo_Stream_Audio: MediaInfo_stream_t = 2; pub const MediaInfo_stream_t_MediaInfo_Stream_Text: MediaInfo_stream_t = 3; pub const MediaInfo_stream_t_MediaInfo_Stream_Other: MediaInfo_stream_t = 4; pub const MediaInfo_stream_t_MediaInfo_Stream_Image: MediaInfo_stream_t = 5; pub const MediaInfo_stream_t_MediaInfo_Stream_Menu: MediaInfo_stream_t = 6; pub const MediaInfo_stream_t_MediaInfo_Stream_Max: MediaInfo_stream_t = 7; #[doc = " @brief Kinds of Stream"] pub type MediaInfo_stream_t = u32; #[doc = " @brief Kinds of Stream"] pub use self::MediaInfo_stream_t as MediaInfo_stream_C; pub const MediaInfo_info_t_MediaInfo_Info_Name: MediaInfo_info_t = 0; pub const MediaInfo_info_t_MediaInfo_Info_Text: MediaInfo_info_t = 1; pub const MediaInfo_info_t_MediaInfo_Info_Measure: MediaInfo_info_t = 2; pub const MediaInfo_info_t_MediaInfo_Info_Options: MediaInfo_info_t = 3; pub const MediaInfo_info_t_MediaInfo_Info_Name_Text: MediaInfo_info_t = 4; pub const MediaInfo_info_t_MediaInfo_Info_Measure_Text: MediaInfo_info_t = 5; pub const MediaInfo_info_t_MediaInfo_Info_Info: MediaInfo_info_t = 6; pub const MediaInfo_info_t_MediaInfo_Info_HowTo: MediaInfo_info_t = 7; pub const MediaInfo_info_t_MediaInfo_Info_Max: MediaInfo_info_t = 8; #[doc = " @brief Kinds of Info"] pub type MediaInfo_info_t = u32; #[doc = " @brief Kinds of Info"] pub use self::MediaInfo_info_t as MediaInfo_info_C; pub const MediaInfo_infooptions_t_MediaInfo_InfoOption_ShowInInform: MediaInfo_infooptions_t = 0; pub const MediaInfo_infooptions_t_MediaInfo_InfoOption_Reserved: MediaInfo_infooptions_t = 1; pub const MediaInfo_infooptions_t_MediaInfo_InfoOption_ShowInSupported: MediaInfo_infooptions_t = 2; pub const MediaInfo_infooptions_t_MediaInfo_InfoOption_TypeOfValue: MediaInfo_infooptions_t = 3; pub const MediaInfo_infooptions_t_MediaInfo_InfoOption_Max: MediaInfo_infooptions_t = 4; #[doc = " @brief Option if InfoKind = Info_Options"] pub type MediaInfo_infooptions_t = u32; #[doc = " @brief Option if InfoKind = Info_Options"] pub use self::MediaInfo_infooptions_t as MediaInfo_infooptions_C; pub const MediaInfo_fileoptions_t_MediaInfo_FileOption_Nothing: MediaInfo_fileoptions_t = 0; pub const MediaInfo_fileoptions_t_MediaInfo_FileOption_NoRecursive: MediaInfo_fileoptions_t = 1; pub const MediaInfo_fileoptions_t_MediaInfo_FileOption_CloseAll: MediaInfo_fileoptions_t = 2; pub const MediaInfo_fileoptions_t_MediaInfo_FileOption_Max: MediaInfo_fileoptions_t = 4; #[doc = " @brief File opening options"] pub type MediaInfo_fileoptions_t = u32; #[doc = " @brief File opening options"] pub use self::MediaInfo_fileoptions_t as MediaInfo_fileoptions_C; extern "C" { #[doc = " @brief A 'new' MediaInfo interface, return a Handle, don't forget to delete it after using it"] pub fn MediaInfoA_New() -> *mut ::std::os::raw::c_void; } extern "C" { #[doc = " @brief A 'new' MediaInfo interface (with a quick init of useful options : \"**VERSION**;**APP_NAME**;**APP_VERSION**\", but without debug information, use it only if you know what you do), return a Handle, don't forget to delete it after using it"] pub fn MediaInfoA_New_Quick( File: *const ::std::os::raw::c_char, Options: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_void; } extern "C" { #[doc = " @brief Delete a MediaInfo interface"] pub fn MediaInfoA_Delete(Handle: *mut ::std::os::raw::c_void); } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Open (with a filename)"] pub fn MediaInfoA_Open( Handle: *mut ::std::os::raw::c_void, File: *const ::std::os::raw::c_char, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Open (with a buffer)"] pub fn MediaInfoA_Open_Buffer( Handle: *mut ::std::os::raw::c_void, Begin: *const ::std::os::raw::c_uchar, Begin_Size: size_t, End: *const ::std::os::raw::c_uchar, End_Size: size_t, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Open (with a buffer, Init)"] pub fn MediaInfoA_Open_Buffer_Init( Handle: *mut ::std::os::raw::c_void, File_Size: MediaInfo_int64u, File_Offset: MediaInfo_int64u, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Open (with a buffer, Continue)"] pub fn MediaInfoA_Open_Buffer_Continue( Handle: *mut ::std::os::raw::c_void, Buffer: *mut MediaInfo_int8u, Buffer_Size: size_t, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Open (with a buffer, Continue_GoTo_Get)"] pub fn MediaInfoA_Open_Buffer_Continue_GoTo_Get( Handle: *mut ::std::os::raw::c_void, ) -> MediaInfo_int64u; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Open (with a buffer, Finalize)"] pub fn MediaInfoA_Open_Buffer_Finalize(Handle: *mut ::std::os::raw::c_void) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Open (NextPacket)"] pub fn MediaInfoA_Open_NextPacket(Handle: *mut ::std::os::raw::c_void) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Save"] pub fn MediaInfoA_Save(Handle: *mut ::std::os::raw::c_void) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Close"] pub fn MediaInfoA_Close(Handle: *mut ::std::os::raw::c_void); } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Inform"] pub fn MediaInfoA_Inform( Handle: *mut ::std::os::raw::c_void, Reserved: size_t, ) -> *const ::std::os::raw::c_char; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Get"] pub fn MediaInfoA_GetI( Handle: *mut ::std::os::raw::c_void, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, Parameter: size_t, InfoKind: MediaInfo_info_C, ) -> *const ::std::os::raw::c_char; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Get"] pub fn MediaInfoA_Get( Handle: *mut ::std::os::raw::c_void, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, Parameter: *const ::std::os::raw::c_char, InfoKind: MediaInfo_info_C, SearchKind: MediaInfo_info_C, ) -> *const ::std::os::raw::c_char; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Set"] pub fn MediaInfoA_SetI( Handle: *mut ::std::os::raw::c_void, ToSet: *const ::std::os::raw::c_char, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, Parameter: size_t, OldParameter: *const ::std::os::raw::c_char, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Set"] pub fn MediaInfoA_Set( Handle: *mut ::std::os::raw::c_void, ToSet: *const ::std::os::raw::c_char, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, Parameter: *const ::std::os::raw::c_char, OldParameter: *const ::std::os::raw::c_char, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Output_Buffer_Get"] pub fn MediaInfoA_Output_Buffer_Get( Handle: *mut ::std::os::raw::c_void, Value: *const ::std::os::raw::c_char, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Output_Buffer_Get"] pub fn MediaInfoA_Output_Buffer_GetI( Handle: *mut ::std::os::raw::c_void, Pos: size_t, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Option"] pub fn MediaInfoA_Option( Handle: *mut ::std::os::raw::c_void, Option: *const ::std::os::raw::c_char, Value: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::State_Get"] pub fn MediaInfoA_State_Get(Handle: *mut ::std::os::raw::c_void) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoLib::MediaInfo::Count_Get"] pub fn MediaInfoA_Count_Get( Handle: *mut ::std::os::raw::c_void, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, ) -> size_t; } extern "C" { pub fn MediaInfo_Info_Version() -> *const ::std::os::raw::c_char; } extern "C" { #[doc = " @brief A 'new' MediaInfoList interface, return a Handle, don't forget to delete it after using it"] pub fn MediaInfoListA_New() -> *mut ::std::os::raw::c_void; } extern "C" { #[doc = " @brief A 'new' MediaInfoList interface (with a quick init of useful options : \"**VERSION**;**APP_NAME**;**APP_VERSION**\", but without debug information, use it only if you know what you do), return a Handle, don't forget to delete it after using it"] pub fn MediaInfoListA_New_Quick( Files: *const ::std::os::raw::c_char, Config: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_void; } extern "C" { #[doc = " @brief Delete a MediaInfoList interface"] pub fn MediaInfoListA_Delete(Handle: *mut ::std::os::raw::c_void); } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Open (with a filename)"] pub fn MediaInfoListA_Open( Handle: *mut ::std::os::raw::c_void, Files: *const ::std::os::raw::c_char, Options: MediaInfo_fileoptions_C, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Open (with a buffer)"] pub fn MediaInfoListA_Open_Buffer( Handle: *mut ::std::os::raw::c_void, Begin: *const ::std::os::raw::c_uchar, Begin_Size: size_t, End: *const ::std::os::raw::c_uchar, End_Size: size_t, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Save"] pub fn MediaInfoListA_Save(Handle: *mut ::std::os::raw::c_void, FilePos: size_t) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Close"] pub fn MediaInfoListA_Close(Handle: *mut ::std::os::raw::c_void, FilePos: size_t); } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Inform"] pub fn MediaInfoListA_Inform( Handle: *mut ::std::os::raw::c_void, FilePos: size_t, Reserved: size_t, ) -> *const ::std::os::raw::c_char; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Get"] pub fn MediaInfoListA_GetI( Handle: *mut ::std::os::raw::c_void, FilePos: size_t, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, Parameter: size_t, InfoKind: MediaInfo_info_C, ) -> *const ::std::os::raw::c_char; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Get"] pub fn MediaInfoListA_Get( Handle: *mut ::std::os::raw::c_void, FilePos: size_t, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, Parameter: *const ::std::os::raw::c_char, InfoKind: MediaInfo_info_C, SearchKind: MediaInfo_info_C, ) -> *const ::std::os::raw::c_char; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Set"] pub fn MediaInfoListA_SetI( Handle: *mut ::std::os::raw::c_void, ToSet: *const ::std::os::raw::c_char, FilePos: size_t, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, Parameter: size_t, OldParameter: *const ::std::os::raw::c_char, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Set"] pub fn MediaInfoListA_Set( Handles: *mut ::std::os::raw::c_void, ToSet: *const ::std::os::raw::c_char, FilePos: size_t, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, Parameter: *const ::std::os::raw::c_char, OldParameter: *const ::std::os::raw::c_char, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Option"] pub fn MediaInfoListA_Option( Handle: *mut ::std::os::raw::c_void, Option: *const ::std::os::raw::c_char, Value: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::State_Get"] pub fn MediaInfoListA_State_Get(Handle: *mut ::std::os::raw::c_void) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Count_Get"] pub fn MediaInfoListA_Count_Get( Handle: *mut ::std::os::raw::c_void, FilePos: size_t, StreamKind: MediaInfo_stream_C, StreamNumber: size_t, ) -> size_t; } extern "C" { #[doc = " @brief Wrapper for MediaInfoListLib::MediaInfoList::Count_Get"] pub fn MediaInfoListA_Count_Get_Files(Handle: *mut ::std::os::raw::c_void) -> size_t; }