summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/sysfs.h
blob: bc6c1620b55d43a27e188af740317431539870a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Google Inc.
 *
 * sysfs.h - Miscellaneous utility functions to access sysfs
 */
#ifndef __LIBCAMERA_INTERNAL_SYSFS_H__
#define __LIBCAMERA_INTERNAL_SYSFS_H__

#include <string>

namespace libcamera {

namespace sysfs {

std::string charDevPath(const std::string &deviceNode);

std::string firmwareNodePath(const std::string &device);

} /* namespace sysfs */

} /* namespace libcamera */

#endif /* __LIBCAMERA_INTERNAL_SYSFS_H__ */