Changeset 95 in ntrip


Ignore:
Timestamp:
Sep 1, 2006, 9:36:54 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/rtcm3torinex.cpp

    r86 r95  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.cpp,v 1.3 2006/08/25 11:50:34 mervart Exp $
     3  $Id: rtcm3torinex.cpp,v 1.4 2006/08/31 09:20:09 mervart Exp $
    44
    55  Program written bei
     
    3636*/
    3737
     38#ifndef NO_RTCM3_MAIN
     39#include <stdint.h>
     40#include <getopt.h>
     41#endif
     42
    3843#include <ctype.h>
    3944#include <errno.h>
    40 #include <getopt.h>
    4145#include <math.h>
    4246#include <netdb.h>
    4347#include <netinet/in.h>
    4448#include <signal.h>
    45 #include <stdint.h>
    4649#include <stdio.h>
    4750#include <stdlib.h>
     
    5255#include <unistd.h>
    5356
     57
     58
    5459/* The string, which is send as agent in HTTP request */
    5560#define AGENTSTRING "NTRIP NtripRTCM3ToRINEX"
     
    5762#define MAXDATASIZE 1000 /* max number of bytes we can get at once */
    5863
     64#include "rtcm3torinex.h"
     65
    5966/* CVS revision and version */
    60 static char revisionstr[] = "$Revision: 1.3 $";
    61 static char datestr[]     = "$Date: 2006/08/25 11:50:34 $";
     67static char revisionstr[] = "$Revision: 1.4 $";
     68static char datestr[]     = "$Date: 2006/08/31 09:20:09 $";
    6269static int stop = 0;
    6370
    64 
    65 
    66 #include "rtcm3torinex.h"
    67 
     71#ifndef NO_RTCM3_MAIN
    6872
    6973struct Args
     
    157161  return res;
    158162}
     163#endif
     164
    159165
    160166static const char encodingTable [64] = {
     
    732738  }
    733739
    734 #ifdef RTCM_TRANSFORM_MAIN
     740
    735741  for(i = 0; i < hdata.numheaders; ++i)
    736742    printf("%s\n", hdata.data.unnamed[i]);
    737743  printf("                                                            "
    738744  "END OF HEADER\n");
    739 #endif
    740 }
     745}
     746
     747#ifndef NO_RTCM3_MAIN
    741748
    742749/* let the output complete a block if necessary */
     
    853860}
    854861
    855 #ifdef RTCM_TRANSFORM_MAIN
    856862int main(int argc, char **argv)
    857863{
     
    9951001  return 0;
    9961002}
    997 #endif
    998 
     1003
     1004#endif   // NO_RTCM3_MAIN
  • trunk/BNC/bnc.pro

    r82 r95  
     1
     2DEFINES += NO_RTCM3_MAIN
    13
    24HEADERS =             bncgetthread.h    bncwindow.h   bnctabledlg.h   \
Note: See TracChangeset for help on using the changeset viewer.