aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/raw-data.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-30 13:34:28 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-30 13:34:28 +0100
commit978b2c445aa220a4138028335a44116479da58c1 (patch)
tree5b73d50f206deeb73418aa1b0347e5bf385a7c16 /src/mds-kbdc/raw-data.h
parentmds-kbdc: transfer of errors after inclusion (diff)
downloadmds-978b2c445aa220a4138028335a44116479da58c1.tar.gz
mds-978b2c445aa220a4138028335a44116479da58c1.tar.bz2
mds-978b2c445aa220a4138028335a44116479da58c1.tar.xz
mds-kbdc: process includes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/raw-data.h9
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