source: mainline/uspace/lib/drv/include/ops/battery_dev.h@ d7f7a4a

Last change on this file since d7f7a4a was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 4 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 458 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2012 Maurizio Lombardi
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/** @addtogroup libdrv
8 * @{
9 */
10/** @file
11 */
12
13#ifndef LIBDRV_OPS_BATTERY_DEV_H_
14#define LIBDRV_OPS_BATTERY_DEV_H_
15
16#include "../ddf/driver.h"
17#include "battery_iface.h"
18
19typedef struct {
20 errno_t (*battery_status_get)(ddf_fun_t *, battery_status_t *);
21 errno_t (*battery_charge_level_get)(ddf_fun_t *, int *);
22} battery_dev_ops_t;
23
24#endif
25
26/**
27 * @}
28 */
Note: See TracBrowser for help on using the repository browser.