yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
obj_help.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_obj_help
13#define _H_obj_help
14
15/* FILE: obj_help.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
27/*********************************************************************
28* *
29* C H A N G E H I S T O R Y *
30* *
31*********************************************************************
32
33date init comment
34----------------------------------------------------------------------
3517-aug-08 abb Begun; split from obj.h to prevent H file loop
36
37*/
38
39
40#ifndef _H_dlq
41#include "dlq.h"
42#endif
43
44#ifndef _H_help
45#include "help.h"
46#endif
47
48#ifndef _H_obj
49#include "obj.h"
50#endif
51
52#ifdef __cplusplus
53extern "C" {
54#endif
55
56/********************************************************************
57* *
58* F U N C T I O N S *
59* *
60*********************************************************************/
61
62
63/* group defined in help.h */
79extern void
81 help_mode_t mode,
82 uint32 nestlevel,
83 uint32 indent);
84
85
96extern void
98 help_mode_t mode,
99 uint32 nestlevel,
100 uint32 indent,
101 boolean with_desc);
102
103
113extern void
114 obj_dump_datadefQ (dlq_hdr_t *datadefQ,
115 help_mode_t mode,
116 uint32 nestlevel,
117 uint32 indent);
118
119
137extern status_t
139 xmlChar *buff,
140 uint32 bufflen);
141
142
155extern const xmlChar *
157
158
162#ifdef __cplusplus
163} /* end extern 'C' */
164#endif
165
166#endif /* _H_obj_help */
dlq provides general double-linked list and queue support:
status_t
global error return code
Definition: status_enum.h:210
void obj_dump_template_ex(obj_template_t *obj, help_mode_t mode, uint32 nestlevel, uint32 indent, boolean with_desc)
Dump the contents of an obj_template_t struct for help text.
Definition: obj_help.c:250
status_t obj_dump_template_buff(obj_template_t *obj, xmlChar *buff, uint32 bufflen)
Dump the contents of an obj_template_t struct for help text Send text to a buffer instead of a screen...
Definition: obj_help.c:739
void obj_dump_template(obj_template_t *obj, help_mode_t mode, uint32 nestlevel, uint32 indent)
Dump the contents of an obj_template_t struct for help text.
Definition: obj_help.c:223
help_mode_t
modes to match the keywords brief, normal, full
Definition: help.h:84
const xmlChar * obj_help_description(const obj_template_t *obj)
Get the preferred help description for an object.
Definition: obj_help.c:1178
void obj_dump_datadefQ(dlq_hdr_t *datadefQ, help_mode_t mode, uint32 nestlevel, uint32 indent)
Dump the contents of a datadefQ for debugging.
Definition: obj_help.c:656
YANG help text support for CLI Print help text for various templates.
Data Object Support.
One YANG data-def-stmt.
Definition: obj.h:1229