X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..3f471d1c33e220c813ff9101fd0d4980b2b86467:/lib/inputline.h?ds=sidebyside diff --git a/lib/inputline.h b/lib/inputline.h index c9a0449..8f8761b 100644 --- a/lib/inputline.h +++ b/lib/inputline.h @@ -15,10 +15,16 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +/** @file lib/inputline.h + * @brief Line input + */ #ifndef INPUTLINE_H #define INPUTLINE_H +struct source; + +int inputlines(const char *tag, struct source *s, char **lp, int newline); int inputline(const char *tag, FILE *fp, char **lp, int newline); /* read characters from @fp@ until @newline@ is encountered. Store * them (excluding @newline@) via @lp@. Return 0 on success, -1 on