summaryrefslogtreecommitdiffstats
path: root/src/include/usr/fetch.h
blob: 372f6f8cd76dd4450c7842ce0b1f3b8c4c8e6727 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _USR_FETCH_H
#define _USR_FETCH_H

/**
 * @file
 *
 * Fetch file
 *
 */

#include <stdint.h>
#include <gpxe/uaccess.h>

extern int fetch ( const char *filename, userptr_t *data, size_t *len );

#endif /* _USR_FETCH_H */