Sushant Nirwan wrote:
>       I am testing the functionality of libcontract.so.1 API's in a
> process contract. When I am going to test function
> ct_event_get_nevid() and ct_event_get_newct() I come to know from the
> previous thread() that ct_ctl_newtct() and ct_ctl_qack()  are not
> valid for process contract and if the new contract in not created
> than how we get the result from the ct_event_get_newct().
> 
> Suggest me the way to test ct_event_get_nevid() and
> ct_event_get_newct() if they are valid for process contract.

   For the same reason ct_ctl_newct() and ct_ctl_qack() are invalid for
   process contracts, a CT_EV_NEGEND (negotation end) event will never
   be generated for a process contract.  Therefore these functions should
   always return EINVAL on process contract events.

   Dave


Reply via email to