From: Tim B. <tba...@us...> - 2008-01-02 03:26:05
|
Update of /cvsroot/aprsworld/parse In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv2572 Modified Files: db_flatfile.c Log Message: * Add dummy functions user_insert() and last_user_insert() so it will build with latest message.c. * Now testing insert mask to control adding position and weather data to the files. ! Not tested for functionality - just verified that it compiles error free Index: db_flatfile.c =================================================================== RCS file: /cvsroot/aprsworld/parse/db_flatfile.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db_flatfile.c 31 Aug 2005 05:04:13 -0000 1.3 --- db_flatfile.c 2 Jan 2008 03:26:02 -0000 1.4 *************** *** 1,6 **** ! /* APRS Parser with Database Support ! Copyright (C) 2004 James Jefferson Jarvis <kb...@ap...> This program is free software; you can redistribute it and/or modify --- 1,6 ---- ! /* vim:ts=4: APRS Parser with Database Support ! Copyright (C) 2008 James Jefferson Jarvis <kb...@ap...> This program is free software; you can redistribute it and/or modify *************** *** 94,97 **** --- 94,100 ---- time_t now; + if ( ! (get_insert_mask() & INSERT_POSITION) ) + return; + /* our current time */ now = time(NULL); *************** *** 165,168 **** --- 168,174 ---- time_t now; + if ( ! (get_insert_mask() & INSERT_WEATHER) ) + return; + /* our current time */ now = time(NULL); *************** *** 203,206 **** --- 209,215 ---- + void user_insert (char *source, char *information, unsigned long packet_id) { + } + void telemetry_insert (struct telemetry *telem, unsigned long packet_id) { } |