Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-libxively-6eca970 by
xi_globals.h
00001 // Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved. 00002 // This is part of Xively C library, it is under the BSD 3-Clause license. 00003 00004 /** 00005 * \file xi_globals.h 00006 * \author Olgierd Humenczuk 00007 * \brief Global run-time settings used by the library 00008 */ 00009 00010 #ifndef __XI_GLOBALS_H__ 00011 #define __XI_GLOBALS_H__ 00012 00013 00014 #include <stdint.h> 00015 00016 #ifdef __cplusplus 00017 extern "C" { 00018 #endif 00019 00020 /** 00021 * \brief Global run-time settings structure 00022 */ 00023 typedef struct 00024 { 00025 uint32_t network_timeout; //!< the network timeout (default: 1500 milliseconds) 00026 } xi_globals_t; 00027 00028 extern xi_globals_t xi_globals; //!< global instance of `xi_globals_t` 00029 00030 #ifdef __cplusplus 00031 } 00032 #endif 00033 00034 #endif // __XI_GLOBALS_H__
Generated on Wed Jul 13 2022 02:16:22 by
1.7.2
