send_channel_data_response_message(void)
{
  struct stream * s = (struct stream *)NULL;

  LOG(10, ("send_channel_data_response_message:"));
  s = trans_get_out_s(g_con_trans, 8192);
  if (s == 0)
  {
    return 1;
  }
  out_uint32_le(s, 0); /* version */
  out_uint32_le(s, 8 + 8); /* size */
  out_uint32_le(s, 6); /* msg id */
  out_uint32_le(s, 8); /* size */
  s_mark_end(s);
  return trans_force_write(g_con_trans);
}
send_channel_data_response_message(void)
{
  struct stream * s = (struct stream *)NULL;

  LOG(10, ("send_channel_data_response_message:"));
  s = trans_get_out_s(g_con_trans, 8192);
  if (s == 0)
  {
    return 1;
  }
  out_uint32_le(s, 0);  
  out_uint32_le(s, 8 + 8);  
  out_uint32_le(s, 6);  
  out_uint32_le(s, 8);  
  s_mark_end(s);
  return trans_force_write(g_con_trans);
}