Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.11.1.2
openapi_mgmttelnet.h
Go to the documentation of this file.
1 
9 /**********************************************************************
10 *
11 * Copyright 2023 Broadcom.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License");
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 ***********************************************************************
26 *
27 * @filename openapi_mgmttelnet.h
28 *
29 * @purpose This code implements the OpEN telnet management API
30 *
31 * @component OPEN
32 *
33 * @create 02/06/2023
34 *
35 * @end
36 *
37 *********************************************************************/
38 #ifndef OPENAPI_MGMTTELNET_H_INCLUDED
39 #define OPENAPI_MGMTTELNET_H_INCLUDED
40 
41 #include "openapi_common.h"
42 
43 
44 /*************************************************************************/
63  OPEN_CONTROL_t mode);
64 
65 /*************************************************************************/
82  OPEN_CONTROL_t *pMode);
83 
84 /*************************************************************************/
105  uint32_t port, OPEN_BOOL_t flag);
106 
107 /*************************************************************************/
124  uint32_t *pPort);
125 
126 /*************************************************************************/
144  uint32_t maxSession);
145 
146 /*************************************************************************/
164  uint32_t *pSession);
165 
166 /*************************************************************************/
184  uint32_t timeout);
185 
186 /*************************************************************************/
203  uint32_t *pTimeout);
204 
205 /*************************************************************************/
224  OPEN_CONTROL_t state);
225 
226 /*************************************************************************/
243  OPEN_CONTROL_t *pState);
244 
245 /*************************************************************************/
262  uint32_t *pSession);
263 #endif /* OPENAPI_MGMTTELNET_H_INCLUDED */
264 
open_error_t openapiAgentTelnetTimeoutGet(openapiClientHandle_t *client_handle, uint32_t *pTimeout)
Gets telnet session timeout information.
open_error_t openapiAgentTelnetCurrentNumSessionsGet(openapiClientHandle_t *client_handle, uint32_t *pSession)
Gets current active number of telnet sessions.
open_error_t openapiAgentTelnetNewSessionsGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *pState)
Gets new telnet session acceptance state.
open_error_t openapiAgentTelnetNumSessionsSet(openapiClientHandle_t *client_handle, uint32_t maxSession)
Sets maximum number of telnet sessions.
open_error_t openapiAgentTelnetTimeoutSet(openapiClientHandle_t *client_handle, uint32_t timeout)
Sets telnet session timeout (in minutes).
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiSwDevCtrlTelnetMgmtPortNumSet(openapiClientHandle_t *client_handle, uint32_t port, OPEN_BOOL_t flag)
Sets the port-number for Telnet Access.
open_error_t openapiAgentTelnetNewSessionsSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t state)
Sets new telnet sessions acceptance state.
open_error_t openapiAgentTelnetAdminModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *pMode)
Gets admin mode of telnet session.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiSwDevCtrlTelnetMgmtPortNumGet(openapiClientHandle_t *client_handle, uint32_t *pPort)
Gets telnet access port number.
open_error_t openapiAgentTelnetAdminModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
Sets admin mode of telnet Session.
open_error_t openapiAgentTelnetNumSessionsGet(openapiClientHandle_t *client_handle, uint32_t *pSession)
Gets maximum number of telnet sessions.