- bool init( FGPath path );
-
- // query the database for the specified frequency, lon and lat are
+ bool init( SGPath path );
+
+ // query the database for the specified fix
+ bool query( const string& ident, FGFix *f );
+
+ // Find fix of requested type with closest exact or following ident
+ // (by ACSII values) to that supplied (ie. a lower-bound lookup).
+ // Supplying true for exact forces only exact matches to be returned (similar to above function)
+ // Returns NULL if no match found.
+ const FGFix* findFirstByIdent( const string& ident, bool exact = false );
+
+ // query the database for the specified fix, lon and lat are