From 7c40ae7fdef200eb5c7c488b47d0504a97018f0c Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 24 Oct 2001 14:15:54 +0000 Subject: [PATCH] Added missing files with symbols. --- src/hwdep/hwdep_symbols.c | 34 +++++++++++++++++++ src/pcm/pcm_symbols.c | 64 +++++++++++++++++++++++++++++++++++ src/rawmidi/rawmidi_symbols.c | 34 +++++++++++++++++++ src/seq/seq_symbols.c | 34 +++++++++++++++++++ src/timer/timer_symbols.c | 46 +++++++++++++++++++++++++ 5 files changed, 212 insertions(+) create mode 100644 src/hwdep/hwdep_symbols.c create mode 100644 src/pcm/pcm_symbols.c create mode 100644 src/rawmidi/rawmidi_symbols.c create mode 100644 src/seq/seq_symbols.c create mode 100644 src/timer/timer_symbols.c diff --git a/src/hwdep/hwdep_symbols.c b/src/hwdep/hwdep_symbols.c new file mode 100644 index 00000000..af8afbcd --- /dev/null +++ b/src/hwdep/hwdep_symbols.c @@ -0,0 +1,34 @@ +/* + * HwDep Symbols + * Copyright (c) 2001 by Jaroslav Kysela + * + * 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 diff --git a/src/pcm/pcm_symbols.c b/src/pcm/pcm_symbols.c new file mode 100644 index 00000000..6f9f3d9c --- /dev/null +++ b/src/pcm/pcm_symbols.c @@ -0,0 +1,64 @@ +/* + * PCM Symbols + * Copyright (c) 2001 by Jaroslav Kysela + * + * 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 */ diff --git a/src/rawmidi/rawmidi_symbols.c b/src/rawmidi/rawmidi_symbols.c new file mode 100644 index 00000000..aca9036d --- /dev/null +++ b/src/rawmidi/rawmidi_symbols.c @@ -0,0 +1,34 @@ +/* + * RawMidi Symbols + * Copyright (c) 2001 by Jaroslav Kysela + * + * 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 */ diff --git a/src/seq/seq_symbols.c b/src/seq/seq_symbols.c new file mode 100644 index 00000000..9d68abcd --- /dev/null +++ b/src/seq/seq_symbols.c @@ -0,0 +1,34 @@ +/* + * Sequencer Symbols + * Copyright (c) 2001 by Jaroslav Kysela + * + * 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 */ diff --git a/src/timer/timer_symbols.c b/src/timer/timer_symbols.c new file mode 100644 index 00000000..8694e144 --- /dev/null +++ b/src/timer/timer_symbols.c @@ -0,0 +1,46 @@ +/* + * Timer Symbols + * Copyright (c) 2001 by Jaroslav Kysela + * + * 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 */ -- 2.47.1