BRL-CAD
gcv_private.h File Reference
#include "common.h"
#include "plugin.h"
#include "gcv.h"
Include dependency graph for gcv_private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  gcv_conversion_type { GCV_CONVERSION_READ, GCV_CONVERSION_WRITE }
 

Functions

void gcv_plugin_register (const struct gcv_plugin_info *plugin_info)
 
const struct gcv_convertergcv_converter_find (const char *path, enum gcv_conversion_type type)
 

Detailed Description

Private header for libgcv.

Definition in file gcv_private.h.

Enumeration Type Documentation

Enumerator
GCV_CONVERSION_READ 
GCV_CONVERSION_WRITE 

Definition at line 39 of file gcv_private.h.

Function Documentation

void gcv_plugin_register ( const struct gcv_plugin_info plugin_info)

Definition at line 55 of file plugin.c.

References BU_GET, BU_LIST_PUSH, gcv_plugin::l, and gcv_plugin::plugin_info.

Referenced by RegisterPlugin::RegisterPlugin().

const struct gcv_converter* gcv_converter_find ( const char *  path,
enum gcv_conversion_type  type 
)

Definition at line 98 of file plugin.c.

References BU_LIST_FOR, gcv_plugin_info::converters, gcv_converter::file_extensions, GCV_CONVERSION_READ, GCV_CONVERSION_WRITE, gcv_extension_match(), gcv_plugin::plugin_info, gcv_converter::reader_fn, and gcv_converter::writer_fn.

Referenced by gcv_reader(), and gcv_writer().

Here is the call graph for this function: