00001 // Here we have some hand-written (as opposed to generated) sensor 00002 // logging routines. 00003 00004 #ifndef __ld_logging_h__ 00005 #define __ld_logging_h__ 00006 00007 #include "ld_log_db.h" 00008 00009 #ifdef __cplusplus 00010 extern "C" { 00011 #endif 00012 00013 #if defined(__SYMBIAN32__) 00014 00015 typedef struct { 00016 char* address; // ASCII, with colons 00017 char* name; // UTF-8 00018 } btprox_item; 00019 00020 // Does not take ownership of "items", and "items" need not exist 00021 // after the call has completed. 00022 gboolean log_db_log_btprox(LogDb* self, 00023 GPtrArray* items /* array_of(btprox_item*) */, 00024 GError** error); 00025 00026 #endif // defined(__SYMBIAN32__) 00027 00028 #ifdef __cplusplus 00029 } /* extern "C" */ 00030 #endif 00031 00032 #endif /* __ld_logging_h__ */ 00033 00034 /** 00035 00036 Copyright 2009 Helsinki Institute for Information Technology (HIIT) 00037 and the authors. All rights reserved. 00038 00039 Authors: Tero Hasu <tero.hasu@hut.fi> 00040 00041 Permission is hereby granted, free of charge, to any person 00042 obtaining a copy of this software and associated documentation files 00043 (the "Software"), to deal in the Software without restriction, 00044 including without limitation the rights to use, copy, modify, merge, 00045 publish, distribute, sublicense, and/or sell copies of the Software, 00046 and to permit persons to whom the Software is furnished to do so, 00047 subject to the following conditions: 00048 00049 The above copyright notice and this permission notice shall be 00050 included in all copies or substantial portions of the Software. 00051 00052 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00053 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00054 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00055 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 00056 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 00057 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00058 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 00059 SOFTWARE. 00060 00061 **/
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:54 2011 by Doxygen 1.6.1