| 629 | |
| 630 | |
| 631 | int msg_add_trailer(bin_packet_t *packet, int cluster_id, int dst_id) |
| 632 | { |
| 633 | if (bin_push_int(packet, cluster_id) < 0) |
| 634 | return -1; |
| 635 | if (bin_push_int(packet, current_id) < 0) |
| 636 | return -1; |
| 637 | if (bin_push_int(packet, dst_id) < 0) |
| 638 | return -1; |
| 639 | |
| 640 | return 0; |
| 641 | } |
| 642 | |
| 643 | |
| 644 | static int prep_gen_msg(bin_packet_t *packet, int cluster_id, int dst_id, |
no test coverage detected