1
/* Copyright (C) 2000 Damir Zucic */
3
/*=============================================================================
8
Execute pattern command: define the residue pattern. Residue
9
pattern is relatively short, but more flexible than sequence.
10
More than one residue may be specified at the given position.
11
The length of pattern is fixed, i.e. deletions and insertions
12
are not allowed. Asterisk may be used to allow any residue at
16
(1) Pointer to MolComplexS structure.
17
(2) The number of macromolecular complexes.
18
(3) Pointer to RuntimeS structure.
19
(4) Pointer to the string with command parameters.
22
(1) Pattern stored to the pattern buffer.
26
(1) Positive (command) code on success.
27
(2) Negative (error) code on failure.
30
(1) The pattern is expected in three letters code. One letter
31
code may be missinterpreted as valid three letters code.
33
========includes:============================================================*/
40
#include <X11/Xutil.h>
42
#include <X11/Xatom.h>
48
/*======function prototypes:=================================================*/
52
/*======execute pattern command:=============================================*/
54
int Pattern_ (MolComplexS *mol_complexSP, int mol_complexesN,
55
RuntimeS *runtimeSP, char *stringP)
58
/*@@*/ /* Not implemented yet! */
60
/*@@*/ /* Note that RuntimeS allready has reserved storage for patterns: */
61
/*@@*/ /* pattern_buffer_size, pattern_length, *patternP, namesNA */
64
/* Return the command code: */
65
return COMMAND_PATTERN;
68
/*===========================================================================*/