libgeda

defines.h File Reference

global libgeda definitions More...

Go to the source code of this file.

Defines

#define FILEFORMAT_VERSION   2
#define VERSION_20000220   20000220
#define VERSION_20000704   20000704
#define VERSION_20020825   20020825
#define VERSION_20030921   20030921
#define PREPEND_VERSION_STRING   ""
#define MAX_COLORS   25
#define FULL_CIRCLE   360*64
#define SHOW_NAME_VALUE   0
#define SHOW_VALUE   1
#define SHOW_NAME   2
#define LEAVE_NAME_VALUE_ALONE   -1
#define INVISIBLE   0
#define VISIBLE   1
#define LEAVE_VISIBILITY_ALONE   -1
#define THIN   0
#define THICK   1
#define LINE_WIDTH   10
#define NET_WIDTH   10
#define PIN_WIDTH_NET   10
#define BUS_WIDTH   30
#define PIN_WIDTH_BUS   30
#define CUE_BOX_SIZE   30
#define JUNCTION_CUE_SIZE_NET   50
#define JUNCTION_CUE_SIZE_BUS   30
#define PIN_CUE_SIZE_NET   30
#define PIN_CUE_SIZE_BUS   50
#define NOT_FOUND_TEXT_X   100
#define NOT_FOUND_TEXT_Y   100
#define max(a, b)   ((a) > (b) ? (a) : (b))
#define min(a, b)   ((a) < (b) ? (a) : (b))
#define OPEN_DIR   0
#define READ_DIR   1
#define CLOSE_DIR   2
#define SET_COUNT   3
#define SLIB_SEARCH_START   0
#define SLIB_SEARCH_NEXT   1
#define SLIB_SEARCH_DONE   2
#define LOWER_LEFT   0
#define MIDDLE_LEFT   1
#define UPPER_LEFT   2
#define LOWER_MIDDLE   3
#define MIDDLE_MIDDLE   4
#define UPPER_MIDDLE   5
#define LOWER_RIGHT   6
#define MIDDLE_RIGHT   7
#define UPPER_RIGHT   8
#define TAB_CHAR_MODEL   "b"
#define CONN_NULL   0
#define CONN_ENDPOINT   1
#define CONN_MIDPOINT   2
#define MAX_TILES_X   10
#define MAX_TILES_Y   10
#define UNDO_ALL   0
#define UNDO_VIEWPORT_ONLY   1
#define LOG_WINDOW   0
#define STDOUT_TTY   1
#define BOTH_LOGWIN_STDOUT   2
#define NORMAL_FLAG   0
#define SELECTION_FLAG   1
#define HIERARCHY_NORMAL_LOAD   0
#define HIERARCHY_FORCE_LOAD   1
#define HIERARCHY_NODUPS   (1<<0)
#define HIERARCHY_POSTORDER   (1<<1)
#define HIERARCHY_INNERLOOP   (1<<7)
#define MILS_PER_INCH   1000
#define VECTOR_FONTS   0
#define PS_FONTS   1
#define EXTENTS   0
#define WINDOW   1
#define EXTENTS_NOMARGINS   2
#define BUTT_CAP   0
#define ROUND_CAP   1
#define SQUARE_CAP   2
#define LANDSCAPE   0
#define PORTRAIT   1
#define POSTSCRIPT   0
#define PNG   1
#define NEITHER   0
#define HORIZONTAL   1
#define VERTICAL   2
#define HORIZONTAL_ABOVE   3
#define HORIZONTAL_BELOW   4
#define VERTICAL_LEFT   5
#define VERTICAL_RIGHT   6
#define PIN_TYPE_NET   0
#define PIN_TYPE_BUS   1
#define APPEND   0
#define PREPEND   1
#define gEDA   0
#define SPICE   1
#define TANGO   2
#define NETATTRIB_ATTRIBUTE   0
#define NETNAME_ATTRIBUTE   1
#define NO_ERR   0
#define FLOAT_NET   1
#define FLOAT_PIN   2
#define DUP_NET_NAME   4
#define MAX_LINK_LEVEL   256
#define s_log_message   g_message
#define AUTOSAVE_BACKUP_FILENAME_STRING   "#%s#"
#define S_IWGRP   0
#define S_IWOTH   0
#define S_IXGRP   0
#define S_IXOTH   0
#define S_IRWXG   0
#define RETURN_G_RC_MODE(rc, var, size)

Detailed Description

Definition in file defines.h.


Define Documentation

#define FILEFORMAT_VERSION   2

Definition at line 29 of file defines.h.

#define VERSION_20000220   20000220

Definition at line 34 of file defines.h.

#define VERSION_20000704   20000704

Definition at line 35 of file defines.h.

#define VERSION_20020825   20020825

Definition at line 36 of file defines.h.

#define VERSION_20030921   20030921

Definition at line 37 of file defines.h.

#define PREPEND_VERSION_STRING   ""

Definition at line 47 of file defines.h.

#define MAX_COLORS   25

Definition at line 50 of file defines.h.

#define FULL_CIRCLE   360*64

Definition at line 53 of file defines.h.

#define SHOW_NAME_VALUE   0

Definition at line 56 of file defines.h.

#define SHOW_VALUE   1

Definition at line 57 of file defines.h.

#define SHOW_NAME   2

Definition at line 58 of file defines.h.

#define LEAVE_NAME_VALUE_ALONE   -1

Definition at line 59 of file defines.h.

#define INVISIBLE   0

Definition at line 62 of file defines.h.

#define VISIBLE   1

Definition at line 63 of file defines.h.

#define LEAVE_VISIBILITY_ALONE   -1

Definition at line 64 of file defines.h.

#define THIN   0

Definition at line 67 of file defines.h.

#define THICK   1

Definition at line 68 of file defines.h.

#define LINE_WIDTH   10

Definition at line 71 of file defines.h.

#define NET_WIDTH   10

Definition at line 72 of file defines.h.

#define PIN_WIDTH_NET   10

Definition at line 73 of file defines.h.

#define BUS_WIDTH   30

Definition at line 74 of file defines.h.

#define PIN_WIDTH_BUS   30

Definition at line 75 of file defines.h.

#define CUE_BOX_SIZE   30

Definition at line 78 of file defines.h.

#define JUNCTION_CUE_SIZE_NET   50

Definition at line 79 of file defines.h.

#define JUNCTION_CUE_SIZE_BUS   30

Definition at line 80 of file defines.h.

#define PIN_CUE_SIZE_NET   30

Definition at line 81 of file defines.h.

#define PIN_CUE_SIZE_BUS   50

Definition at line 82 of file defines.h.

#define NOT_FOUND_TEXT_X   100

Definition at line 85 of file defines.h.

#define NOT_FOUND_TEXT_Y   100

Definition at line 86 of file defines.h.

#define max (   a,
 
)    ((a) > (b) ? (a) : (b))

Definition at line 89 of file defines.h.

#define min (   a,
 
)    ((a) < (b) ? (a) : (b))

Definition at line 92 of file defines.h.

#define OPEN_DIR   0

Definition at line 95 of file defines.h.

#define READ_DIR   1

Definition at line 96 of file defines.h.

#define CLOSE_DIR   2

Definition at line 97 of file defines.h.

#define SET_COUNT   3

Definition at line 98 of file defines.h.

#define SLIB_SEARCH_START   0

Definition at line 101 of file defines.h.

#define SLIB_SEARCH_NEXT   1

Definition at line 102 of file defines.h.

#define SLIB_SEARCH_DONE   2

Definition at line 103 of file defines.h.

#define LOWER_LEFT   0

Definition at line 111 of file defines.h.

#define MIDDLE_LEFT   1

Definition at line 112 of file defines.h.

#define UPPER_LEFT   2

Definition at line 113 of file defines.h.

#define LOWER_MIDDLE   3

Definition at line 114 of file defines.h.

#define MIDDLE_MIDDLE   4

Definition at line 115 of file defines.h.

#define UPPER_MIDDLE   5

Definition at line 116 of file defines.h.

#define LOWER_RIGHT   6

Definition at line 117 of file defines.h.

#define MIDDLE_RIGHT   7

Definition at line 118 of file defines.h.

#define UPPER_RIGHT   8

Definition at line 119 of file defines.h.

#define TAB_CHAR_MODEL   "b"

Definition at line 123 of file defines.h.

#define CONN_NULL   0

Definition at line 126 of file defines.h.

#define CONN_ENDPOINT   1

Definition at line 127 of file defines.h.

#define CONN_MIDPOINT   2

Definition at line 128 of file defines.h.

#define MAX_TILES_X   10

Definition at line 131 of file defines.h.

#define MAX_TILES_Y   10

Definition at line 132 of file defines.h.

#define UNDO_ALL   0

Definition at line 135 of file defines.h.

#define UNDO_VIEWPORT_ONLY   1

Definition at line 136 of file defines.h.

#define LOG_WINDOW   0

Definition at line 139 of file defines.h.

#define STDOUT_TTY   1

Definition at line 140 of file defines.h.

#define BOTH_LOGWIN_STDOUT   2

Definition at line 141 of file defines.h.

#define NORMAL_FLAG   0

Definition at line 144 of file defines.h.

#define SELECTION_FLAG   1

Definition at line 145 of file defines.h.

#define HIERARCHY_NORMAL_LOAD   0

Definition at line 148 of file defines.h.

#define HIERARCHY_FORCE_LOAD   1

Definition at line 149 of file defines.h.

#define HIERARCHY_NODUPS   (1<<0)

Definition at line 152 of file defines.h.

#define HIERARCHY_POSTORDER   (1<<1)

Definition at line 153 of file defines.h.

#define HIERARCHY_INNERLOOP   (1<<7)

Definition at line 154 of file defines.h.

#define MILS_PER_INCH   1000

Definition at line 156 of file defines.h.

#define VECTOR_FONTS   0

Definition at line 159 of file defines.h.

#define PS_FONTS   1

Definition at line 160 of file defines.h.

#define EXTENTS   0

Definition at line 163 of file defines.h.

#define WINDOW   1

Definition at line 164 of file defines.h.

#define EXTENTS_NOMARGINS   2

Definition at line 165 of file defines.h.

#define BUTT_CAP   0

Definition at line 168 of file defines.h.

#define ROUND_CAP   1

Definition at line 169 of file defines.h.

#define SQUARE_CAP   2

Definition at line 170 of file defines.h.

#define LANDSCAPE   0

Definition at line 173 of file defines.h.

#define PORTRAIT   1

Definition at line 174 of file defines.h.

#define POSTSCRIPT   0

Definition at line 177 of file defines.h.

#define PNG   1

Definition at line 178 of file defines.h.

#define NEITHER   0

Definition at line 181 of file defines.h.

#define HORIZONTAL   1

Definition at line 182 of file defines.h.

#define VERTICAL   2

Definition at line 183 of file defines.h.

#define HORIZONTAL_ABOVE   3

Definition at line 184 of file defines.h.

#define HORIZONTAL_BELOW   4

Definition at line 185 of file defines.h.

#define VERTICAL_LEFT   5

Definition at line 186 of file defines.h.

#define VERTICAL_RIGHT   6

Definition at line 187 of file defines.h.

#define PIN_TYPE_NET   0

Definition at line 190 of file defines.h.

#define PIN_TYPE_BUS   1

Definition at line 191 of file defines.h.

#define APPEND   0

Definition at line 194 of file defines.h.

#define PREPEND   1

Definition at line 195 of file defines.h.

#define gEDA   0

Definition at line 198 of file defines.h.

#define SPICE   1

Definition at line 199 of file defines.h.

#define TANGO   2

Definition at line 200 of file defines.h.

#define NETATTRIB_ATTRIBUTE   0

Definition at line 203 of file defines.h.

#define NETNAME_ATTRIBUTE   1

Definition at line 204 of file defines.h.

#define NO_ERR   0

Definition at line 207 of file defines.h.

#define FLOAT_NET   1

Definition at line 208 of file defines.h.

#define FLOAT_PIN   2

Definition at line 209 of file defines.h.

#define DUP_NET_NAME   4

Definition at line 210 of file defines.h.

#define MAX_LINK_LEVEL   256

Definition at line 213 of file defines.h.

#define s_log_message   g_message

Definition at line 220 of file defines.h.

#define AUTOSAVE_BACKUP_FILENAME_STRING   "#%s#"

Definition at line 223 of file defines.h.

#define S_IWGRP   0

Definition at line 227 of file defines.h.

#define S_IWOTH   0

Definition at line 230 of file defines.h.

#define S_IXGRP   0

Definition at line 233 of file defines.h.

#define S_IXOTH   0

Definition at line 236 of file defines.h.

#define S_IRWXG   0

Definition at line 239 of file defines.h.

#define RETURN_G_RC_MODE (   rc,
  var,
  size 
)
Value:
return g_rc_mode_general(mode,        \
                           (rc),        \
                           &(var),      \
                           mode_table,  \
                           size)

Definition at line 244 of file defines.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines