libgpsfile  0.2.2
some useful C-functions
gpx.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <cfe-tables/tables.h>
Include dependency graph for gpx.h:

Go to the source code of this file.

Typedefs

typedef int(* gpx_write_callback_t) (const char *, void **)
 

Functions

int write_gpx (const table_t *table, const char *filename, const char *trackname, const char *desc, const char *comment, const char *author, gpx_write_callback_t callback, void **out)
 
int write_gpx_callback_string (const char *in, void **out)
 
int write_gpx_callback_file (const char *in, void **out)
 
int read_gpx (FILE *f, table_t *table)
 

Typedef Documentation

◆ gpx_write_callback_t

typedef int(* gpx_write_callback_t) (const char *, void **)

Definition at line 9 of file gpx.h.

Function Documentation

◆ read_gpx()

int read_gpx ( FILE *  f,
table_t *  table 
)

◆ write_gpx()

int write_gpx ( const table_t *  table,
const char *  filename,
const char *  trackname,
const char *  desc,
const char *  comment,
const char *  author,
gpx_write_callback_t  callback,
void **  out 
)

◆ write_gpx_callback_file()

int write_gpx_callback_file ( const char *  in,
void **  out 
)

◆ write_gpx_callback_string()

int write_gpx_callback_string ( const char *  in,
void **  out 
)