yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
glob.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
3 * Copyright (c) 2012 - 2024, 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_glob
13#define _H_glob
14
15/* FILE: glob.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
29/*********************************************************************
30* *
31* C H A N G E H I S T O R Y *
32* *
33*********************************************************************
34
35date init comment
36----------------------------------------------------------------------
3710-jun-24 am Begun
38*/
39
40#include <xmlstring.h>
41
42#ifndef _H_ses
43#include "ses.h"
44#endif
45
46#ifndef _H_status
47#include "status.h"
48#endif
49
50#ifndef _H_xml_util
51#include "xml_util.h"
52#endif
53
54#ifdef __cplusplus
55extern "C" {
56#endif
57
58/********************************************************************
59* *
60* C O N S T A N T S *
61* *
62*********************************************************************/
63
64
65/********************************************************************
66* *
67* T Y P E S *
68* *
69*********************************************************************/
70
71/* Header only */
72
92/********************************************************************
93* *
94* F U N C T I O N S *
95* *
96*********************************************************************/
97
103extern void
104 glob_init (void);
105
106
112extern void
113 glob_cleanup (void);
114
115
123extern void
124 glob_set_edit_enabled (boolean val);
125
126
134extern boolean
136
137
147extern void
148 glob_set_get2cb (getcb_fn2_t get2_cbfn);
149
150
160extern getcb_fn2_t
161 glob_get_get2cb (void);
162
163
171extern void
172 glob_set_get_enabled (boolean val);
173
174
182extern boolean
184
185
193extern void
194 glob_set_rpc_enabled (boolean val);
195
196
204extern boolean
206
207
215extern void
216 glob_set_action_enabled (boolean val);
217
218
226extern boolean
228
229
238extern void
239 glob_set_remote_get_enabled (boolean val);
240
241
249extern boolean
251
252
261extern void
263
264
273extern getcb_fn2_t
275
276
284extern void
285 glob_set_remote_edit_enabled (boolean val);
286
287
295extern boolean
297
298
302#ifdef __cplusplus
303} /* end extern 'C' */
304#endif
305
306#endif /* _H_glob */
status_t(* getcb_fn2_t)(ses_cb_t *scb, xml_msg_hdr_t *msg, getcb_get2_t *get2cb)
GET2 PRODUCER FUNCTION.
Definition: getcb.h:676
void glob_set_remote_get_enabled(boolean val)
Set the Global SIL-SA GET2 callbacks enabled flag.
Definition: glob.c:329
void glob_set_remote_get2cb(getcb_fn2_t get2_cbfn)
Set remote GET2 wrapper handler.
Definition: glob.c:360
boolean glob_get_rpc_enabled(void)
Get the Global RPC callbacks enabled flag.
Definition: glob.c:282
void glob_set_remote_edit_enabled(boolean val)
Set the Remote Global EDIT callbacks enabled flag.
Definition: glob.c:390
boolean glob_get_edit_enabled(void)
Get the Global EDIT callbacks enabled flag.
Definition: glob.c:192
boolean glob_get_get2_enabled(void)
Get the Global EDIT callbacks enabled flag.
Definition: glob.c:252
getcb_fn2_t glob_get_get2cb(void)
Get the current Global GET2 callback function.
Definition: glob.c:222
void glob_init(void)
Init the global callback handler.
Definition: glob.c:123
boolean glob_get_remote_edit_enabled(void)
Get the Remote Global EDIT callbacks enabled flag.
Definition: glob.c:405
getcb_fn2_t glob_get_remote_get2cb(void)
Get the remote Global GET2 callback handler.
Definition: glob.c:375
boolean glob_get_remote_get2_enabled(void)
Get the Global SIL-SA GET2 callbacks enabled flag.
Definition: glob.c:344
boolean glob_get_action_enabled(void)
Get the Global Action callbacks enabled flag.
Definition: glob.c:312
void glob_set_rpc_enabled(boolean val)
Set the Global RPC callbacks enabled flag.
Definition: glob.c:267
void glob_set_get2cb(getcb_fn2_t get2_cbfn)
Set the current Global GET2 callback function.
Definition: glob.c:207
void glob_set_edit_enabled(boolean val)
Set the Global EDIT callbacks enabled flag.
Definition: glob.c:177
void glob_set_action_enabled(boolean val)
Set the Global Action callbacks enabled flag.
Definition: glob.c:297
void glob_cleanup(void)
Cleanup the global callback handler.
Definition: glob.c:149
void glob_set_get_enabled(boolean val)
Set the Global EDIT callbacks enabled flag.
Definition: glob.c:237
NETCONF Session Common definitions module.
Global error messages for status code enumerations.
XML Utilities.