libgeda

g_register.c File Reference

#include <config.h>
#include <missing.h>
#include <stdio.h>
#include <sys/stat.h>
#include "libgeda_priv.h"
Include dependency graph for g_register.c:

Go to the source code of this file.

Data Structures

struct  gsubr_t

Functions

void g_register_libgeda_funcs (void)
 Register all libgeda functions with scheme.
void g_register_libgeda_dirs (void)
 Register some libgeda directories with Scheme.

Variables

static struct gsubr_t libgeda_funcs []

Function Documentation

void g_register_libgeda_funcs ( void  )
Function Description
Creates g_subr_t objects to make g_rc_* functions that are defined in g_rc.c visible to Scheme.

Definition at line 83 of file g_register.c.

void g_register_libgeda_dirs ( void  )
Function Description
Ensures that the default gEDA Scheme directory is added to the Guile load path.

Definition at line 100 of file g_register.c.

Here is the call graph for this function:


Variable Documentation

struct gsubr_t libgeda_funcs[] [static]
Initial value:
 {
  { "eval-protected",           1, 1, 0, g_scm_eval_protected },
  { "eval-string-protected",    1, 0, 0, g_scm_eval_string_protected },

  { "component-library",        1, 1, 0, g_rc_component_library },
  { "component-library-command", 3, 0, 0, g_rc_component_library_command },
  { "component-library-funcs",  3, 0, 0, g_rc_component_library_funcs },
  { "source-library",           1, 0, 0, g_rc_source_library },
  { "source-library-search",    1, 0, 0, g_rc_source_library_search },
  
  { "world-size",               3, 0, 0, g_rc_world_size },
  
  { "reset-component-library",  0, 0, 0, g_rc_reset_component_library },
  { "reset-source-library",     0, 0, 0, g_rc_reset_source_library },
  
  { "untitled-name",            1, 0, 0, g_rc_untitled_name },
  { "scheme-directory",         1, 0, 0, g_rc_scheme_directory },
  { "bitmap-directory",         1, 0, 0, g_rc_bitmap_directory },
  { "bus-ripper-symname",       1, 0, 0, g_rc_bus_ripper_symname },
  { "postscript-prolog",        1, 0, 0, g_rc_postscript_prolog },
  { "attribute-promotion",       1, 0, 0, g_rc_attribute_promotion },
  { "promote-invisible",         1, 0, 0, g_rc_promote_invisible },
  { "keep-invisible",            1, 0, 0, g_rc_keep_invisible },
  { "always-promote-attributes",1, 0, 0, g_rc_always_promote_attributes },
  { "make-backup-files",        1, 0, 0, g_rc_make_backup_files },
  { "print-color-map", 0, 1, 0, g_rc_print_color_map },
  { "rc-filename",              0, 0, 0, g_rc_rc_filename },
  { NULL,                       0, 0, 0, NULL } }

Definition at line 49 of file g_register.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines