#include "config.h"
#include "xgpsspeed.h"
#include "xgpsspeed.icon"
#include "nmea.h"
#include <unistd.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <fcntl.h>
Include dependency graph for gps.c:
Go to the source code of this file.
Defines | |
#define | BUFSIZE 4096 |
#define | DEFAULTPORT "2947" |
#define | Offset(field) (XtOffset(XGpsResources *, field)) |
Typedefs | |
typedef _XGpsResources | XGpsResources |
Functions | |
static void | open_input (XtAppContext app) |
int | errexit (char *s) |
int | main (int argc, char **argv) |
Usage () | |
void | update_display () |
static void | handle_input (XtPointer client_data, int *source, XtInputId *id) |
int | my_serial_open () |
Variables | |
char | latd |
char | lond |
double | latitude |
double | longitude |
int | device_type |
int | debug = 0 |
Widget | toplevel |
Widget | base |
Widget | tacho |
Widget | label |
Widget | title |
static XrmOptionDescRec | options [] |
XGpsResources | resources |
static XtResource | my_resources [] |
String | fallback_resources [] |
|
Definition at line 13 of file gps.c. Referenced by handle_input(). |
|
Definition at line 14 of file gps.c. Referenced by my_serial_open(). |
|
|
|
|
|
Definition at line 200 of file gps.c. References handle_input(), and my_serial_open(). Referenced by main(). |
|
Definition at line 54 of file gps.c. Referenced by my_serial_open(). |
|
Definition at line 61 of file gps.c. References base, fallback_resources, label, my_resources, open_input(), options, resources, tacho, and toplevel. |
|
|
|
Definition at line 128 of file gps.c. References tacho. Referenced by handle_input(). |
|
Definition at line 143 of file gps.c. References BUFSIZE, and update_display(). Referenced by open_input(). |
|
Definition at line 176 of file gps.c. References DEFAULTPORT, and errexit(). Referenced by open_input(). |
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 24 of file gps.c. Referenced by main(). |
|
Definition at line 24 of file gps.c. Referenced by main(). |
|
Definition at line 25 of file gps.c. Referenced by main(), and update_display(). |
|
Definition at line 25 of file gps.c. Referenced by main(). |
|
|
|
Initial value: { {"-rv", "*reverseVideo", XrmoptionNoArg, "TRUE"}, {"-nc", "*needleColor", XrmoptionSepArg, NULL}, {"-needlecolor", "*needleColor", XrmoptionSepArg, NULL}, } Definition at line 27 of file gps.c. Referenced by main(). |
|
Definition at line 40 of file gps.c. Referenced by main(). |
|
Initial value: { } Definition at line 44 of file gps.c. Referenced by main(). |
|
Initial value: { } Definition at line 47 of file gps.c. Referenced by main(). |