# gpsd.h

Structures:- | Provides fundamental types and structures for the GPS daemon. Only key structures are analysed here. Simple definitions and prototype definitions are ignored.
Notes based on code as of Mon Apr 5 21:38:06 2010 -0400
This file is created at `configure` time by combining `gpsd.h-head`, certain configuration options from the auto-generated file `gpsd_configure.h` and `gpsd.h-tail`. This file (`gpsd.h`) should not be edited directly, neither should `gpsd.h-head`. You should only edit `gpsd.h-tail` as needed.
`struct gps_packet_t {}` | Provides the data structure used by `packet_getter()`. 1 per gpsd session.
`struct gps_context_t {}` | Provides context data like number of good fixes seen. 1 per gpsd session.
`struct gps_type_t {}` | This is the method table that every driver uses to communicate with the daemon. It is a table of entry points or externally visible data. 1 per driver type.
`struct gps_device_t {}` | This is the data belonging to a session (global state) and also private storage for the session's associated device driver (if needed). 1 per gpsd session.