#include <string.h>
#include <math.h>
#include <stdarg.h>
#include <fcntl.h>
#include "cmaplib.h"
#include "cmap_header.h"
#include "cmap_labels.h"
#include "cmap_errno.h"
Functions | |
CMMFile * | init_cmap_read (void) |
CMMFile * | init_cmap_write (void) |
int | is_cmap (CCP4File *file) |
void * | ccp4_cmap_open (const char *filename, int mode) |
void* ccp4_cmap_open | ( | const char * | filename, | |
int | mode | |||
) |
The file is opened.
filename | (char *) the filename | |
mode | (int) the i/o mode , possible values are O_RDONLY, O_WRONLY, O_RDWR, O_APPEND, O_TMP, O_CREAT, O_TRUNC - see ccp4_sysdep.h |
References ccp4_file_close(), ccp4_file_open(), ccp4_file_rarch(), ccp4_file_raw_setstamp(), ccp4_signal(), init_cmap_read(), init_cmap_write(), and is_cmap().
CMMFile* init_cmap_read | ( | void | ) |
CMMFile* init_cmap_write | ( | void | ) |
int is_cmap | ( | CCP4File * | file | ) |
Internal: Identify file as a ccp4 format map
file | The (CCP4File *) struct representing the file. |
References ccp4_file_raw_seek(), ccp4_file_readchar(), and ccp4_file_rewind().
Referenced by ccp4_cmap_open().