Bioplib
Protein Structure C Library
|
Go to the source code of this file.
Functions | |
char ** | blGetPDBChainLabels (PDB *pdb, int *nChains) |
This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.
The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.
The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.
Definition in file GetPDBChainLabels.c.
char** blGetPDBChainLabels | ( | PDB * | pdb, |
int * | nChains | ||
) |
[in] | *pdb | PDB linked list |
[out] | nChains | Number of chains found. |
Scans a PDB linked list for chain names. Allocates memory for an array of strings containing these labels which is returned together with the number of chains found.
N.B. You must free the allocated memory for both the array of chains and for each individual chain label when you've finished with it!
Definition at line 118 of file GetPDBChainLabels.c.