Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Macros | Functions
WrtCSSR.c File Reference

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)
 

Detailed Description

Write a CSSR file.

Version
V1.4
Date
07.07.14
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

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.

Description:

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.

Usage:

WriteCSSR(fp,cssr,name,title)
Parameters
[in]*fpA pointer to type FILE in which the CSSR file is stored.
[in]*cssrA pointer to the first allocated item of the CSSR linked list
[in]*nameThe molecule's name.
[in]*titleTitle on the molecule.

Revision History:

Definition in file WrtCSSR.c.

Macro Definition Documentation

#define CR   13

Definition at line 98 of file WrtCSSR.c.

#define LF   10

Definition at line 99 of file WrtCSSR.c.

Function Documentation

void blWriteCSSR ( FILE *  fp,
CSSR cssr,
char *  name,
char *  title 
)
Parameters
[in]*fpA pointer to type FILE in which the CSSR file is stored.
[in]*cssrA pointer to the first allocated item of the CSSR linked list
[in]*nameThe molecule's name.
[in]*titleTitle on the molecule.

Write a CSSR file from a CSSR linked list.

  • 22.09.91 Original
  • 01.06.92 Autodoc'd
  • 10.06.93 void return; float->REAL
  • 27.07.93 f -> lf
  • 01.03.94 lf -> f (!)
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 130 of file WrtCSSR.c.