InChI
 
Loading...
Searching...
No Matches
inchi_dll_b.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: MIT
3 * Copyright (c) 2024 IUPAC and InChI Trust
4 */
5
6
7#ifndef __INCHI_DLL_B_H__
8#define __INCHI_DLL_B_H__
9
10#ifndef AB_PARITY_UNKN
11#define AB_PARITY_UNKN 3 /* 3 => user marked as unknown parity */
12#endif
13#ifndef AB_PARITY_UNDF
14#define AB_PARITY_UNDF 4 /* 4 => parity cannot be defined because of symmetry or not well defined geometry */
15#endif
16
17
18#define MOL2INCHI_NO_RAM 1001
19#define MOL2INCHI_BAD_COMMAND_LINE 1002
20
21
22void FreeInchi_Stereo0D( inchi_Stereo0D **stereo0D );
23void FreeInchi_Atom( inchi_Atom **at );
24inchi_Atom *CreateInchiAtom( int num_atoms );
25inchi_Stereo0D *CreateInchi_Stereo0D( int num_stereo0D );
26void FreeInchi_Input( inchi_Input *inp_at_data );
27S_SHORT *is_in_the_slist( S_SHORT *pathAtom, S_SHORT nNextAtom, int nPathLen );
28int is_element_a_metal( char szEl[] );
29
30int InchiToInchiAtom( INCHI_IOSTREAM *inp_molfile,
31 inchi_Stereo0D **stereo0D,
32 int *num_stereo0D,
33 int bDoNotAddH,
34 int vABParityUnknown,
35 INPUT_TYPE nInputType,
36 inchi_Atom **at,
37 int max_num_at,
38 int *num_dimensions,
39 int *num_bonds,
40 char *pSdfLabel,
41 char *pSdfValue,
42 long *Id,
43 INCHI_MODE *pInpAtomFlags,
44 int *err,
45 char *pStrErr );
46
47
48#endif /* __INCHI_DLL_B_H__ */
enum tagInputType INPUT_TYPE
unsigned long INCHI_MODE
Definition ichisize.h:25
signed short S_SHORT
Definition inchi_api.h:84
inchi_Atom * CreateInchiAtom(int num_atoms)
Definition inchi_dll_b.c:83
int is_element_a_metal(char szEl[])
Definition inchi_dll_b.c:523
inchi_Stereo0D * CreateInchi_Stereo0D(int num_stereo0D)
Definition readinch.c:83
int InchiToInchiAtom(INCHI_IOSTREAM *inp_molfile, inchi_Stereo0D **stereo0D, int *num_stereo0D, int bDoNotAddH, int vABParityUnknown, INPUT_TYPE nInputType, inchi_Atom **at, int max_num_at, int *num_dimensions, int *num_bonds, char *pSdfLabel, char *pSdfValue, long *Id, INCHI_MODE *pInpAtomFlags, int *err, char *pStrErr)
Definition inchi_dll_b.c:562
void FreeInchi_Input(inchi_Input *inp_at_data)
Definition inchi_dll_b.c:405
void FreeInchi_Stereo0D(inchi_Stereo0D **stereo0D)
Definition readinch.c:90
void FreeInchi_Atom(inchi_Atom **at)
Definition inchi_dll_b.c:72
S_SHORT * is_in_the_slist(S_SHORT *pathAtom, S_SHORT nNextAtom, int nPathLen)
Definition inchi_dll_b.c:511
Definition inchi_api.h:399
Definition inchi_api.h:431
Definition inchi_api.h:99
Definition mode.h:999