overrides the version of the bin protocol from the given message */
| 109 | |
| 110 | /* overrides the version of the bin protocol from the given message */ |
| 111 | static inline void set_bin_pkg_version(bin_packet_t *packet, short new_version) |
| 112 | { |
| 113 | memcpy(packet->buffer.s + BIN_PACKET_MARKER_SIZE |
| 114 | + PKG_LEN_FIELD_SIZE, &new_version, sizeof(new_version)); |
| 115 | } |
| 116 | |
| 117 | /* |
| 118 | * returns the capability from the message |
no outgoing calls
no test coverage detected