yumapro  23.10T-7
YumaPro SDK
Loading...
Searching...
No Matches
agt_ncchd.h
Go to the documentation of this file.
1/*****************************************************************************
2Copyright (c) 2014-2016, Juniper Networks, Inc.
3All rights reserved.
4
5Redistribution and use in source and binary forms, with or without
6modification, are permitted provided that the following conditions
7are met:
8
91. Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
11
122. Redistributions in binary form must reproduce the above copyright
13 notice, this list of conditions and the following disclaimer in the
14 documentation and/or other materials provided with the distribution.
15
163. Neither the name of the copyright holder nor the names of its
17 contributors may be used to endorse or promote products derived
18 from this software without specific prior written permission.
19
20THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31POSSIBILITY OF SUCH DAMAGE.
32 *****************************************************************************/
33
34/*
35 * Copyright (c) 2017 - 2021, YumaWorks, Inc., All Rights Reserved.
36 *
37 * Unless required by applicable law or agreed to in writing,
38 * software distributed under the License is distributed on an
39 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
40 * KIND, either express or implied. See the License for the
41 * specific language governing permissions and limitations
42 * under the License.
43 */
44#ifdef WITH_CALLHOME
45#ifndef _H_agt_ncchd
46#define _H_agt_ncchd
47
48/* FILE: agt_ncchd
49*********************************************************************
50* *
51* P U R P O S E *
52* *
53*********************************************************************/
54
62/*********************************************************************
63* *
64* C H A N G E H I S T O R Y *
65* *
66*********************************************************************
67
68date init comment
69----------------------------------------------------------------------
7027-jan-17 abb Begun;
71*/
72
73#ifndef _H_status_enum
74#include "status_enum.h"
75#endif
76
77#ifndef _H_agt_callhome
78#include "agt_callhome.h"
79#endif
80
81#ifdef __cplusplus
82extern "C" {
83#endif
84
85/********************************************************************
86* *
87* C O N S T A N T S *
88* *
89*********************************************************************/
90
91/********************************************************************
92* *
93* T Y P E S *
94* *
95*********************************************************************/
96
97/********************************************************************
98* *
99* F U N C T I O N S *
100* *
101*********************************************************************/
102
103/* group defined in agt_callhome.h */
104
121extern status_t
123
124
128#ifdef __cplusplus
129} /* end extern 'C' */
130#endif
131
132#endif /* _H_agt_ncchd */
133
134#endif // WITH_CALLHOME
IETF CallHome reverse connection support.
status_t agt_ncchd_connect(agt_callhome_cb_t *cb)
Start the SSHd server for a Call Home connection.
Definition: agt_ncchd.c:247
status_t
global error return code
Definition: status_enum.h:210
global error status code enumerations
control block for each client for a callhome connection
Definition: agt_callhome.h:87