version	U12.1.00
uid	messagehandler.u1-1786033035-0
record	mail__MessageHandler__state,3
	0,__s
	1,__m
	2,reason
record	mail__MessageHandler__methods,7
	0,can_handle
	1,convert_to_object
	2,convert_from_object
	3,error
	4,get_reason
	5,mail__TypeHandler
	6,util__Error
impl	local
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/typehandler.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/error.u
global	10
	0,000005,mail__MessageHandler_can_handle,2
	1,000005,mail__MessageHandler_convert_to_object,3
	2,000005,mail__MessageHandler_convert_from_object,3
	3,000011,mail__MessageHandler__state,3
	4,000011,mail__MessageHandler__methods,7
	5,000001,mail__MessageHandler__oprec,0
	6,000001,mail__TypeHandler__oprec,0
	7,000001,util__Error__oprec,0
	8,000005,mail__MessageHandler,1
	9,000005,mail__MessageHandlerinitialize,0

proc mail__MessageHandler_can_handle
	local	0,001000,self
	local	1,001000,ct
	local	2,000000,map
	con	0,010000,7,155,145,163,163,141,147,145
	con	1,010000,6,162,146,143,070,062,062
	declend
	filen	messagehandler.icn
	line	8
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	var	2
	pnull
	var	1
	line	9
	colm	23
	synt	any
	field	get_type
	line	9
	colm	32
	synt	any
	invoke	0
	line	9
	colm	20
	synt	any
	invoke	1
	str	0
	line	9
	colm	36
	synt	any
	lexeq
	pop
	pnull
	var	2
	pnull
	var	1
	line	9
	colm	61
	synt	any
	field	get_subtype
	line	9
	colm	73
	synt	any
	invoke	0
	line	9
	colm	58
	synt	any
	invoke	1
	str	1
	line	9
	colm	77
	synt	any
	lexeq
	line	9
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	10
	colm	1
	synt	any
	pfail
	end
proc mail__MessageHandler_convert_to_object
	local	0,001000,self
	local	1,001000,m
	local	2,001000,data
	local	3,000020,res
	local	4,000000,mail__Message
	declend
	line	12
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	var	4
	line	14
	colm	27
	synt	any
	invoke	0
	line	14
	colm	11
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	mark	L3
	pnull
	var	3
	line	15
	colm	10
	synt	any
	field	parse
	var	2
	line	15
	colm	16
	synt	any
	invoke	1
	line	15
	colm	23
	synt	any
	esusp
	goto	L4
lab L3
	mark	L5
	pnull
	var	0
	line	15
	colm	36
	synt	any
	field	error
	var	3
	line	15
	colm	42
	synt	any
	invoke	1
	line	15
	colm	25
	synt	any
	pret
lab L5
	synt	any
	pfail
lab L4
	unmark
lab L2
	mark	L6
	mark	L7
	var	3
	line	16
	colm	7
	synt	any
	pret
lab L7
	synt	any
	pfail
	unmark
lab L6
	pnull
	line	17
	colm	1
	synt	any
	pfail
	end
proc mail__MessageHandler_convert_from_object
	local	0,001000,self
	local	1,001000,m
	local	2,001000,obj
	declend
	line	19
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	var	2
	line	20
	colm	17
	synt	any
	field	to_rfc822
	line	20
	colm	27
	synt	any
	invoke	0
	line	20
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	21
	colm	1
	synt	any
	pfail
	end
proc mail__MessageHandler
	local	0,001000,reason
	local	1,000020,self
	local	2,000020,clone
	local	3,000000,mail__MessageHandler__oprec
	local	4,000000,mail__MessageHandlerinitialize
	local	5,000000,mail__TypeHandler__oprec
	local	6,000000,mail__TypeHandlerinitialize
	local	7,000000,util__Error__oprec
	local	8,000000,util__Errorinitialize
	local	9,000000,mail__MessageHandler__state
	declend
	filen	__faux.icn
	line	5
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	mark	L4
	line	8
	colm	3
	synt	if
	mark0
	pnull
	var	3
	line	8
	colm	6
	synt	any
	null
	unmark
	var	4
	line	8
	colm	70
	synt	any
	invoke	0
	line	8
	colm	3
	synt	endif
	unmark
lab L4
	mark	L5
	line	9
	colm	3
	synt	if
	mark0
	pnull
	var	5
	line	9
	colm	6
	synt	any
	null
	unmark
	var	6
	line	9
	colm	64
	synt	any
	invoke	0
	line	9
	colm	3
	synt	endif
	unmark
lab L5
	mark	L6
	pnull
	pnull
	var	3
	line	10
	colm	30
	synt	any
	field	mail__TypeHandler
	var	5
	line	10
	colm	49
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	line	11
	colm	3
	synt	if
	mark0
	pnull
	var	7
	line	11
	colm	6
	synt	any
	null
	unmark
	var	8
	line	11
	colm	52
	synt	any
	invoke	0
	line	11
	colm	3
	synt	endif
	unmark
lab L7
	pnull
	pnull
	var	3
	line	12
	colm	30
	synt	any
	field	util__Error
	var	7
	line	12
	colm	43
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L8
	pnull
	var	1
	var	9
	line	14
	colm	39
	synt	any
	keywd	null
	var	3
	var	0
	line	14
	colm	38
	synt	any
	invoke	3
	line	14
	colm	8
	synt	any
	asgn
	unmark
lab L8
	mark	L9
	pnull
	pnull
	var	1
	line	15
	colm	7
	synt	any
	field	__s
	var	1
	line	15
	colm	12
	synt	any
	asgn
	unmark
lab L9
	mark	L10
	mark	L11
	var	1
	line	16
	colm	3
	synt	any
	pret
lab L11
	synt	any
	pfail
	unmark
lab L10
	pnull
	line	17
	colm	1
	synt	any
	pfail
	end
proc mail__MessageHandlerinitialize
	local	0,000000,mail__MessageHandler__oprec
	local	1,000000,mail__MessageHandler__methods
	local	2,000000,mail__MessageHandler_can_handle
	local	3,000000,mail__MessageHandler_convert_to_object
	local	4,000000,mail__MessageHandler_convert_from_object
	local	5,000000,util__Error_error
	local	6,000000,util__Error_get_reason
	declend
	line	19
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	var	1
	var	2
	var	3
	var	4
	var	5
	var	6
	line	20
	colm	71
	synt	any
	invoke	5
	line	20
	colm	39
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	line	21
	colm	1
	synt	any
	pfail
	end
