First check-in of gedcom object model.
[gedcom-parse.git] / gom / user_rec.h
diff --git a/gom/user_rec.h b/gom/user_rec.h
new file mode 100644 (file)
index 0000000..5b54990
--- /dev/null
@@ -0,0 +1,36 @@
+/* Include file for the user record object in the gedcom object model.
+   Copyright (C) 2002 The Genes Development Team
+   This file is part of the Gedcom parser library.
+   Contributed by Peter Verthez <Peter.Verthez@advalvas.be>, 2002.
+
+   The Gedcom parser library is free software; you can redistribute it
+   and/or modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The Gedcom parser library is distributed in the hope that it will be
+   useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the Gedcom parser library; if not, write to the
+   Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+/* $Id$ */
+/* $Name$ */
+
+#ifndef __USER_REC_H
+#define __USER_REC_H
+
+#include "gom.h"
+#include "gom_internal.h"
+
+void user_rec_subscribe();
+void user_recs_cleanup();
+struct user_rec* make_user_record(char* xref);
+void user_data_cleanup(struct user_data* data);
+void user_rec_add_user_data(Gom_ctxt ctxt, struct user_data* data);
+
+#endif /* __USER_REC_H */