mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
- proc_tools: c => cpp; add new helper member to write bool values
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -8,13 +8,8 @@
|
||||
*/
|
||||
#ifndef __PROC_TOOLS_H__
|
||||
#define __PROC_TOOLS_H__
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
int proc_put(const char *path, const char *value, const int len);
|
||||
int proc_put(const char *path, bool state);
|
||||
int proc_get(const char *path, char *value, const int len);
|
||||
unsigned int proc_get_hex(const char *path);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user