Changeset 318 in ntrip for trunk/rtcm3torinex/rtcm3torinex.h


Ignore:
Timestamp:
Nov 15, 2006, 1:31:31 PM (17 years ago)
Author:
stoecker
Message:

some fixed, better error support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/rtcm3torinex.h

    r270 r318  
    44/*
    55  Converter for RTCM3 data to RINEX.
    6   $Id: rtcm3torinex.h,v 1.1 2006/11/02 13:34:00 stoecker Exp $
     6  $Id: rtcm3torinex.h,v 1.2 2006/11/03 11:50:11 stoecker Exp $
    77  Copyright (C) 2005-2006 by Dirk Stoecker <stoecker@euronik.eu>
    88
     
    130130  int    validwarning;
    131131  int    init;
     132  int    startflags;
    132133  const char * headerfile;
    133134};
     135
     136#ifndef PRINTFARG
     137#ifdef __GNUC__
     138#define PRINTFARG(a,b) __attribute__ ((format(printf, a, b)))
     139#else /* __GNUC__ */
     140#define PRINTFARG(a,b)
     141#endif /* __GNUC__ */
     142#endif /* PRINTFARG */
    134143
    135144void HandleHeader(struct RTCM3ParserData *Parser);
    136145int RTCM3Parser(struct RTCM3ParserData *handle);
    137146void HandleByte(struct RTCM3ParserData *Parser, unsigned int byte);
     147void PRINTFARG(1,2) RTCM3Error(const char *fmt, ...);
     148void PRINTFARG(1,2) RTCM3Text(const char *fmt, ...);
    138149
    139150#endif /* RTCM3TORINEX_H */
Note: See TracChangeset for help on using the changeset viewer.