yumapro  24.10-2
YumaPro SDK
Loading...
Searching...
No Matches
agt_commit_complete.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_commit_complete_cb
13#define _H_agt_commit_complete_cb
14
15/* FILE: agt_commit_complete.h
16*********************************************************************
17* *
18* P U R P O S E *
19* *
20*********************************************************************/
21
30/*********************************************************************
31* *
32* C H A N G E H I S T O R Y *
33* *
34*********************************************************************
35
36date init comment
37----------------------------------------------------------------------
3824-oct-11 mp First draft.
39*/
40
41#include <xmlstring.h>
42
43#include "procdefs.h"
44#include "agt.h"
45#include "status.h"
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
51
64/********************************************************************
65* *
66* T Y P E S *
67* *
68*********************************************************************/
69
83typedef status_t
85
86
87
93extern void
95
96
102extern void
104
105
118extern status_t
119 agt_commit_complete_register (const xmlChar *modname,
121
122
130extern void
131 agt_commit_complete_unregister (const xmlChar *modname);
132
133
152extern status_t
154 rpc_msg_t *msg,
155 agt_commit_type_t commit_type,
156 val_value_t *source,
157 val_value_t *target,
158 boolean epc_only);
159
160
168extern const xmlChar *
170
171
175#ifdef __cplusplus
176} /* end extern 'C' */
177#endif
178
179#endif // _H_agt_commit_complete_cb
Multi-Protocol Network Management Server.
void agt_commit_complete_cleanup(void)
Cleanup the callback commit module.
Definition: agt_commit_complete.c:148
void agt_commit_complete_unregister(const xmlChar *modname)
Unregister a Commit Complete callback.
Definition: agt_commit_complete.c:226
const xmlChar * agt_commit_complete_get_type(agt_commit_type_t commit_type)
Get the keyword for the specified agt_commit_type_t enumeration.
Definition: agt_commit_complete.c:375
status_t agt_commit_complete_register(const xmlChar *modname, agt_commit_complete_cb_t cb)
Register a Commit Complete callback.
Definition: agt_commit_complete.c:184
void agt_commit_complete_init(void)
Initialise the callback commit module.
Definition: agt_commit_complete.c:131
status_t agt_commit_complete(ses_cb_t *scb, rpc_msg_t *msg, agt_commit_type_t commit_type, val_value_t *source, val_value_t *target, boolean epc_only)
Complete a commit operation.
Definition: agt_commit_complete.c:268
status_t(* agt_commit_complete_cb_t)(agt_commit_type_t commit_type)
Typedef of the commit_complete callback.
Definition: agt_commit_complete.h:84
agt_commit_type_t
NETCONF commit types.
Definition: agt.h:752
status_t
global error return code
Definition: status_enum.h:210
Global error messages for status code enumerations.
NETCONF Server and Client RPC Request/Reply Message Header.
Definition: rpc.h:181
Session Control Block.
Definition: ses.h:573
one value to match one type
Definition: val.h:912