#ifndef _READ_LINE_H
#define _READ_LINE_H

#include 
#include "app_general.h"

typedef enum get_line_result_type
{
        ok,
        eof,
        truncated,
        skipped
} get_line_result_type;

Boolean
get_char (FILE * file, char * c);

get_line_result_type
get_line(FILE * file, char * buf, unsigned int buflen);

/* -- and some convenience functions */
const char *
scan_long (const char * buffer, long * value);

const char *
scan_hex_char (const char * buffer, unsigned char * value);
#endif