| > | ProcID | IMP_ID | The calling task's IMP process ID, as returned by its initial call to ImpRegister. |
|---|---|---|---|
| > | MsgInfo | IMP_MsgInfo * | The structure describing the message requesting the connection, as returned by ImpRead() or ImpReadPtr(). |
| > | ConnectInfo | IMP_ConnectInfo * | Used to pass the messge sizes that this task anticipates needing. |
| > | Accept | int | Set true (non-zero) if the connection is to be accepted, false (zero) if it is to be rejected. |
| < | Connection | int * | If a connection is made as a result of this call, this receives the connection number. |
| ! | Status | IMP_Status * | Inherited status value. If a
non-zero
value is passed, this task returns immediately. Otherwise
if an error occurs Status will be set to an IMP__xx
error code.
|
void ImpAccept (
IMP_ID ProcID,
IMP_MsgInfo *MsgInfo,
IMP_ConnectInfo *ConnectInfo,
int Accept,
int *Connection,
IMP_Status *Status)
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aaoepp.aao.gov.au