main: rework preprocessor invocation
[cparser] / input.h
diff --git a/input.h b/input.h
index 137d42e..053a5b9 100644 (file)
--- a/input.h
+++ b/input.h
@@ -7,6 +7,7 @@
 typedef struct input_t input_t;
 
 input_t *input_from_stream(FILE *stream, const char *encoding);
+input_t *input_from_string(const char *string, const char *encoding);
 
 /** Type for a function being called on an input (or encoding) errors. */
 typedef void (*input_error_callback_func)(unsigned delta_lines,