nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
dfu_lock.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _DFU_LOCK_H_
8#define _DFU_LOCK_H_
9
10#include <zephyr/types.h>
11
22 const char *name;
23
40 void (*owner_changed)(const struct dfu_lock_owner *new_owner);
41};
42
57int dfu_lock_claim(const struct dfu_lock_owner *new_owner);
58
70int dfu_lock_release(const struct dfu_lock_owner *owner);
71
76#endif /* _DFU_LOCK_H_ */
int dfu_lock_claim(const struct dfu_lock_owner *new_owner)
int dfu_lock_release(const struct dfu_lock_owner *owner)
const char * name
Definition: dfu_lock.h:22
void(* owner_changed)(const struct dfu_lock_owner *new_owner)
Definition: dfu_lock.h:40
DFU lock owner descriptor.
Definition: dfu_lock.h:20