cfitsio  3390
Data Structures | Macros | Functions
drvrmem.c File Reference
#include <string.h>
#include <stdlib.h>
#include <stddef.h>
#include "fitsio2.h"
Include dependency graph for drvrmem.c:

Data Structures

struct  memdriver
 

Macros

#define RECBUFLEN   1000
 

Functions

int zuncompress2mem (char *filename, FILE *diskfile, char **buffptr, size_t *buffsize, void *(*mem_realloc)(void *p, size_t newsize), size_t *filesize, int *status)
 
int mem_init (void)
 
int mem_setoptions (int options)
 
int mem_getoptions (int *options)
 
int mem_getversion (int *version)
 
int mem_shutdown (void)
 
int mem_create (char *filename, int *handle)
 
int mem_create_comp (char *filename, int *handle)
 
int mem_openmem (void **buffptr, size_t *buffsize, size_t deltasize, void *(*memrealloc)(void *p, size_t newsize), int *handle)
 
int mem_createmem (size_t msize, int *handle)
 
int mem_truncate (int handle, LONGLONG filesize)
 
int stdin_checkfile (char *urltype, char *infile, char *outfile)
 
int stdin_open (char *filename, int rwmode, int *handle)
 
int stdin2mem (int hd)
 
int stdin2file (int handle)
 
int stdout_close (int handle)
 
int mem_compress_openrw (char *filename, int rwmode, int *hdl)
 
int mem_compress_open (char *filename, int rwmode, int *hdl)
 
int mem_compress_stdin_open (char *filename, int rwmode, int *hdl)
 
int mem_iraf_open (char *filename, int rwmode, int *hdl)
 
int mem_rawfile_open (char *filename, int rwmode, int *hdl)
 
int mem_uncompress2mem (char *filename, FILE *diskfile, int hdl)
 
int mem_size (int handle, LONGLONG *filesize)
 
int mem_close_free (int handle)
 
int mem_close_keep (int handle)
 
int mem_close_comp (int handle)
 
int mem_seek (int handle, LONGLONG offset)
 
int mem_read (int hdl, void *buffer, long nbytes)
 
int mem_write (int hdl, void *buffer, long nbytes)
 

Macro Definition Documentation

#define RECBUFLEN   1000

Function Documentation

int mem_close_comp ( int  handle)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_close_free ( int  handle)

Here is the caller graph for this function:

int mem_close_keep ( int  handle)

Here is the caller graph for this function:

int mem_compress_open ( char *  filename,
int  rwmode,
int *  hdl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_compress_openrw ( char *  filename,
int  rwmode,
int *  hdl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_compress_stdin_open ( char *  filename,
int  rwmode,
int *  hdl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_create ( char *  filename,
int *  handle 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_create_comp ( char *  filename,
int *  handle 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_createmem ( size_t  msize,
int *  handle 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_getoptions ( int *  options)

Here is the caller graph for this function:

int mem_getversion ( int *  version)

Here is the caller graph for this function:

int mem_init ( void  )

Here is the caller graph for this function:

int mem_iraf_open ( char *  filename,
int  rwmode,
int *  hdl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_openmem ( void **  buffptr,
size_t *  buffsize,
size_t  deltasize,
void *(*)(void *p, size_t newsize)  memrealloc,
int *  handle 
)

Here is the caller graph for this function:

int mem_rawfile_open ( char *  filename,
int  rwmode,
int *  hdl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_read ( int  hdl,
void *  buffer,
long  nbytes 
)

Here is the caller graph for this function:

int mem_seek ( int  handle,
LONGLONG  offset 
)

Here is the caller graph for this function:

int mem_setoptions ( int  options)

Here is the caller graph for this function:

int mem_shutdown ( void  )

Here is the caller graph for this function:

int mem_size ( int  handle,
LONGLONG filesize 
)

Here is the caller graph for this function:

int mem_truncate ( int  handle,
LONGLONG  filesize 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_uncompress2mem ( char *  filename,
FILE *  diskfile,
int  hdl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int mem_write ( int  hdl,
void *  buffer,
long  nbytes 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int stdin2file ( int  handle)

Here is the call graph for this function:

Here is the caller graph for this function:

int stdin2mem ( int  hd)

Here is the call graph for this function:

Here is the caller graph for this function:

int stdin_checkfile ( char *  urltype,
char *  infile,
char *  outfile 
)

Here is the caller graph for this function:

int stdin_open ( char *  filename,
int  rwmode,
int *  handle 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int stdout_close ( int  handle)

Here is the call graph for this function:

Here is the caller graph for this function:

int zuncompress2mem ( char *  filename,
FILE *  diskfile,
char **  buffptr,
size_t *  buffsize,
void *(*)(void *p, size_t newsize)  mem_realloc,
size_t *  filesize,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function: