+/*
+ * This file is part of cparser.
+ * Copyright (C) 2012 Matthias Braun <matze@braunis.de>
+ */
#ifndef INPUT_H
#define INPUT_H
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,