Bioplib
Protein Structure C Library
|
Write a CSSR file. More...
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include "MathType.h"
#include "cssr.h"
#include "macros.h"
Go to the source code of this file.
Macros | |
#define | CR 13 |
#define | LF 10 |
Functions | |
void | blWriteCSSR (FILE *fp, CSSR *cssr, char *name, char *title) |
Write a CSSR file.
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.
blWriteCSSR(fp,cssr,name,title)
This subroutine will write a CSSR file from a linked list of structures of type cssr_entry.
The strucure is set up by including the file "cssr.h". For details of the structure, see this file.
[in] | *fp | A pointer to type FILE in which the CSSR file is stored. |
[in] | *cssr | A pointer to the first allocated item of the CSSR linked list |
[in] | *name | The molecule's name. |
[in] | *title | Title on the molecule. |
Definition in file WrtCSSR.c.
void blWriteCSSR | ( | FILE * | fp, |
CSSR * | cssr, | ||
char * | name, | ||
char * | title | ||
) |
[in] | *fp | A pointer to type FILE in which the CSSR file is stored. |
[in] | *cssr | A pointer to the first allocated item of the CSSR linked list |
[in] | *name | The molecule's name. |
[in] | *title | Title on the molecule. |
Write a CSSR file from a CSSR linked list.