InChI
 
Loading...
Searching...
No Matches
inchi_dll.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
#include <errno.h>
#include <limits.h>
#include <float.h>
#include <math.h>
#include <locale.h>
#include "../../../INCHI_BASE/src/mode.h"
#include "../../../INCHI_BASE/src/incomdef.h"
#include "../../../INCHI_BASE/src/ichidrp.h"
#include "../../../INCHI_BASE/src/inpdef.h"
#include "../../../INCHI_BASE/src/ichi.h"
#include "../../../INCHI_BASE/src/strutil.h"
#include "../../../INCHI_BASE/src/util.h"
#include "../../../INCHI_BASE/src/ichierr.h"
#include "../../../INCHI_BASE/src/ichimain.h"
#include "../../../INCHI_BASE/src/extr_ct.h"
#include "../../../INCHI_BASE/src/ichi_io.h"
#include "../../../INCHI_BASE/src/ichicomp.h"
#include "../../../INCHI_BASE/src/inchi_api.h"
#include "../../../INCHI_BASE/src/readinch.h"
#include "../../../INCHI_BASE/src/ichitaut.h"
#include "../../../INCHI_BASE/src/ichicant.h"
#include "../../../INCHI_BASE/src/ichitime.h"
#include "../../../INCHI_BASE/src/bcf_s.h"
#include "inchi_dll.h"
+ Include dependency graph for inchi_dll.c:

Macros

#define REPEAT_ALL   0
 
#define MIN_BOND_LENGTH   (1.0e-6)
 
#define MAX_MSG_LEN   512
 

Functions

int SetAtomProperties (inp_ATOM *at, MOL_COORD *szCoord, inchi_Atom *ati, int a1, int *nDim, char *pStrErr, int *err)
 
void SetNumImplicitH (inp_ATOM *at, int num_atoms)
 
int SetBondProperties (inp_ATOM *at, inchi_Atom *ati, int a1, int j, int nNumAtoms, int *nNumBonds, char *pStrErr, int *err)
 
int SetAtomAndBondProperties (inp_ATOM *at, inchi_Atom *ati, int a1, int bDoNotAddH, char *pStrErr, int *err)
 
int InpAtom0DToInchiAtom (inp_ATOM *at, int num_inp_atoms, AT_NUM *num_atoms, inchi_Atom **atom, AT_NUM *num_stereo0D, inchi_Stereo0D **stereo0D)
 
int ExtractOneStructure (STRUCT_DATA *sd, INPUT_PARMS *ip, char *szTitle, inchi_InputEx *inp, INCHI_IOSTREAM *log_file, INCHI_IOSTREAM *out_file, INCHI_IOSTREAM *prb_file, ORIG_ATOM_DATA *orig_inp_data, long *num_inp)
 
static int GetINCHI1 (inchi_InputEx *inp, inchi_Output *out, int enforce_std_format)
 
int SetExtOrigAtDataByInChIExtInput (OAD_Polymer **ppPolymer, OAD_V3000 **ppV3000, inchi_Input_Polymer *polymer, inchi_Input_V3000 *v3000, int nat)
 
int SetInChIExtInputByExtOrigAtData (OAD_Polymer *pPolymer, OAD_V3000 *pV3000, inchi_Input_Polymer **ipolymer, inchi_Input_V3000 **iv3000, int nat)
 
EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeINCHI (inchi_Output *out)
 
EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeStdINCHI (inchi_Output *out)
 
EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeStructFromStdINCHI (inchi_OutputStruct *out)
 
EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeStructFromINCHI (inchi_OutputStruct *out)
 
EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetStdINCHI (inchi_Input *inp, inchi_Output *out)
 
EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetINCHI (inchi_Input *inp, inchi_Output *out)
 
int input_erroneously_contains_pseudoatoms (inchi_Input *inp, inchi_Output *out)
 
EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetINCHIEx (inchi_InputEx *inp, inchi_Output *out)
 
void produce_generation_output (inchi_Output *out, STRUCT_DATA *sd, INPUT_PARMS *ip, INCHI_IOSTREAM *log_file, INCHI_IOSTREAM *out_file)
 
void copy_corrected_log_tail (inchi_Output *out, INCHI_IOSTREAM *log_file)
 
EXPIMP_TEMPLATE INCHI_API int INCHI_DECL CheckINCHI (const char *szINCHI, const int strict)
 
int parse_options_string (char *cmd, const char *argv[], int maxargs)
 
int INCHI_DECL GetStringLength (char *p)
 
int INCHI_DECL GetINCHIfromINCHI (inchi_InputINCHI *inpInChI, inchi_Output *out)
 
EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetStructFromStdINCHI (inchi_InputINCHI *inpInChI, inchi_OutputStruct *outStruct)
 
EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetStructFromINCHIEx (inchi_InputINCHI *inpInChI, inchi_OutputStructEx *outStruct)
 
EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetStructFromINCHI (inchi_InputINCHI *inpInChI, inchi_OutputStruct *out)
 
EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeStructFromINCHIEx (inchi_OutputStructEx *out)
 
void FreeInChIExtInput (inchi_Input_Polymer *polymer, inchi_Input_V3000 *v3000)
 

Variables

int bInterrupted = 0
 

Macro Definition Documentation

◆ MAX_MSG_LEN

#define MAX_MSG_LEN   512

◆ MIN_BOND_LENGTH

#define MIN_BOND_LENGTH   (1.0e-6)

◆ REPEAT_ALL

#define REPEAT_ALL   0

Function Documentation

◆ CheckINCHI()

EXPIMP_TEMPLATE INCHI_API int INCHI_DECL CheckINCHI ( const char *  szINCHI,
const int  strict 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ copy_corrected_log_tail()

void copy_corrected_log_tail ( inchi_Output out,
INCHI_IOSTREAM log_file 
)
+ Here is the caller graph for this function:

◆ ExtractOneStructure()

int ExtractOneStructure ( STRUCT_DATA sd,
INPUT_PARMS ip,
char *  szTitle,
inchi_InputEx inp,
INCHI_IOSTREAM log_file,
INCHI_IOSTREAM out_file,
INCHI_IOSTREAM prb_file,
ORIG_ATOM_DATA orig_inp_data,
long *  num_inp 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FreeINCHI()

EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeINCHI ( inchi_Output out)
+ Here is the caller graph for this function:

◆ FreeInChIExtInput()

void FreeInChIExtInput ( inchi_Input_Polymer polymer,
inchi_Input_V3000 v3000 
)
+ Here is the caller graph for this function:

◆ FreeStdINCHI()

EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeStdINCHI ( inchi_Output out)
+ Here is the call graph for this function:

◆ FreeStructFromINCHI()

EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeStructFromINCHI ( inchi_OutputStruct out)
+ Here is the caller graph for this function:

◆ FreeStructFromINCHIEx()

EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeStructFromINCHIEx ( inchi_OutputStructEx out)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FreeStructFromStdINCHI()

EXPIMP_TEMPLATE INCHI_API void INCHI_DECL FreeStructFromStdINCHI ( inchi_OutputStruct out)
+ Here is the call graph for this function:

◆ GetINCHI()

EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetINCHI ( inchi_Input inp,
inchi_Output out 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetINCHI1()

static int GetINCHI1 ( inchi_InputEx inp,
inchi_Output out,
int  enforce_std_format 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetINCHIEx()

EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetINCHIEx ( inchi_InputEx inp,
inchi_Output out 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetINCHIfromINCHI()

int INCHI_DECL GetINCHIfromINCHI ( inchi_InputINCHI inpInChI,
inchi_Output out 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetStdINCHI()

EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetStdINCHI ( inchi_Input inp,
inchi_Output out 
)
+ Here is the call graph for this function:

◆ GetStringLength()

int INCHI_DECL GetStringLength ( char *  p)

◆ GetStructFromINCHI()

EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetStructFromINCHI ( inchi_InputINCHI inpInChI,
inchi_OutputStruct out 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetStructFromINCHIEx()

EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetStructFromINCHIEx ( inchi_InputINCHI inpInChI,
inchi_OutputStructEx outStruct 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetStructFromStdINCHI()

EXPIMP_TEMPLATE INCHI_API int INCHI_DECL GetStructFromStdINCHI ( inchi_InputINCHI inpInChI,
inchi_OutputStruct outStruct 
)
+ Here is the call graph for this function:

◆ InpAtom0DToInchiAtom()

int InpAtom0DToInchiAtom ( inp_ATOM at,
int  num_inp_atoms,
AT_NUM num_atoms,
inchi_Atom **  atom,
AT_NUM num_stereo0D,
inchi_Stereo0D **  stereo0D 
)
+ Here is the caller graph for this function:

◆ input_erroneously_contains_pseudoatoms()

int input_erroneously_contains_pseudoatoms ( inchi_Input inp,
inchi_Output out 
)
+ Here is the caller graph for this function:

◆ parse_options_string()

int parse_options_string ( char *  cmd,
const char *  argv[],
int  maxargs 
)
+ Here is the caller graph for this function:

◆ produce_generation_output()

void produce_generation_output ( inchi_Output out,
STRUCT_DATA sd,
INPUT_PARMS ip,
INCHI_IOSTREAM log_file,
INCHI_IOSTREAM out_file 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAtomAndBondProperties()

int SetAtomAndBondProperties ( inp_ATOM at,
inchi_Atom ati,
int  a1,
int  bDoNotAddH,
char *  pStrErr,
int *  err 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAtomProperties()

int SetAtomProperties ( inp_ATOM at,
MOL_COORD szCoord,
inchi_Atom ati,
int  a1,
int *  nDim,
char *  pStrErr,
int *  err 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetBondProperties()

int SetBondProperties ( inp_ATOM at,
inchi_Atom ati,
int  a1,
int  j,
int  nNumAtoms,
int *  nNumBonds,
char *  pStrErr,
int *  err 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetExtOrigAtDataByInChIExtInput()

int SetExtOrigAtDataByInChIExtInput ( OAD_Polymer **  ppPolymer,
OAD_V3000 **  ppV3000,
inchi_Input_Polymer polymer,
inchi_Input_V3000 v3000,
int  nat 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetInChIExtInputByExtOrigAtData()

int SetInChIExtInputByExtOrigAtData ( OAD_Polymer pPolymer,
OAD_V3000 pV3000,
inchi_Input_Polymer **  ipolymer,
inchi_Input_V3000 **  iv3000,
int  nat 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetNumImplicitH()

void SetNumImplicitH ( inp_ATOM at,
int  num_atoms 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ bInterrupted

int bInterrupted = 0