YControl session handler will create and manage session control blocks for the subsystem.
More...
YControl session handler will create and manage session control blocks for the subsystem.
The same ses_cb_t is used on the main server and the subsystems.
All functions in this module are internal system APIs for subsystem use only!
◆ ycontrol_ses_attempt_connect()
Attempt to connect to the server.
- Parameters
-
profile | service profile to use |
- Returns
- status
◆ ycontrol_ses_cleanup()
Cleanup ycontrol session handler.
- Parameters
-
profile | ycontrol profile to use |
◆ ycontrol_ses_free_session()
Free a real session control block.
- Parameters
-
profile | service profile to use |
sid | session ID of session to free |
◆ ycontrol_ses_get_first_outready()
Get the first ses_msg outreadyQ entry.
Will remove the entry from the Q
- Parameters
-
profile | ycontrol message handler control block |
- Returns
- pointer to the session control block of the first session ready to write output to a socket or the screen or a file
◆ ycontrol_ses_init()
Setup the YControl session handler.
- Parameters
-
profile | ycontrol profile to use |
- Returns
- status
◆ ycontrol_ses_process_first_ready()
Check the readyQ and process the first message, if any.
- Parameters
-
profile | ycontrol message handler control block |
- Returns
- TRUE if a message was processed
FALSE if the readyQ was empty