C Porting Layer API Reference for Oracle Internet of Things Cloud Service Client Software Library. Release 21.1.1.0.0-3. E80003-19
|
00001 /* 00002 * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. 00003 * 00004 * This software is dual-licensed to you under the MIT License (MIT) and 00005 * the Universal Permissive License (UPL). See the LICENSE file in the root 00006 * directory for license terms. You may choose either license, or both. 00007 */ 00008 00014 #ifndef IOTCS_PORT_DIAGNOSTIC_H 00015 #define IOTCS_PORT_DIAGNOSTIC_H 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00021 #include "iotcs_config.h" 00022 00034 int iotcs_port_get_ip_address(char* buffer, int buf_len); 00035 00047 int iotcs_port_get_mac_address(char* buffer, int buf_len); 00048 00058 int64_t iotcs_port_get_start_time(void); 00059 00069 const char* iotcs_port_get_version(void); 00070 00079 uint64_t iotcs_port_get_total_disk_space(void); 00080 00089 uint64_t iotcs_port_get_free_disk_space(void); 00090 00091 #ifdef __cplusplus 00092 } 00093 #endif 00094 00095 #endif /* IOTCS_PORT_DIAGNOSTIC_H */ 00096