split the cli and the core functionnalities
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#ifndef __GET_HOME_H__
|
||||
#define __GET_HOME_H__
|
||||
|
||||
/**
|
||||
* @brief Get the user home dir regardless if he used sudo.
|
||||
*
|
||||
* @return char* path to the home dir
|
||||
*/
|
||||
char * getHome(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user