Added missing files with symbols.

This commit is contained in:
Jaroslav Kysela 2001-10-24 14:15:54 +00:00
parent 27472b56a6
commit 7c40ae7fde
5 changed files with 212 additions and 0 deletions

34
src/hwdep/hwdep_symbols.c Normal file
View file

@ -0,0 +1,34 @@
/*
* HwDep Symbols
* Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef PIC
extern const char *_snd_module_hwdep_hw;
static const char **snd_hwdep_open_objects[] = {
&_snd_module_hwdep_hw
};
void *snd_hwdep_open_symbols(void)
{
return (void *)snd_hwdep_open_objects[0];
}
#endif

64
src/pcm/pcm_symbols.c Normal file
View file

@ -0,0 +1,64 @@
/*
* PCM Symbols
* Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef PIC
extern const char *_snd_module_pcm_adpcm;
extern const char *_snd_module_pcm_alaw;
extern const char *_snd_module_pcm_copy;
extern const char *_snd_module_pcm_file;
extern const char *_snd_module_pcm_hooks;
extern const char *_snd_module_pcm_hw;
extern const char *_snd_module_pcm_linear;
extern const char *_snd_module_pcm_meter;
extern const char *_snd_module_pcm_mulaw;
extern const char *_snd_module_pcm_multi;
extern const char *_snd_module_pcm_null;
extern const char *_snd_module_pcm_plug;
extern const char *_snd_module_pcm_rate;
extern const char *_snd_module_pcm_route;
extern const char *_snd_module_pcm_share;
extern const char *_snd_module_pcm_shm;
static const char **snd_pcm_open_objects[] = {
&_snd_module_pcm_adpcm,
&_snd_module_pcm_alaw,
&_snd_module_pcm_copy,
&_snd_module_pcm_file,
&_snd_module_pcm_hooks,
&_snd_module_pcm_hw,
&_snd_module_pcm_linear,
&_snd_module_pcm_meter,
&_snd_module_pcm_mulaw,
&_snd_module_pcm_multi,
&_snd_module_pcm_null,
&_snd_module_pcm_plug,
&_snd_module_pcm_rate,
&_snd_module_pcm_route,
&_snd_module_pcm_share,
&_snd_module_pcm_shm
};
void *snd_pcm_open_symbols(void)
{
return (void *)snd_pcm_open_objects[0];
}
#endif /* !PIC */

View file

@ -0,0 +1,34 @@
/*
* RawMidi Symbols
* Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef PIC
extern const char *_snd_module_rawmidi_hw;
static const char **snd_rawmidi_open_objects[] = {
&_snd_module_rawmidi_hw
};
void *snd_rawmidi_open_symbols(void)
{
return (void *)snd_rawmidi_open_objects[0];
}
#endif /* !PIC */

34
src/seq/seq_symbols.c Normal file
View file

@ -0,0 +1,34 @@
/*
* Sequencer Symbols
* Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef PIC
extern const char *_snd_module_seq_hw;
static const char **snd_seq_open_objects[] = {
&_snd_module_seq_hw
};
void *snd_seq_open_symbols(void)
{
return (void *)snd_seq_open_objects[0];
}
#endif /* !PIC */

46
src/timer/timer_symbols.c Normal file
View file

@ -0,0 +1,46 @@
/*
* Timer Symbols
* Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef PIC
extern const char *_snd_module_timer_hw;
static const char **snd_timer_open_objects[] = {
&_snd_module_timer_hw
};
void *snd_timer_open_symbols(void)
{
return (void *)snd_timer_open_objects[0];
}
extern const char *_snd_module_timer_query_hw;
static const char **snd_timer_query_open_objects[] = {
&_snd_module_timer_query_hw
};
void *snd_timer_query_open_symbols(void)
{
return (void *)snd_timer_query_open_objects[0];
}
#endif /* !PIC */