home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 13 / MA_Cover_13.bin / source / c / ahisrc / device / misc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-09-22  |  1.5 KB  |  62 lines

  1. /* $Id: misc.h,v 4.9 1999/09/22 20:04:02 lcs Exp $ */
  2.  
  3. /*
  4.      AHI - Hardware independent audio subsystem
  5.      Copyright (C) 1996-1999 Martin Blom <martin@blom.org>
  6.      
  7.      This library is free software; you can redistribute it and/or
  8.      modify it under the terms of the GNU Library General Public
  9.      License as published by the Free Software Foundation; either
  10.      version 2 of the License, or (at your option) any later version.
  11.      
  12.      This library is distributed in the hope that it will be useful,
  13.      but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15.      Library General Public License for more details.
  16.      
  17.      You should have received a copy of the GNU Library General Public
  18.      License along with this library; if not, write to the
  19.      Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
  20.      MA 02139, USA.
  21. */
  22.  
  23. #ifndef _MISC_H_
  24. #define _MISC_H_
  25.  
  26. #include <config.h>
  27. #include <CompilerSpecific.h>
  28.  
  29. #include <exec/lists.h>
  30. #include <exec/nodes.h>
  31.  
  32. #include "ahi_def.h"
  33.  
  34.  
  35. struct Node *
  36. FindNode ( struct List *list,
  37.            struct Node *node );
  38.  
  39. int
  40. Fixed2Shift( Fixed f );
  41.  
  42. void
  43. Req( const char* text, ... );
  44.  
  45. APTR
  46. AHIAllocVec( ULONG byteSize, ULONG requirements );
  47.  
  48. void
  49. AHIFreeVec( APTR memoryBlock );
  50.  
  51. void*
  52. AHILoadObject( const char* objname );
  53.  
  54. void
  55. AHIUnloadObject( void* obj );
  56.  
  57. BOOL
  58. AHIGetELFSymbol( const char* name,
  59.                  void** ptr );
  60.  
  61. #endif /* _MISC_H_ */
  62.