Changeset 95 in ntrip
- Timestamp:
- Sep 1, 2006, 9:36:54 AM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/rtcm3torinex.cpp
r86 r95 1 1 /* 2 2 Converter for RTCM3 data to RINEX. 3 $Id: rtcm3torinex.cpp,v 1. 3 2006/08/25 11:50:34mervart Exp $3 $Id: rtcm3torinex.cpp,v 1.4 2006/08/31 09:20:09 mervart Exp $ 4 4 5 5 Program written bei … … 36 36 */ 37 37 38 #ifndef NO_RTCM3_MAIN 39 #include <stdint.h> 40 #include <getopt.h> 41 #endif 42 38 43 #include <ctype.h> 39 44 #include <errno.h> 40 #include <getopt.h>41 45 #include <math.h> 42 46 #include <netdb.h> 43 47 #include <netinet/in.h> 44 48 #include <signal.h> 45 #include <stdint.h>46 49 #include <stdio.h> 47 50 #include <stdlib.h> … … 52 55 #include <unistd.h> 53 56 57 58 54 59 /* The string, which is send as agent in HTTP request */ 55 60 #define AGENTSTRING "NTRIP NtripRTCM3ToRINEX" … … 57 62 #define MAXDATASIZE 1000 /* max number of bytes we can get at once */ 58 63 64 #include "rtcm3torinex.h" 65 59 66 /* CVS revision and version */ 60 static char revisionstr[] = "$Revision: 1. 3$";61 static char datestr[] = "$Date: 2006/08/ 25 11:50:34$";67 static char revisionstr[] = "$Revision: 1.4 $"; 68 static char datestr[] = "$Date: 2006/08/31 09:20:09 $"; 62 69 static int stop = 0; 63 70 64 65 66 #include "rtcm3torinex.h" 67 71 #ifndef NO_RTCM3_MAIN 68 72 69 73 struct Args … … 157 161 return res; 158 162 } 163 #endif 164 159 165 160 166 static const char encodingTable [64] = { … … 732 738 } 733 739 734 #ifdef RTCM_TRANSFORM_MAIN 740 735 741 for(i = 0; i < hdata.numheaders; ++i) 736 742 printf("%s\n", hdata.data.unnamed[i]); 737 743 printf(" " 738 744 "END OF HEADER\n"); 739 #endif 740 } 745 } 746 747 #ifndef NO_RTCM3_MAIN 741 748 742 749 /* let the output complete a block if necessary */ … … 853 860 } 854 861 855 #ifdef RTCM_TRANSFORM_MAIN856 862 int main(int argc, char **argv) 857 863 { … … 995 1001 return 0; 996 1002 } 997 #endif 998 1003 1004 #endif // NO_RTCM3_MAIN -
trunk/BNC/bnc.pro
r82 r95 1 2 DEFINES += NO_RTCM3_MAIN 1 3 2 4 HEADERS = bncgetthread.h bncwindow.h bnctabledlg.h \
Note:
See TracChangeset
for help on using the changeset viewer.