mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-03 22:31:49 +00:00
Apply automated code formatting
Documented at .clang-format See http://clang.llvm.org/docs/ClangFormat.html and http://clang.llvm.org/docs/ClangFormatStyleOptions.html
This commit is contained in:
@@ -50,34 +50,34 @@
|
||||
*
|
||||
*-----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef GNSS_SDR_RTKLIB_STREAM_H_
|
||||
#define GNSS_SDR_RTKLIB_STREAM_H_
|
||||
#ifndef GNSS_SDR_RTKLIB_STREAM_H_
|
||||
#define GNSS_SDR_RTKLIB_STREAM_H_
|
||||
|
||||
#include "rtklib.h"
|
||||
|
||||
/* constants -----------------------------------------------------------------*/
|
||||
|
||||
#define TINTACT 200 /* period for stream active (ms) */
|
||||
#define SERIBUFFSIZE 4096 /* serial buffer size (bytes) */
|
||||
#define TIMETAGH_LEN 64 /* time tag file header length */
|
||||
#define MAXCLI 32 /* max client connection for tcp svr */
|
||||
#define MAXSTATMSG 32 /* max length of status message */
|
||||
#define TINTACT 200 /* period for stream active (ms) */
|
||||
#define SERIBUFFSIZE 4096 /* serial buffer size (bytes) */
|
||||
#define TIMETAGH_LEN 64 /* time tag file header length */
|
||||
#define MAXCLI 32 /* max client connection for tcp svr */
|
||||
#define MAXSTATMSG 32 /* max length of status message */
|
||||
|
||||
#define VER_RTKLIB "2.4.2"
|
||||
#define NTRIP_AGENT "RTKLIB/" VER_RTKLIB
|
||||
#define NTRIP_CLI_PORT 2101 /* default ntrip-client connection port */
|
||||
#define NTRIP_SVR_PORT 80 /* default ntrip-server connection port */
|
||||
#define NTRIP_MAXRSP 32768 /* max size of ntrip response */
|
||||
#define NTRIP_MAXSTR 256 /* max length of mountpoint string */
|
||||
#define NTRIP_RSP_OK_CLI "ICY 200 OK\r\n" /* ntrip response: client */
|
||||
#define NTRIP_RSP_OK_SVR "OK\r\n" /* ntrip response: server */
|
||||
#define NTRIP_RSP_SRCTBL "SOURCETABLE 200 OK\r\n" /* ntrip response: source table */
|
||||
#define NTRIP_RSP_TBLEND "ENDSOURCETABLE"
|
||||
#define NTRIP_RSP_HTTP "HTTP/" /* ntrip response: http */
|
||||
#define NTRIP_RSP_ERROR "ERROR" /* ntrip response: error */
|
||||
#define VER_RTKLIB "2.4.2"
|
||||
#define NTRIP_AGENT "RTKLIB/" VER_RTKLIB
|
||||
#define NTRIP_CLI_PORT 2101 /* default ntrip-client connection port */
|
||||
#define NTRIP_SVR_PORT 80 /* default ntrip-server connection port */
|
||||
#define NTRIP_MAXRSP 32768 /* max size of ntrip response */
|
||||
#define NTRIP_MAXSTR 256 /* max length of mountpoint string */
|
||||
#define NTRIP_RSP_OK_CLI "ICY 200 OK\r\n" /* ntrip response: client */
|
||||
#define NTRIP_RSP_OK_SVR "OK\r\n" /* ntrip response: server */
|
||||
#define NTRIP_RSP_SRCTBL "SOURCETABLE 200 OK\r\n" /* ntrip response: source table */
|
||||
#define NTRIP_RSP_TBLEND "ENDSOURCETABLE"
|
||||
#define NTRIP_RSP_HTTP "HTTP/" /* ntrip response: http */
|
||||
#define NTRIP_RSP_ERROR "ERROR" /* ntrip response: error */
|
||||
|
||||
#define FTP_CMD "wget" /* ftp/http command */
|
||||
#define FTP_TIMEOUT 30 /* ftp/http timeout (s) */
|
||||
#define FTP_CMD "wget" /* ftp/http command */
|
||||
#define FTP_TIMEOUT 30 /* ftp/http timeout (s) */
|
||||
|
||||
|
||||
serial_t *openserial(const char *path, int mode, char *msg);
|
||||
@@ -111,7 +111,7 @@ int writefile(file_t *file, unsigned char *buff, int n, char *msg);
|
||||
void syncfile(file_t *file1, file_t *file2);
|
||||
|
||||
void decodetcppath(const char *path, char *addr, char *port, char *user,
|
||||
char *passwd, char *mntpnt, char *str);
|
||||
char *passwd, char *mntpnt, char *str);
|
||||
|
||||
int errsock(void);
|
||||
|
||||
@@ -182,7 +182,7 @@ int writentrip(ntrip_t *ntrip, unsigned char *buff, int n, char *msg);
|
||||
int statentrip(ntrip_t *ntrip);
|
||||
|
||||
void decodeftppath(const char *path, char *addr, char *file, char *user,
|
||||
char *passwd, int *topts);
|
||||
char *passwd, int *topts);
|
||||
|
||||
gtime_t nextdltime(const int *topts, int stat);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user