Logo Search packages:      
Sourcecode: pymol version File versions

void*(* molfile_plugin_t::open_file_read)(const char *filepath, const char *filetype, int *natoms)

Try to open the file for reading. Return an opaque handle, or NULL on failure. Set the number of atoms; if the number of atoms cannot be determined, set natoms to MOLFILE_NUMATOMS_UNKNOWN. Filetype should be the name under which this plugin was registered; this is provided so that plugins can provide the same function pointer to handle multiple file types.

Referenced by VMDPLUGIN_register().


Generated by  Doxygen 1.6.0   Back to index