#include <unistd.h>
#include <fcntl.h>
#include "rdd.h"
#include "reader.h"
Go to the source code of this file.
Defines | |
#define | _GNU_SOURCE |
Functions | |
int | rdd_open_file_reader (RDD_READER **r, const char *path, int raw) |
Instantiates a reader that reads from a file. | |
Variables | |
static char | copyright [] |
#define _GNU_SOURCE |
Definition at line 43 of file filereader.c.
int rdd_open_file_reader | ( | RDD_READER ** | r, | |
const char * | path, | |||
int | raw | |||
) |
Instantiates a reader that reads from a file.
r | output value: a new reader object. | |
path | the name of the file that the reader will read from. | |
raw | true iff path refers to a raw-device file |
RDD_OK
on success.Definition at line 51 of file filereader.c.
References RDD_EOPEN, and rdd_open_fd_reader().
char copyright[] [static] |
Initial value:
"@(#) Copyright (c) 2002-2004\n\ Netherlands Forensic Institute. All rights reserved.\n"
Definition at line 34 of file filereader.c.