yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
ycontrol_ses.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
3 * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
4 *
5 * Unless required by applicable law or agreed to in writing,
6 * software distributed under the License is distributed on an
7 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8 * KIND, either express or implied. See the License for the
9 * specific language governing permissions and limitations
10 * under the License.
11 */
12#ifndef _H_ycontrol_ses
13#define _H_ycontrol_ses
14
15/* FILE: ycontrol_ses.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
22
29/*********************************************************************
30* *
31* C H A N G E H I S T O R Y *
32* *
33*********************************************************************
34
35date init comment
36----------------------------------------------------------------------
3702-apr-14 abb Begun; adapted from mgr_ses.c
38*/
39
40#include <time.h>
41#include <sys/time.h>
42
43#ifndef _H_status_enum
44#include "status_enum.h"
45#endif
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
51/********************************************************************
52* *
53* C O N S T A N T S *
54* *
55*********************************************************************/
56
57
58/********************************************************************
59* *
60* T Y P E S *
61* *
62*********************************************************************/
63
64
65/********************************************************************
66* *
67* F U N C T I O N S *
68* *
69*********************************************************************/
70
71
93extern status_t
95
96
102extern void
104
105
112extern status_t
114
115
122extern void
124 ses_id_t sid);
125
126
134extern boolean
136
137
147extern ses_cb_t *
149
150
151
155#ifdef __cplusplus
156} /* end extern 'C' */
157#endif
158
159#endif /* _H_ycontrol_ses */
status_t
global error return code
Definition: status_enum.h:210
uint32 ses_id_t
Session ID.
Definition: ses.h:335
status_t ycontrol_ses_attempt_connect(ycontrol_profile_t *profile)
Attempt to connect to the server.
Definition: ycontrol_ses.c:187
status_t ycontrol_ses_init(ycontrol_profile_t *profile)
Setup the YControl session handler.
Definition: ycontrol_ses.c:242
ses_cb_t * ycontrol_ses_get_first_outready(ycontrol_profile_t *profile)
Get the first ses_msg outreadyQ entry.
Definition: ycontrol_ses.c:434
void ycontrol_ses_cleanup(ycontrol_profile_t *profile)
Cleanup ycontrol session handler.
Definition: ycontrol_ses.c:267
boolean ycontrol_ses_process_first_ready(ycontrol_profile_t *profile)
Check the readyQ and process the first message, if any.
Definition: ycontrol_ses.c:318
void ycontrol_ses_free_session(ycontrol_profile_t *profile, ses_id_t sid)
Free a real session control block.
Definition: ycontrol_ses.c:285
global error status code enumerations
Session Control Block.
Definition: ses.h:573
control block for 1 ycontrol manager (only 1 used)
Definition: ycontrol.h:294