summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/model/asn_print/README3
-rw-r--r--src/model/asn_print/asn_print_authlist.c31
-rw-r--r--src/model/asn_print/asn_print_authlist.h8
-rw-r--r--src/model/asn_print/asn_print_citgen.c24
-rw-r--r--src/model/asn_print/asn_print_citgen.h8
-rw-r--r--src/model/asn_print/asn_print_citsub.c13
-rw-r--r--src/model/asn_print/asn_print_citsub.h8
-rw-r--r--src/model/asn_print/asn_print_personid.c42
-rw-r--r--src/model/asn_print/asn_print_personid.h8
-rw-r--r--src/model/asn_print/asn_print_pub.c40
-rw-r--r--src/model/asn_print/asn_print_pub.h8
11 files changed, 193 insertions, 0 deletions
diff --git a/src/model/asn_print/asn_print_citgen.c b/src/model/asn_print/asn_print_citgen.c
new file mode 100644
index 0000000..4e4edb3
--- a/dev/null
+++ b/src/model/asn_print/asn_print_citgen.c
@@ -0,0 +1,24 @@
1#include "asn_print_citgen.h"
2#include "asn_print_authlist.h"
3
4void
5asn_print_citgen (CitGenPtr c)
6{
7 printf (" TYPE: %s\n", c->cit);
8
9 printf (" TITLE: %s\n", c->title);
10
11 if (c->pmid != -1)
12 printf (" PubMed ID: %i\n", c->pmid);
13
14 if (c->muid != -1)
15 printf (" MEDLINE UID: %i\n", c->muid);
16
17 if (c->authors != NULL)
18 {
19 printf (" AUTHORS\n");
20 asn_print_authlist (c->authors);
21 }
22
23 return;
24}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.