-rw-r--r-- | src/model/asn_print/README | 3 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_authlist.c | 31 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_authlist.h | 8 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_citgen.c | 24 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_citgen.h | 8 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_citsub.c | 13 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_citsub.h | 8 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_personid.c | 42 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_personid.h | 8 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_pub.c | 40 | ||||
-rw-r--r-- | src/model/asn_print/asn_print_pub.h | 8 |
11 files changed, 193 insertions, 0 deletions
diff --git a/src/model/asn_print/asn_print_authlist.c b/src/model/asn_print/asn_print_authlist.c new file mode 100644 index 0000000..c14e7d6 --- a/dev/null +++ b/src/model/asn_print/asn_print_authlist.c | |||
@@ -0,0 +1,31 @@ | |||
1 | #include "asn_print_authlist.h" | ||
2 | #include "asn_print_personid.h" | ||
3 | |||
4 | void | ||
5 | asn_print_authlist (AuthListPtr a) | ||
6 | { | ||
7 | switch (a->choice) | ||
8 | { | ||
9 | case 1 : | ||
10 | { | ||
11 | ValNodePtr name = a->names; | ||
12 | while (name != NULL) | ||
13 | { | ||
14 | AuthorPtr ap = (AuthorPtr)name->data.ptrvalue; | ||
15 | PersonIdPtr pid = ap->name; | ||
16 | printf (" AUTHOR\n"); | ||
17 | asn_print_personid (pid); | ||
18 | |||
19 | name = name->next; | ||
20 | } | ||
21 | break; | ||
22 | } | ||
23 | |||
24 | default: | ||
25 | printf ("AUTHLIST-CHOICE UNHANDLED: %i\n", a->choice); | ||
26 | exit (-1); | ||
27 | break; | ||
28 | } | ||
29 | |||
30 | return; | ||
31 | } | ||