| 1 | # modbus_get_header_length |
| 2 | |
| 3 | ## Name |
| 4 | |
| 5 | modbus_get_header_length - retrieve the current header length |
| 6 | |
| 7 | ## Synopsis |
| 8 | |
| 9 | ```c |
| 10 | int modbus_get_header_length(modbus_t *ctx); |
| 11 | ``` |
| 12 | |
| 13 | ## Description |
| 14 | |
| 15 | The *modbus_get_header_length()* function shall retrieve the current header |
| 16 | length from the backend. This function is convenient to manipulate a message and |
| 17 | so it's limited to low-level operations. |
| 18 | |
| 19 | ## Return value |
| 20 | |
| 21 | The header length as integer value. |