;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; RDOS operating system
; Copyright (C) 1988-2000, Leif Ekblad
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version. The only exception to this rule
; is for commercial usage in embedded systems. For information on
; usage in commercial embedded systems, contact embedded@rdos.net
;
; 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 General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
;
; The author of this program may be contacted at leif@rdos.net
;
; MODULE.DEF
; Module definitions
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

module_struc    STRUC

; IN  BX        Module sel
; IN  ES        Module sel
mod_free_dll_proc       DD ?,?

; IN  BX        Module sel
; OUT BX        Duplicated file handle
mod_dupl_file_handle_proc       DD ?,?

; IN  BX        Module sel
; IN  ES:EDI	Proc name
; OUT DS:ESI	Proc address
mod_get_proc_proc       DD ?,?

; IN  BX        Module sel
; IN  EAX		Resource handle
; IN  EDX		Resource type
; OUT DS:ESI	Resource address
mod_get_resource_proc   DD ?,?

; IN  BX        Module sel
; IN  ECX		Max name size
; IN  ES:EDI	Name buffer
; OUT EAX		Bytes copied
mod_get_name_proc       DD ?,?

; IN  ES        Wait object
; IN  BX        Module sel
mod_start_wait_for_debug_event_proc   DD ?,?

; IN  ES        Wait object
; IN  BX        Module sel
mod_stop_wait_for_debug_event_proc   DD ?,?

; IN  ES        Wait object
; IN  BX        Module sel
mod_is_debug_event_idle_proc   DD ?,?

; IN  BX        Module sel
; OUT AX        Thread ID
; OUT BL        Event type  
mod_get_debug_event_proc   DD ?,?

; IN  BX        Module sel
; IN  ES:()EDI	Event buffer
mod_get_debug_event_data_proc   DD ?,?

; IN  BX        Module sel
mod_clear_debug_event_proc   DD ?,?

; IN  BX        Module sel
; IN  AX        Thread ID
mod_continue_debug_event_proc   DD ?,?

mod_handle              DW ?
mod_section			    section_typ <>
mod_next                DW ?
mod_list                DW ?
mod_key                 DB ?

module_struc    ENDS

