File: read_source.h

package info (click to toggle)
ceccomp 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,648 kB
  • sloc: ansic: 6,531; python: 1,078; makefile: 248; sh: 145
file content (14 lines) | stat: -rw-r--r-- 261 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef READ_SOURCE_H
#define READ_SOURCE_H

#include <stdio.h>

// read file at once, the pointer is all fixed
extern unsigned init_source (FILE *read_fp);

// return NULL to indicate EOF
extern char *next_line (void);

extern void free_source (void);

#endif