diff options
Diffstat (limited to 'src/mds-kbdc/raw-data.h')
-rw-r--r-- | src/mds-kbdc/raw-data.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mds-kbdc/raw-data.h b/src/mds-kbdc/raw-data.h index 4bc7355..a2f1edc 100644 --- a/src/mds-kbdc/raw-data.h +++ b/src/mds-kbdc/raw-data.h @@ -104,5 +104,14 @@ size_t get_end_of_call(char* restrict content, size_t offset, size_t size) __att int read_source_lines(const char* restrict pathname, mds_kbdc_source_code_t* restrict source_code); +/** + * Parse a quoted and escaped string that may not include function calls or variable dereferences + * + * @param string The string + * @return The string in machine-readable format, `NULL` on error + */ +char* parse_raw_string(const char* restrict string); + + #endif |