yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
agt_hello.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_agt_hello
13#define _H_agt_hello
14
15/* FILE: agt_hello.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----------------------------------------------------------------------
3619-jan-07 abb Begun
37
38*/
39
40#ifndef _H_ses
41#include "ses.h"
42#endif
43
44#ifndef _H_status
45#include "status.h"
46#endif
47
48#ifndef _H_xml_util
49#include "xml_util.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
83extern status_t
84 agt_hello_init (void);
85
86
92extern void
93 agt_hello_cleanup (void);
94
95
104extern boolean
106 xml_node_t *top);
107
108
116extern status_t
118
119
126extern void
128
129
133#ifdef __cplusplus
134} /* end extern 'C' */
135#endif
136
137#endif /* _H_agt_hello */
void agt_hello_cleanup(void)
Cleanup the agt_hello module.
Definition: agt_hello.c:184
void agt_hello_start_hello_timer(ses_cb_t *scb)
Set the timestamp to start the hello-timeout for the specified session.
Definition: agt_hello.c:430
status_t agt_hello_send(ses_cb_t *scb)
Send the server <hello> message to the manager on the specified session.
Definition: agt_hello.c:317
status_t agt_hello_init(void)
Initialize the agt_hello module.
Definition: agt_hello.c:156
boolean agt_hello_dispatch(ses_cb_t *scb, xml_node_t *top)
Handle an incoming <hello> message from the client.
Definition: agt_hello.c:207
status_t
global error return code
Definition: status_enum.h:210
NETCONF Session Common definitions module.
Global error messages for status code enumerations.
Session Control Block.
Definition: ses.h:573
gather node data into a simple struct.
Definition: xml_util.h:207
XML Utilities.