Choco OS  V.0.16.9.0
Join to the chocolate world
oc_userman.h
Go to the documentation of this file.
1 
28 #ifndef INC_KERNEL_OC_USERMAN_H_
29 #define INC_KERNEL_OC_USERMAN_H_
30 
31 #include <oc_user.h>
32 #include <oc_list.h>
33 #include <oc_errors.h>
34 
40 #define _________________________________________TYPES_SECTION______________________________________________________________________________
41 
44 
45 
46 
47 #undef _________________________________________TYPES_SECTION______________________________________________________________________________
48 
55 #define _________________________________________FUNCTIONS_SECTION__________________________________________________________________________
56 
59 extern oC_ErrorCode_t oC_UserMan_TurnOn ( void );
60 extern oC_ErrorCode_t oC_UserMan_TurnOff ( void );
61 extern oC_ErrorCode_t oC_UserMan_CreateAndAddUser(const char * Name, const char * Password , oC_User_Permissions_t Permissions);
62 extern oC_ErrorCode_t oC_UserMan_AddUser ( oC_User_t User );
63 extern oC_ErrorCode_t oC_UserMan_RemoveUser ( oC_User_t User );
64 extern oC_List(oC_User_t) oC_UserMan_GetList ( void );
65 extern oC_User_t oC_UserMan_GetRootUser ( void );
66 extern oC_User_t oC_UserMan_GetUser ( const char * Name );
67 extern oC_ErrorCode_t oC_UserMan_Rename ( oC_User_t User , const char * NewName );
68 
69 
70 #undef _________________________________________FUNCTIONS_SECTION__________________________________________________________________________
71 
73 #endif /* INC_KERNEL_OC_USERMAN_H_ */
Definition: oc_user.c:43
The file with list library.
The file with interface for user system.