home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser 2002 January / STC_CD_01_2002.iso / APP / ANIPL218 / PROG / SLB / LAME_ENC / LIBHEAD.S
Text File  |  2001-05-23  |  1KB  |  38 lines

  1. // Header for a "shared library"
  2.  
  3.     .text
  4.     
  5.     .globl    _slb_init
  6.     .globl    _slb_open
  7.     .globl    _slb_close
  8.     .globl    _slb_close
  9.     .globl    _slb_beInitStream
  10.     .globl    _slb_beEncodeChunk
  11.     .globl    _slb_beDeinitStream
  12.     .globl    _slb_beCloseStream
  13.     .globl    _slb_beVersion
  14.     .globl    _slb_beWriteVBRHeader 
  15.  
  16. startup:
  17.     
  18.     .long    0x70004afc        // Magical value (5.20: $42674e41)
  19.     .long    name        // Pointer to name of library
  20.     .long    1        // Version number
  21.     .long    0        // Flags, at present 0L
  22.     .long    _slb_init        // Is called after loading
  23.     .long    _slb_exit        // Is called before removing
  24.     .long    _slb_open        // Is called at opening
  25.     .long    _slb_close        // Is called at closing
  26.     .long    0        // Pointer to procedure name (optional)
  27.     .long    0,0,0,0,0,0,0,0    // Unused, always NULL
  28.     .long    6        // Number of functions (5.20: .W)
  29.     .long    _slb_beInitStream    // Function #0
  30.     .long    _slb_beEncodeChunk    // Function #1
  31.     .long    _slb_beDeinitStream    // Function #2
  32.     .long    _slb_beCloseStream    // Function #3
  33.     .long    _slb_beVersion    // Function #4
  34.     .long    _slb_beWriteVBRHeader    // Function #5
  35.  
  36. name:    .asciz    "lame_enc.slb"
  37.  
  38.