vfs: check userland buffers before reading them.
[haiku.git] / src / kits / media / legacy / !missing_symbols.cpp
blobb3c7ff93e6941669a8c3840b2b1855e9296cc92b
1 /***********************************************************************
2 * AUTHOR: Marcus Overhagen
3 * FILE: !missing_symbols.cpp
4 * DESCR: Some undocumented symboles that libmedia.so exports.
5 * All return codes are guessed!!! (void most times means it's still wrong)
6 ***********************************************************************/
7 #include <MediaTrack.h>
8 #include "debug.h"
10 #if 0
11 // SoundPlay 4.8 is evil, uses undocumented media kit API
12 extern "C" void *__get_decoder_manager__Fv(void);
13 void *__get_decoder_manager__Fv(void) { return 0; }
14 extern "C" void ScanDirs__Q28BPrivate13_AddonManager(void *);
15 void ScanDirs__Q28BPrivate13_AddonManager(void *) { }
16 #endif
18 /* According to the normal headers, these symbols should neither be
19 * included in libmedia.so, nor used by anything.
20 * But BeOS R5 has them, and they are required to load the BeOS R5
21 * emu10k.media_addon, that might have been compiled with strange headers.
22 * They should be removed once the emu10k.media_addon is no longer used.
24 extern "C" void Connect__15BBufferProducerlRC12media_sourceRC17media_destinationRC12media_formatPc(void *);
25 extern "C" status_t Connected__15BBufferConsumerRC12media_sourceRC17media_destinationRC12media_formatP11media_input(void *);
27 void Connect__15BBufferProducerlRC12media_sourceRC17media_destinationRC12media_formatPc(void *)
31 status_t Connected__15BBufferConsumerRC12media_sourceRC17media_destinationRC12media_formatP11media_input(void *)
33 return B_OK;
38 used by libgame.so
39 BPrivate::BTrackReader::CountFrames(void)
40 BPrivate::BTrackReader::Format(void) const
41 BPrivate::BTrackReader::FrameSize(void)
42 BPrivate::BTrackReader::ReadFrames(void *, long)
43 BPrivate::BTrackReader::SeekToFrame(long long *)
44 BPrivate::BTrackReader::Track(void)
45 BPrivate::BTrackReader::~BTrackReader(void)
46 BPrivate::BTrackReader::BTrackReader(BMediaTrack *, media_raw_audio_format const &)
47 BPrivate::BTrackReader::BTrackReader(BFile *, media_raw_audio_format const &)
48 BPrivate::dec_load_hook(void *, long)
49 BPrivate::extractor_load_hook(void *, long)
50 rtm_create_pool_etc
51 rtm_get_pool
53 used by libmidi.so
54 BSubscriber::IsInStream(void) const
55 BSubscriber::BSubscriber(char const *)
56 00036a94 B BSubscriber type_info node
57 BDACStream::SamplingRate(float *) const
58 BDACStream::SetSamplingRate(float)
59 BDACStream::BDACStream(void)
60 00036a88 B BDACStream type_info node
62 used by BeIDE
63 BSubscriber::EnterStream(_sub_info *, bool, void *, bool (*)(void *, char *, unsigned long, void *), long (*)(void *, long), bool)
64 BSubscriber::ExitStream(bool)
65 BSubscriber::ProcessLoop(void)
66 BSubscriber::Subscribe(BAbstractBufferStream *)
67 BSubscriber::Unsubscribe(void)
68 BSubscriber::~BSubscriber(void)
69 BSubscriber::_ReservedSubscriber1(void)
70 BSubscriber::_ReservedSubscriber2(void)
71 BSubscriber::_ReservedSubscriber3(void)
72 BSubscriber::BSubscriber(char const *)
73 001132c0 W BSubscriber type_info function
74 00180484 B BSubscriber type_info node
75 BDACStream::SetSamplingRate(float)
76 BDACStream::~BDACStream(void)
77 BDACStream::BDACStream(void)
78 00180478 B BDACStream type_info node
80 used by 3dmiX
81 BDACStream::SetSamplingRate(float)
82 BDACStream::BDACStream(void)
83 000706c4 B BDACStream type_info node
84 BSubscriber::BSubscriber(char const *)
85 000706d0 B BSubscriber type_info node
88 struct _sub_info
90 uint32 dummy;
93 namespace BPrivate
96 int32 media_debug; /* is this a function, or a bool, or an int32 ??? */
98 //BPrivate::BTrackReader move to TrackReader.h & TrackReader.cpp
102 Already in MediaFormats.cpp
104 void dec_load_hook(void *, long);
105 void extractor_load_hook(void *, long);
107 void dec_load_hook(void *, long)
111 void extractor_load_hook(void *, long)
118 class _BMediaRosterP
120 void AddCleanupFunction(void (*)(void *), void *);
121 void RemoveCleanupFunction(void (*)(void *), void *);
124 void _BMediaRosterP::AddCleanupFunction(void (*)(void *), void *)
126 UNIMPLEMENTED();
129 void _BMediaRosterP::RemoveCleanupFunction(void (*)(void *), void *)
131 UNIMPLEMENTED();
134 extern "C" {
136 int MIDIisInitializingWorkaroundForDoom;
139 these two moved to RealtimeAlloc.cpp
141 void rtm_create_pool_etc(void);
142 int32 rtm_get_pool(int32,int32 **P);
144 void rtm_create_pool_etc(void)
146 UNIMPLEMENTED();
149 int32 rtm_get_pool(int32,int32 **p)
151 UNIMPLEMENTED();
152 *p = (int32*)0x1199;
153 return B_OK;