IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


int CGI_SetCredentials ( const char *  username,
const char *  password,
int  accType,
int  accIdx 
)

This function sets the web server's user names and passwords.

The modified user name and password entries will only change for this run. The CHIP.INI will not be updated by this function. It lies within the responsibility of the user to call BIOS_Set_Ini_String() for the modified entries.

Parameters:
username User name. Maximum length is 19 characters.
password Password. Maximum length is 19 characters.
accType Account type: 0=Upload account, 1=Secure account
accIdx Account index: 0=User0/Password0, 1=User1/Password1 etc
Returns:
zero on success, non-zero on failure.
Since:
SC2x3 V1.08 - CLIB V1.04





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:36 2017 by Doxygen 1.6.1