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

#pragma once

#include <string>

namespace libcamera {

namespace sysfs {

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

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

} /* namespace sysfs */

} /* namespace libcamera */