James Kuszmaul | 4a42b18 | 2021-01-17 11:32:46 -0800 | [diff] [blame^] | 1 | #pragma once |
| 2 | #include <rawrtc/utils.h> |
| 3 | #include <rawrtcc/code.h> |
| 4 | #include <re.h> |
| 5 | |
| 6 | enum rawrtc_code rawrtc_bin_to_colon_hex( |
| 7 | char** const destinationp, // de-referenced |
| 8 | uint8_t* const source, |
| 9 | size_t const length); |
| 10 | |
| 11 | enum rawrtc_code rawrtc_colon_hex_to_bin( |
| 12 | size_t* const bytes_written, // de-referenced |
| 13 | uint8_t* const buffer, // written into |
| 14 | size_t const buffer_size, |
| 15 | char* source); |
| 16 | |
| 17 | enum rawrtc_code rawrtc_list_to_array( |
| 18 | struct rawrtc_array_container** containerp, // de-referenced |
| 19 | struct list const* const list, |
| 20 | bool reference); |