yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
ycontrol_io.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_io
13#define _H_ycontrol_io
14
15/* FILE: ycontrol_io.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
28/*********************************************************************
29* *
30* C H A N G E H I S T O R Y *
31* *
32*********************************************************************
33
34date init comment
35----------------------------------------------------------------------
3605-apr-14 abb Begun
37*/
38
39#include <time.h>
40#include <sys/time.h>
41
42#ifndef _H_status_enum
43#include "status_enum.h"
44#endif
45
46#ifdef __cplusplus
47extern "C" {
48#endif
49
50/********************************************************************
51* *
52* C O N S T A N T S *
53* *
54*********************************************************************/
55
56
57/********************************************************************
58* *
59* T Y P E S *
60* *
61*********************************************************************/
62
63
64/********************************************************************
65* *
66* F U N C T I O N S *
67* *
68*********************************************************************/
69
70
90extern void
92
93
100extern status_t
102
103
104
113extern boolean
115
116
123extern void
125 int fd);
126
127
134extern void
136 int fd);
137
138
142#ifdef __cplusplus
143} /* end extern 'C' */
144#endif
145
146#endif /* _H_ycontrol_io */
status_t
global error return code
Definition: status_enum.h:210
void ycontrol_io_init(ycontrol_profile_t *profile)
Setup ycontrol session handler.
Definition: ycontrol_io.c:153
void ycontrol_io_activate_session(ycontrol_profile_t *profile, int fd)
Tell the IO manager to stop listening on the specified socket.
Definition: ycontrol_io.c:332
status_t ycontrol_io_check(ycontrol_profile_t *profile)
IO server loop for the ycontrol manager.
Definition: ycontrol_io.c:172
boolean ycontrol_io_write_sessions(ycontrol_profile_t *profile)
Go through any sessions ready to write and send the buffers ready to send.
Definition: ycontrol_io.c:282
void ycontrol_io_deactivate_session(ycontrol_profile_t *profile, int fd)
Tell the IO manager to stop listening on the specified socket.
Definition: ycontrol_io.c:349
global error status code enumerations
control block for 1 ycontrol manager (only 1 used)
Definition: ycontrol.h:294