Skip to content

silgy_usr_login

Jurek Muszyński edited this page Sep 10, 2018 · 9 revisions

int silgy_usr_login(int ci)

Description

Logs user in. ci is the connection index passed by the engine to app_process_req.

Returns

Returns OK or one of the error codes:

  • ERR_INVALID_REQUEST
  • ERR_INT_SERVER_ERROR
  • ERR_INVALID_LOGIN
  • ERR_SERVER_TOOBUSY

Example

See app_process_req function in silgy_app.cpp in Toy Facebook project.

Notes

Requires USERS compilation switch.

Clone this wiki locally