-
Notifications
You must be signed in to change notification settings - Fork 0
/
trkpt.h
37 lines (31 loc) · 991 Bytes
/
trkpt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*=========================================================================
*
* Filename: trkpt.h
*
* Author: Marcelo Mourier
* Created: Mon Apr 11 11:24:16 MDT 2022
*
* Description: Track point API
*
*=========================================================================
*
* Copyright (c) 2022 Marcelo Mourier
*
*=========================================================================
*/
#ifndef TRKPT_H_
#define TRKPT_H_
#include "defs.h"
#ifdef __cplusplus
extern "C" {
#endif
extern TrkPt *nxtTrkPt(TrkPt **p1, TrkPt *p2);
extern TrkPt *remTrkPt(GpsTrk *pTrk, TrkPt *p);
extern TrkPt *newTrkPt(int index, const char *inFile, int lineNum);
extern const char *fmtTrkPtIdx(const TrkPt *pTrkPt);
extern void printTrkPt(TrkPt *p);
extern void dumpTrkPts(GpsTrk *pTrk, TrkPt *p, int numPtsBefore, int numPtsAfter);
#ifdef __cplusplus
};
#endif
#endif /* TRKPT_H_ */