mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-12 16:03:42 +02:00
helpers.chh/h: add some helper functions
Partial cherry pick from: https://bitbucket.org/neutrino-images/ni-neutrino-hd Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -146,4 +146,9 @@ std::string getJFFS2MountPoint(int mtdPos);
|
||||
std::string Lang2ISO639_1(std::string& lang);
|
||||
std::string readLink(std::string lnk);
|
||||
|
||||
int getpidof(const char *process);
|
||||
std::string filehash(const char * file);
|
||||
std::string get_path(const char * path);
|
||||
inline bool file_exists(const std::string file) { return file_exists(file.c_str()); }
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user