Index: /trunk/BNS/RTCM/rtcm3torinex.c
===================================================================
--- /trunk/BNS/RTCM/rtcm3torinex.c	(revision 2235)
+++ /trunk/BNS/RTCM/rtcm3torinex.c	(revision 2236)
@@ -1,5 +1,5 @@
 /*
   Converter for RTCM3 data to RINEX.
-  $Id: rtcm3torinex.c,v 1.27 2009/11/04 16:40:16 zdenek Exp $
+  $Id: rtcm3torinex.c,v 1.28 2010/01/12 12:13:23 mervart Exp $
   Copyright (C) 2005-2008 by Dirk Stöcker <stoecker@alberding.eu>
 
@@ -55,5 +55,5 @@
 
 /* CVS revision and version */
-static char revisionstr[] = "$Revision: 1.27 $";
+static char revisionstr[] = "$Revision: 1.28 $";
 
 #ifndef COMPILEDATE
@@ -837,13 +837,4 @@
 };
 
-struct converttimeinfo {
-  int second;    /* seconds of GPS time [0..59] */
-  int minute;    /* minutes of GPS time [0..59] */
-  int hour;      /* hour of GPS time [0..24] */
-  int day;       /* day of GPS time [1..28..30(31)*/
-  int month;     /* month of GPS time [1..12]*/
-  int year;      /* year of GPS time [1980..] */
-};
-
 void converttime(struct converttimeinfo *c, int week, int tow)
 {
@@ -1692,5 +1683,5 @@
 
 #ifndef NO_RTCM3_MAIN
-static char datestr[]     = "$Date: 2009/11/04 16:40:16 $";
+static char datestr[]     = "$Date: 2010/01/12 12:13:23 $";
 
 /* The string, which is send as agent in HTTP request */
Index: /trunk/BNS/RTCM/rtcm3torinex.h
===================================================================
--- /trunk/BNS/RTCM/rtcm3torinex.h	(revision 2235)
+++ /trunk/BNS/RTCM/rtcm3torinex.h	(revision 2236)
@@ -4,5 +4,5 @@
 /*
   Converter for RTCM3 data to RINEX.
-  $Id: rtcm3torinex.h,v 1.18 2009/11/04 16:19:40 zdenek Exp $
+  $Id: rtcm3torinex.h,v 1.19 2010/01/12 12:13:23 mervart Exp $
   Copyright (C) 2005-2006 by Dirk Stöcker <stoecker@alberding.eu>
 
@@ -99,4 +99,13 @@
 #define GNSSDF_LOCKLOSSL1     (1<<29)  /* lost lock on L1 */
 #define GNSSDF_LOCKLOSSL2     (1<<30)  /* lost lock on L2 */
+
+struct converttimeinfo {
+  int second;    /* seconds of GPS time [0..59] */
+  int minute;    /* minutes of GPS time [0..59] */
+  int hour;      /* hour of GPS time [0..24] */
+  int day;       /* day of GPS time [1..28..30(31)*/
+  int month;     /* month of GPS time [1..12]*/
+  int year;      /* year of GPS time [1980..] */
+};
 
 struct gnssdata {
@@ -234,4 +243,7 @@
 
 int gnumleap(int year, int month, int day);
+void updatetime(int *week, int *tow, int tk, int fixnumleap);
+void converttime(struct converttimeinfo *c, int week, int tow);
+
 void HandleHeader(struct RTCM3ParserData *Parser);
 int RTCM3Parser(struct RTCM3ParserData *handle);
