dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ae8605
)
Add a function to retrieve an xref by its key.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sun, 1 Sep 2002 14:00:47 +0000
(14:00 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sun, 1 Sep 2002 14:00:47 +0000
(14:00 +0000)
An xref's type is not always known -> XREF_ANY added.
include/gedcom.h.in
patch
|
blob
|
history
diff --git
a/include/gedcom.h.in
b/include/gedcom.h.in
index ddc18edd792734434a9168b0517d378cdc62f805..8a2fb5abd4ee71d19435ac72a14613ec82e4cc11 100644
(file)
--- a/
include/gedcom.h.in
+++ b/
include/gedcom.h.in
@@
-328,7
+328,8
@@
typedef enum _XREF_TYPE {
XREF_SOUR,
XREF_SUBM,
XREF_SUBN,
- XREF_USER
+ XREF_USER,
+ XREF_ANY
} Xref_type;
struct xref_value {
@@
-486,6
+487,7
@@
void gedcom_subscribe_to_element(Gedcom_elt elt,
/* Separate value parsing functions */
struct date_value gedcom_parse_date(char* line_value);
struct age_value gedcom_parse_age(char* line_value);
+struct xref_value *gedcom_get_by_xref(char *key);
__END_DECLS