#include <gedcom.h>
+#include "../storage/storage.h"
+
/**
* @file familia_gedcom.h
* @brief GEDCOM Parser integration code.
*/
+/**
+ * Familia - Gedcom context.
+ * Used for passing current object/value between different states.
+ */
+struct fged_ctxt {
+ /** Currently parsed object, stored in storage */
+ void * object;
+
+ /** Type of current object */
+ enum familia_storage_type type;
+};
+
+enum fged_timestamp_type {
+ UNSET,
+
+ BIRTH,
+
+};
+
+/**
+ * Familia - Gedcom timestampable context.
+ */
+struct fged_timestampable_ctxt {
+ /** Parent context */
+ struct familia_gedcom_parser_ctxt * ctxt;
+
+ /** Type of the timestamp */
+ enum fged_timestamp_type type;
+};
+
/**
* Initializes integration with gedcom-parse library
*/