[comp.sys.amiga.tech] XPR External Protocols Standard

shf@well.UUCP (Stuart H. Ferguson) (07/09/89)

+-- papa@pollux.usc.edu (Marco Papa) writes:
|         XPR: External File Transfer Protocols as Amiga Libraries.
|         =========================================================
|  [ ... ] This structure contains a number of things, the
| more obvious one being a pointer to a null terminated string indicating which
| files are to be sent or received and addresses of "call-back" functions inside
| the code of the communications program to access the serial device [ ... ]

Aha!  More call-back functions.  There are several places where these are
going to become important in the future, and every package so far has its
own idea about how they should be done.  There may already be a BIX discussion
about picking a standard way (if not, there should be!).  XPR sounds like
a great thing, but make sure to check out the evolving position on call-backs.
-- 
		Stuart Ferguson		(shf@well.UUCP)
		Action by HAVOC

papa@pollux.usc.edu (Marco Papa) (07/10/89)

In article <12626@well.UUCP> shf@well.UUCP (Stuart H. Ferguson) writes:
|+-- papa@pollux.usc.edu (Marco Papa) writes:
||         XPR: External File Transfer Protocols as Amiga Libraries.
||         =========================================================
||  [ ... ] This structure contains a number of things, the
||more obvious one being a pointer to a null terminated string indicating which
||files are to be sent or received and addresses of "call-back" functions inside
||the code of the communications program to access the serial device [ ... ]
|
|Aha!  More call-back functions.  There are several places where these are
|going to become important in the future, and every package so far has its
|own idea about how they should be done.  There may already be a BIX discussion
|about picking a standard way (if not, there should be!).  XPR sounds like
|a great thing, but make sure to check out the evolving position on call-backs.

At this point is clearly too late in the game. There are people already writing
XPR-based external protocols. 1.4 Intuition supports IHooks, another version
of call--back technique, though I haven't seen it proposed as the "standard"
way to do ANY kind of callback.  Willy Langeveld, who originally develped XPR,
is on BIX, so I am sure he has seen the discussions.  A discussion on callbacks
and standardazing them IS a good idea.

-- Marco Papa 'Doc'
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
uucp:...!pollux!papa       BIX:papa       ARPAnet:pollux!papa@oberon.usc.edu
"There's Alpha, Beta, Gamma, Diga and Caligari!" -- Rick Unland
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=