Dependents:   xively-jumpstart-demo

This is Xively C library, the code lives on GitHub.

See our example program and the tutorial, documentation can bee found here.

Committer:
xively
Date:
Mon May 13 19:28:22 2013 +0000
Revision:
0:53753690a8bf
libxively v0.1.1-rc0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
xively 0:53753690a8bf 1 // Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved.
xively 0:53753690a8bf 2 // This is part of Xively C library, it is under the BSD 3-Clause license.
xively 0:53753690a8bf 3
xively 0:53753690a8bf 4 /**
xively 0:53753690a8bf 5 * \file xi_globals.h
xively 0:53753690a8bf 6 * \author Olgierd Humenczuk
xively 0:53753690a8bf 7 * \brief Global run-time settings used by the library
xively 0:53753690a8bf 8 */
xively 0:53753690a8bf 9
xively 0:53753690a8bf 10 #ifndef __XI_GLOBALS_H__
xively 0:53753690a8bf 11 #define __XI_GLOBALS_H__
xively 0:53753690a8bf 12
xively 0:53753690a8bf 13
xively 0:53753690a8bf 14 #include <stdint.h>
xively 0:53753690a8bf 15
xively 0:53753690a8bf 16 #ifdef __cplusplus
xively 0:53753690a8bf 17 extern "C" {
xively 0:53753690a8bf 18 #endif
xively 0:53753690a8bf 19
xively 0:53753690a8bf 20 /**
xively 0:53753690a8bf 21 * \brief Global run-time settings structure
xively 0:53753690a8bf 22 */
xively 0:53753690a8bf 23 typedef struct
xively 0:53753690a8bf 24 {
xively 0:53753690a8bf 25 uint32_t network_timeout; //!< the network timeout (default: 1500 milliseconds)
xively 0:53753690a8bf 26 } xi_globals_t;
xively 0:53753690a8bf 27
xively 0:53753690a8bf 28 extern xi_globals_t xi_globals; //!< global instance of `xi_globals_t`
xively 0:53753690a8bf 29
xively 0:53753690a8bf 30 #ifdef __cplusplus
xively 0:53753690a8bf 31 }
xively 0:53753690a8bf 32 #endif
xively 0:53753690a8bf 33
xively 0:53753690a8bf 34 #endif // __XI_GLOBALS_H__