<div dir="ltr">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.<div>
<br></div><div>Read the documentation here:�<a href="https://github.com/alanxz/rabbitmq-c/blob/master/librabbitmq/amqp.h#L1635">https://github.com/alanxz/rabbitmq-c/blob/master/librabbitmq/amqp.h#L1635</a> for further details</div>
<div><br></div><div>-Alan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 21, 2013 at 7:17 PM, Sid Young <span dir="ltr"><<a href="mailto:sid.young@gmail.com" target="_blank">sid.young@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br><br>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?<br>
<br>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. <br><br>Is it some kind of RPC call made later?<br>
<br>Thanks<span class="HOEnZb"><font color="#888888"><br><br>Sid<br></font></span></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>