skip to main content
Designing and coding the IP : Privileges : Implementing Privilege support
 

Implementing Privilege support

The Privilege function allows validation of user privilege for the command. To implement the Privilege:
1. Implement the PRIVILEGE function.
2. Have the IP GETSUPPORT function return TRUE for the Privilege validation support. This can be done by updating the support array in ip_drv.c file to mark support for IP_SUPPORT_PRIVILEGES.
3. Implement the IP PRIVILEGE function to validate the user privilege for the command.