Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
openapi_registry.h
Go to the documentation of this file.
1 
9 /*********************************************************************
10 *
11 * Copyright 2016-2018 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_registry.h
28 *
29 * @purpose To access System Registry Parameters
30 *
31 * @component OpEN
32 *
33 * @create 01/11/2015
34 *
35 * @end
36 *
37 **********************************************************************/
38 #ifndef OPENAPI_REGISTRY_H_INCLUDED
39 #define OPENAPI_REGISTRY_H_INCLUDED
40 
41 #include "openapi_common.h"
42 
43 #define OPEN_REGISTRY_PARAM_SIZE 256
44 
45 /*****************************************************************/
62  open_buffdesc *serial_number );
63 
64 /*****************************************************************/
81  open_buffdesc *machine_model );
82 
83 /*****************************************************************/
100  open_buffdesc *machine_model );
101 
102 /*****************************************************************/
119  open_buffdesc *code_version);
120 
121 #endif /* OPENAPI_REGISTRY_H_INCLUDED */
122 
open_error_t openapiSystemRegSerialNumGet(openapiClientHandle_t *client_handle, open_buffdesc *serial_number)
Get the serial number.
open_error_t openapiSystemRegCodeVersionGet(openapiClientHandle_t *client_handle, open_buffdesc *code_version)
Get the software version information.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiSystemRegMachineModelGet(openapiClientHandle_t *client_handle, open_buffdesc *machine_model)
Get the Machine Model number.
open_error_t openapiSystemRegMachineTypeGet(openapiClientHandle_t *client_handle, open_buffdesc *machine_model)
Get the Machine Type Information.