summaryrefslogtreecommitdiff
path: root/build/read.h
blob: 041125d98622afc0c45f3c7df72d151db172ba2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _READ_H_
#define _READ_H_

#include "spec.h"

#define STRIP_NOTHING       0
#define STRIP_TRAILINGSPACE 1

/* returns 0 - success */
/*         1 - EOF     */
/*        <0 - error   */

int readLine(Spec spec, int strip);
void closeSpec(Spec spec);

#endif