summaryrefslogtreecommitdiffstats
path: root/src/model/asn_print/asn_print_authlist.c (plain)
blob: c14e7d6cda6e919f43225a599a52837c43557c62
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "asn_print_authlist.h"
#include "asn_print_personid.h"

void
asn_print_authlist (AuthListPtr a)
{
  switch (a->choice)
    {
    case 1 :
      {
	ValNodePtr name = a->names;
	while (name != NULL)
	  {
	    AuthorPtr ap = (AuthorPtr)name->data.ptrvalue;
	    PersonIdPtr pid = ap->name;
	    printf ("        AUTHOR\n");
	    asn_print_personid (pid);

	    name = name->next;
	  }
	break;
      }

    default:
      printf ("AUTHLIST-CHOICE UNHANDLED: %i\n", a->choice);
      exit (-1);
      break;
    }

  return;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.