home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser 2002 January / STC_CD_01_2002.iso / APP / ANIPL218 / PROG / SLB / OPENDIVX / LIBHEAD.S < prev    next >
Text File  |  2001-06-04  |  690b  |  28 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_decore
  10.  
  11. startup:
  12.     
  13.     .long    0x70004afc        // Magical value (5.20: $42674e41)
  14.     .long    name        // Pointer to name of library
  15.     .long    1        // Version number
  16.     .long    0        // Flags, at present 0L
  17.     .long    _slb_init        // Is called after loading
  18.     .long    _slb_exit        // Is called before removing
  19.     .long    _slb_open        // Is called at opening
  20.     .long    _slb_close        // Is called at closing
  21.     .long    0        // Pointer to procedure name (optional)
  22.     .long    0,0,0,0,0,0,0,0    // Unused, always NULL
  23.     .long    1        // Number of functions (5.20: .W)
  24.     .long    _slb_decore        // Function #0
  25.  
  26. name:    .asciz    "opendivx.slb"
  27.  
  28.