mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
align included headers to c++
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5a5a5e7718
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Origin message was:
------------------
- proc_tools: add helper member to put values w/o length; ...
align included headers to c++
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
17 lines
501 B
C
17 lines
501 B
C
/*
|
|
* helper functions to interact with files, usually in the proc filesystem
|
|
*
|
|
* (C) 2012 Stefan Seyfried <seife@tuxboxcvs.slipkontur.de>
|
|
*
|
|
* License: GPLv2 or later
|
|
*
|
|
*/
|
|
#ifndef __PROC_TOOLS_H__
|
|
#define __PROC_TOOLS_H__
|
|
int proc_put(const char *path, const char *value, const int len);
|
|
int proc_put(const char *path, const char *value);
|
|
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);
|
|
#endif
|