For RPC functions that are defined in amqp_framing.h; if they return a
non-NULL value, the actual RPC call was successful. If they return a NULL
value, you should call the amqp_last_rpc_reply() to get information on why
the call failed.

Read the documentation here:
https://github.com/alanxz/rabbitmq-c/blob/master/librabbitmq/amqp.h#L1635for
further details

-Alan


On Sat, Dec 21, 2013 at 7:17 PM, Sid Young <[email protected]> wrote:

> Hi,
>
> I am trying to work out how to get the return value from
> amqp_channel_open() in rabbitmq-c but it does not appear to be documented
> anywhere?
>
> What is the easiest way to get the return value from the call in "C". I'm
> using the "C" library and the code works fine, but I want to log the status
> of the call.
>
> Is it some kind of RPC call made later?
>
> Thanks
>
> Sid
>
> _______________________________________________
> rabbitmq-discuss mailing list
> [email protected]
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rabbitmq-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rabbitmq-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to