BRL-CAD
mapped_file.h File Reference
#include "common.h"
#include <sys/types.h>
#include <stddef.h>
#include "bu/defines.h"
#include "bu/magic.h"
#include "bu/list.h"
Include dependency graph for mapped_file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bu_mapped_file
 

Macros

#define BU_MAPPED_FILE_NULL   ((struct bu_mapped_file *)0)
 
#define BU_CK_MAPPED_FILE(_mf)   BU_CKMAG(_mf, BU_MAPPED_FILE_MAGIC, "bu_mapped_file")
 
#define BU_MAPPED_FILE_INIT(_mf)
 
#define BU_MAPPED_FILE_INIT_ZERO   { {BU_MAPPED_FILE_MAGIC, BU_LIST_NULL, BU_LIST_NULL}, NULL, NULL, 0, 0, NULL, NULL, 0, 0, 0, 0 }
 
#define BU_MAPPED_FILE_IS_INITIALIZED(_hp)   (((struct bu_mapped_file *)(_hp) != BU_MAPPED_FILE_NULL) && LIKELY((_hp)->l.magic == BU_MAPPED_FILE_MAGIC))
 

Typedefs

typedef struct bu_mapped_file bu_mapped_file_t
 

Functions

struct bu_mapped_filebu_open_mapped_file (const char *name, const char *appl)
 
void bu_close_mapped_file (struct bu_mapped_file *mp)
 
void bu_pr_mapped_file (const char *title, const struct bu_mapped_file *mp)
 
void bu_free_mapped_files (int verbose)
 
struct bu_mapped_filebu_open_mapped_file_with_path (char *const *path, const char *name, const char *appl)