COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

	Copyright (c) Geoworks 1995 -- All Rights Reserved

PROJECT:	Socket
MODULE:		DHCP
FILE:		dhcp.def

AUTHOR:		Eric Weber, Jun 26, 1995

MACROS:
	Name			Description
	----			-----------

REVISION HISTORY:
	Name	Date		Description
	----	----		-----------
	EW	6/26/95   	Initial revision


DESCRIPTION:
	
		
	$Id: dhcp.def,v 1.1 97/04/04 14:26:54 newdeal Exp $

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@

SetDef	__DHCP

StartLibrary	dhcp

DHCPError	etype	word

DE_NORMAL		enum	DHCPError
; everything is fine

DE_BUSY			enum	DHCPError
; another thread is using DHCP right now

DE_TIMEOUT		enum	DHCPError
; no nameserver value was offered 

DE_INTERRUPT		enum	DHCPError
; the operation was interrupted

;
; DHCPConfigure	- fetch access point parameters
;
; PASS:		bx	- access point ID
;		dxax	- our IP address in network order
;
; RETURN:	ax	- DHCPError
;		carry set on error (ax != 0)
;
; DESTROYED:	nothing
;
global	DHCPConfigure:far

;
; DHCPPostInterrupt - interrupt a DHCP query
;
; PASS:		nothing
; RETURN:	carry set if DHCP not in use
;
;global	DHCPInterrupt:far		; not implemented yet

EndLibrary	dhcp




