mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
Add missing SPDX license identifiers to source files. Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
24 lines
498 B
C
24 lines
498 B
C
/* SPDX-License-Identifier: BSD-3-Clause */
|
|
#ifndef __READ_H__
|
|
#define __READ_H__
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct qdl_device;
|
|
|
|
struct read_op {
|
|
unsigned int sector_size;
|
|
const char *filename;
|
|
unsigned int partition;
|
|
unsigned int num_sectors;
|
|
const char *start_sector;
|
|
struct read_op *next;
|
|
};
|
|
|
|
int read_op_load(const char *read_op_file);
|
|
int read_op_execute(struct qdl_device *qdl,
|
|
int (*apply)(struct qdl_device *qdl, struct read_op *read_op, int fd),
|
|
const char *incdir);
|
|
|
|
#endif
|