<div dir="ltr"><pre><div class="" id="LC1676"><span class="">Thanks Alan,<br><br>So do I need to call:<br><br>  �AMQP_PUBLIC_FUNCTION amqp_rpc_reply_t AMQP_CALL</span> <span class="">amqp_get_rpc_reply</span><span class="">(</span><span class="">amqp_connection_state_t</span> <span class="">state</span><span class="">);<br>
<br>after the call to get the reply status?<br><br></span></div><div class="" id="LC1676"><span class="">Sid<br></span></div></pre><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 22, 2013 at 3:20 PM, Alan Antonuk <span dir="ltr"><<a href="mailto:alan.antonuk@gmail.com" target="_blank">alan.antonuk@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">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" target="_blank">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"><div><div class="h5">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>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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><font color="#888888"><br><br>Sid<br></font></span></div><br></div></div>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
<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><br clear="all"><br><br></div></div>