X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=input.h;h=053a5b94c7163662dd537aad6fa0a4c1d33e3fb0;hb=b8f4fc13774d296a361e9e80e813a7eb906fc54b;hp=137d42ef9fac1ea47e6131a9765adc99cb1ed797;hpb=5e80d9852edea8472cd478655d70f5c4a1eddbdc;p=cparser diff --git a/input.h b/input.h index 137d42e..053a5b9 100644 --- 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,