pcb 4.1.1
An interactive printed circuit board layout editor.

data.c File Reference

Just defines common identifiers. More...

#include "data.h"
Include dependency graph for data.c:

Go to the source code of this file.

Variables

CrosshairType Crosshair
MarkType Marked
OutputType Output
PCBTypePCB
char * Progname
SettingType Settings
int LayerStack [MAX_LAYER]
BufferType Buffers [MAX_BUFFER]
LibraryType Library
bool Bumped
int addedLines

Detailed Description

Just defines common identifiers.


Copyright.


PCB, interactive printed circuit board design

Copyright (C) 1994,1995,1996 Thomas Nau

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Contact addresses for paper mail and Email: Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany Thomas.Nau@rz.uni-ulm.de

Definition in file data.c.


Variable Documentation

BufferType Buffers[MAX_BUFFER]

my buffers.

Definition at line 56 of file data.c.

Referenced by InitBuffers(), SwapBuffers(), and UninitBuffers().

bool Bumped

if the undo serial number has changed.

Definition at line 58 of file data.c.

Referenced by ActionAtomic(), IncrementUndoSerialNumber(), ReleaseMode(), and SaveUndoSerialNumber().

pointer to layout struct.

Definition at line 50 of file data.c.

Referenced by _draw_pad(), _draw_pv(), _draw_pv_name(), acquire_twonets(), ActionAddRats(), ActionAttributes(), ActionChangeName(), ActionChangePinName(), ActionDisperseElements(), ActionDisplay(), ActionDJopt(), ActionDRCheck(), ActionElementList(), ActionElementSetAttr(), ActionFlip(), ActionImport(), ActionListRotations(), ActionLoadFrom(), ActionLoadVendorFrom(), ActionMinClearGap(), ActionMinMaskGap(), ActionMorphPolygon(), ActionMoveObject(), ActionNew(), ActionQuit(), ActionRenumber(), ActionRipUp(), ActionRouteStyle(), ActionSaveTo(), ActionSelect(), ActionSetLayertype(), ActionSetSame(), ActionSetThermal(), ActionSetValue(), ActionToggleHideName(), ActionUndo(), AddAllRats(), AddIrregularObstacle(), AddLine(), AddNet(), AddObjectToCreateUndoList(), AddObjectToMoveToLayerUndoList(), AddPad(), AddSelectedToBuffer(), AddTextToBuffer(), AdjustAttachedLine(), AdjustAttachedObjects(), AdjustInsertPoint(), AdjustStyle(), AdjustTwoLine(), apply_vendor_map(), assign_eagle_file_suffix(), assign_hackvana_file_suffix(), assign_oshpark_file_suffix(), AssignDefaultLayerTypes(), AttachForCopy(), AutoPlaceSelected(), AutoRoute(), Backup(), Benchmark(), biggest(), bom_get_export_options(), Center(), CenterDisplay(), ChangeArcAngles(), ChangeArcClearSize(), ChangeArcJoin(), ChangeArcSize(), ChangeBuriedViasAfterLayerCreate(), ChangeBuriedViasAfterLayerDelete(), ChangeBuriedViasAfterLayerMove(), ChangeElement2ndSize(), ChangeElementName(), ChangeElementNameSize(), ChangeElementSide(), ChangeElementSize(), ChangeElementText(), ChangeGroupVisibility(), ChangeHole(), ChangeLayoutName(), ChangeLineClearSize(), ChangeLineJoin(), ChangeLineSize(), ChangeObjectClearSize(), ChangeObjectViaLayers(), ChangePadClearSize(), ChangePadMaskSize(), ChangePadSize(), ChangePadSquare(), ChangePCBSize(), ChangePin2ndSize(), ChangePinClearSize(), ChangePinMaskSize(), ChangePinOctagon(), ChangePinSize(), ChangePinSquare(), ChangePinThermal(), ChangePolyClear(), ChangeSelectedClearSize(), ChangeSelectedElementSide(), ChangeSelectedHole(), ChangeSelectedPaste(), ChangeSelectedViaLayers(), ChangeTextJoin(), ChangeTextName(), ChangeTextSize(), ChangeVia2ndSize(), ChangeViaClearSize(), ChangeViaMaskSize(), ChangeViaOctagon(), ChangeViaSize(), ChangeViaThermal(), check_externally_modified(), check_line_callback(), check_pin(), check_snap_offgrid_line(), CheckArcPointForRubberbandConnection(), CheckLinePointForRat(), CheckLinePointForRubberbandConnection(), CheckPadForRat(), CheckPadForRubberbandConnection(), CheckPinForRat(), CheckPolygonForRubberbandConnection(), CheckShorts(), ClearBuffer(), ClearFlagOnLinesAndPolygons(), ClearFlagOnPinsViasAndPads(), ClearFromPolygon(), clearPin_callback(), ClearWarnings(), ClosePolygon(), collectSelectedElements(), CollectSubnets(), common_draw_pcb_arc(), common_draw_pcb_line(), common_draw_pcb_text(), common_gui_draw_pcb_polygon(), ComputeCost(), config_layers_apply(), config_sizes_apply(), config_sizes_tab_create(), ConvertBufferToElement(), CopyAttachedPolygonToLayer(), CopyElement(), CopyElementLowLevel(), CopyObjectToUndoList(), CopyPastebufferToLayout(), CopyPolygon(), CopyText(), CopyVia(), CountHoles(), CountHolesEx(), create_pcb_line(), CreateNewBuffer(), createPerturbation(), CreateRouteData(), crosshair_update_range(), cur_clip(), cursor_pos_to_widget(), CursorAction(), Debug(), define_pcb_net(), DeleteRats(), describe_location(), DestroyPolygonPoint(), doPerturb(), draw_dozen_cross(), draw_element_name(), draw_element_package(), draw_element_pins_and_pads(), draw_pad(), draw_pad_name(), draw_pin(), draw_right_cross(), draw_slanted_cross(), draw_via(), DrawAttached(), DrawBackgroundImage(), DrawElementName(), DrawElementPinsAndPads(), DrawEMark(), DrawEverything(), DrawHoles(), DrawLayer(), DrawLayerGroup(), DrawMask(), DrawMaskBoardArea(), DrawNewConnections(), DrawObject(), DrawPaste(), DrawPPV(), DrawRats(), DrawShortestRats(), DrawSilk(), drc_callback(), drc_lines(), DRCAll(), DRCFind(), edit_layer_button_cb(), element_name_for(), EnforceLineDRC(), eps_hid_export_to_file(), eps_set_layer(), EraseElementName(), escape(), Expand(), Export(), export_oproutes(), export_pcb_drawarc(), export_pcb_drawline(), extents_set_layer(), find_element_by_refdes(), find_pairs(), FindPad(), FindPin(), FitCrosshairIntoGrid(), FlagCurrentStyle(), FlagElementName(), FlagGrid(), FlagGridSize(), FlagIsDataEmpty(), FlagLayerActive(), FlagLayerShown(), FlagTESTFLAG(), FontEdit(), FontSave(), FreeRotateElementLowLevel(), GatherSubnets(), gcode_choose_groups(), gcode_do_export(), gcode_fill_circle(), gcode_get_export_options(), gcode_set_layer(), gcode_start_gcode(), gcode_start_png(), gcode_start_png_export(), gerber_do_export(), gerber_draw_arc(), gerber_draw_line(), gerber_fill_circle(), gerber_fill_polygon(), gerber_get_export_options(), gerber_set_layer(), GetLayerGroupNumberByNumber(), GetLayerGroupNumberByPointer(), GetMaxBottomLayer(), GetUndoSlot(), ghid_config_groups_changed(), ghid_config_layer_name_update(), ghid_dialog_close_confirm(), ghid_draw_bg_image(), ghid_draw_grid(), ghid_drawing_area_expose_cb(), ghid_handle_user_command(), ghid_layer_buttons_color_update(), ghid_layer_buttons_update(), ghid_menu_cb(), ghid_netlist_window_update(), ghid_notify_save_pcb(), ghid_pinout_preview_expose(), ghid_port_button_press_cb(), ghid_port_button_release_cb(), ghid_port_ranges_scale(), ghid_render_pixmap(), ghid_request_debug_draw(), ghid_set_layer(), ghid_set_status_line_label(), ghid_sync_with_new_layout(), ghid_window_set_name_label(), ghid_zoom_view_abs(), ghid_zoom_view_fit(), GotoError(), grok_layer_groups(), group_showing(), groupcount(), gsvit_alloc_colors(), gsvit_build_net_from_selected(), gsvit_choose_groups(), gsvit_create_netlist(), gsvit_destroy_netlist(), gsvit_do_export(), gsvit_draw_pcb_arc(), gsvit_draw_pcb_line(), gsvit_fill_pcb_pad(), gsvit_fill_pcb_polygon(), gsvit_fill_pcb_pv(), gsvit_get_export_options(), gsvit_lookup_net_from_arc(), gsvit_lookup_net_from_line(), gsvit_lookup_net_from_pad(), gsvit_lookup_net_from_polygon(), gsvit_lookup_net_from_pv(), gsvit_set_layer(), gsvit_start_png(), gsvit_start_png_export(), gsvit_write_xcentroids(), gsvit_write_xnets(), gsvit_write_xspace(), handle_get_filename(), hid_restore_layer_ons(), hid_save_and_show_layer_ons(), hidgl_draw_grid(), hole_callback(), identify_layer(), idle_proc(), import_geometry(), ImportGUI(), info(), InitComponentLookup(), InitCrosshair(), InitLayoutLookup(), InsertPointIntoLine(), InsertPointIntoPolygon(), IPCD356_get_export_options(), IPCD356_Netlist(), IPCD356_SanityCheck(), IPCD356_WriteAliases(), IPCD356_WriteHeader(), IPCD356_WriteNet(), IronDownAllUnfixedPaths(), IsLayerGroupEmpty(), IsLayerNumEmpty(), IsPasteEmpty(), LastNormalLayerInSideGroup(), layer_button_callback(), layer_name_entry_cb(), layer_process(), layer_selector_rename_callback(), layer_selector_select_callback(), layer_selector_toggle_callback(), layer_type_to_file_name(), LayerGroupsToString(), layerpick_button_callback(), LayersChanged(), LayerStringToLayerStack(), lesstif_do_export(), lesstif_draw_arc(), lesstif_draw_grid(), lesstif_draw_line(), lesstif_draw_rect(), lesstif_fill_circle(), lesstif_fill_rect(), lesstif_insert_style_buttons(), lesstif_invalidate_all(), lesstif_pan_fixup(), lesstif_set_layer(), lesstif_sizes_reset(), lesstif_update_layer_groups(), lesstif_use_mask(), LesstifNetlistChanged(), lgbutton_expose(), ListStart(), LoadElementToBuffer(), LoadLayoutToBuffer(), lookup_keepaway(), lookup_thickness(), LookupConnection(), LookupConnectionsToAllElements(), LookupLOConnectionsToArc(), LookupLOConnectionsToLine(), LookupLOConnectionsToLOList(), LookupLOConnectionsToPad(), LookupLOConnectionsToPolygon(), LookupLOConnectionsToPVList(), LookupLOConnectionsToRatEnd(), LookupPVConnectionsToLOList(), LookupPVConnectionsToPVList(), LookupRubberbandLines(), LookupUnusedPins(), main(), make_route_style_buttons(), mark_delta_to_widget(), maybe_pull_1(), MirrorElementCoordinates(), MorphPolygon(), move_all_thermals(), moveable_edge(), MoveArc(), MoveArcToLayer(), MoveElement(), MoveElementLowLevel(), MoveElementName(), MoveElementToBuffer(), MoveLayer(), MoveLayerToGroup(), MoveLine(), moveline_callback(), MoveLinePoint(), MoveLineToLayer(), MoveObjectToRemoveUndoList(), MovePolygon(), MovePolygonPoint(), MovePolygonToLayer(), MoveRatToLayer(), MoveText(), MoveTextToLayerLowLevel(), MoveVia(), nbcb_ripup(), nbcb_std_callback(), nelma_choose_groups(), nelma_do_export(), nelma_get_export_options(), nelma_set_layer(), nelma_start_png(), nelma_start_png_export(), nelma_write_layer(), nelma_write_layers(), nelma_write_nets(), nelma_write_object(), nelma_write_objects(), nelma_write_space(), net_model_create(), Netlist(), netlist_add(), netlist_clear(), netlist_rip_up_cb(), netlist_select(), netname_to_netname(), netnode_browse(), netnode_to_netname(), NotifyLine(), NotifyMode(), padcleaner(), Pan(), pan_common(), Parse(), parse_arguments(), parse_layout_attribute_units(), ParseElementFile(), ParseLibraryEntry(), pcb_main_uninit(), PCBChanged(), PCBFileVersionNeeded(), pick_net(), pinout_callback(), place(), png_do_export(), png_draw_line(), png_get_export_options(), png_hid_export_to_file(), png_set_layer(), Print(), PrintBOM(), PrintFab(), PrintFab_overhang(), ProcNetlist(), ps_fill_circle(), ps_get_export_options(), ps_hid_export_to_file(), ps_set_layer(), ps_start_file(), Px(), Py(), QueryInputAndChangeObjectName(), QuitApplication(), r_find_neighbor(), rat_callback(), rat_used(), RD_DrawLine(), RD_DrawVia(), read_board_constraints(), read_pads(), read_points(), ReadNetlist(), real_load_pcb(), redraw_region(), REGISTER_ATTRIBUTES(), relocate(), remove_line(), RemoveDegradedVias(), RemoveElement(), RemovePolygonContour(), RemovePolygonPoint(), RemoveRat(), RemoveVia(), renumber_block(), renumber_buffer(), ReportAllNetLengths(), ReportDialog(), ReportDrills(), ReportFoundPins(), ReportNetLength(), ReportNetLengthByName(), ResetStackAndVisibility(), ResetVisitPinsViasAndPads(), RestoreStackAndVisibility(), RestoreToPolygon(), RevertPCB(), ripout_livedraw_obj(), RotateArc(), RotateElement(), RotateElementLowLevel(), RotateElementName(), RotateLinePoint(), RotateObject(), RotateScreenObject(), RotateText(), route_styles_edited_cb(), RouteAll(), RouteStylesChanged(), Save(), SaveInTMP(), SaveStackAndVisibility(), SearchElementByLocation(), SearchElementNameByLocation(), SearchObjectByLocation(), SearchPadByLocation(), SearchPinByLocation(), SearchRatLineByLocation(), SearchViaByLocation(), SelectBlock(), SelectBuriedVias(), SelectByFlag(), SelectedOperation(), selection_changed_cb(), SelectLayer(), SelectObject(), set_layer_object_color(), set_some_route_style(), SetChangedFlag(), SetCrosshairRange(), SetGrid(), SetLineSize(), SetMode(), SetRouteStyle(), SetTextBoundingBox(), SetUnits(), show_file_modified_externally_prompt(), sizes_set(), smartdisperse(), SmashBufferElement(), sort_netlist(), style_button(), style_name_cb(), style_selected(), style_set_cb(), SubtractText(), SwapBuffer(), SwapSides(), teardrops(), text_at(), text_callback(), ToggleView(), toporouter_output_init(), TracePath(), Undo(), UndoChange2ndSize(), UndoChangeAngles(), UndoChangeClearSize(), UndoChangeMaskSize(), UndoChangeName(), UndoChangeSize(), UndoClearPoly(), UndoCopyOrCreate(), UndoFlag(), UndoInsertPoint(), UndoMirror(), UndoMove(), UndoMoveToLayer(), UndoRemove(), UndoRemovePoint(), UndoRotate(), UndoSetViaLayers(), UndoSwapCopiedObject(), UnsubtractArc(), UnsubtractLine(), UnsubtractPad(), UnsubtractPin(), UnsubtractText(), update_board_mtime_from_disk(), ViaIsOnAnyVisibleLayer(), Vx(), Vy(), WritePCB(), WritePCBDataHeader(), WritePCBFontData(), WritePCBNetlistData(), WritePCBRatData(), WritePipe(), XORDrawBuffer(), XORDrawElement(), XYtoNetLength(), zoom_max(), and zoom_to().

char* Progname

Definition at line 52 of file data.c.

Referenced by copyright(), gerber_set_layer(), main(), MyFatal(), ps_start_file(), usage(), and WritePCBInfoHeader().

Definition at line 53 of file data.c.

Referenced by _draw_pv_name(), _table_attach(), ActionAddRats(), ActionChangeClearSize(), ActionChangeSize(), ActionDeleteRats(), ActionDisplay(), ActionDRCheck(), ActionImport(), ActionMode(), ActionNew(), ActionPolygon(), ActionRedo(), ActionRipUp(), ActionSelect(), ActionSetSame(), ActionSetValue(), ActionUndo(), AddAllRats(), AddNet(), AdjustAttachedBox(), AdjustAttachedLine(), AdjustAttachedObjects(), AdjustStyle(), append_drc_violation(), apply_vendor_map(), AttachForCopy(), backup_cb(), bom_get_export_options(), ChangeGroupVisibility(), check_snap_offgrid_line(), ClearWarnings(), click_cb(), config_backup_spin_button_cb(), config_general_tab_create(), config_layers_apply(), config_sizes_apply(), config_sizes_tab_create(), ConvertBufferToElement(), CreateDefaultFont(), CreateNewPCB(), CreateNewPCBPost(), CreateNewPin(), CreateNewVia(), CreateRouteData(), crosshair_update_range(), cursor_pos_to_widget(), draw_crosshair(), draw_pad_name(), DrawAttached(), DrawMark(), DrawPaste(), DrawRat(), DrawShortestRats(), drc_lines(), EnableAutosave(), eps_hid_export_to_file(), escape(), EvaluateFilename(), FinishStroke(), FitCrosshairIntoGrid(), FlagBuffer(), FlagCurrentStyle(), FlagMode(), FlagSETTINGS(), FlagUnitsMil(), FlagUnitsMm(), FontEdit(), GatherPadName(), GatherPVName(), gcode_get_export_options(), ghid_attribute_dialog(), ghid_config_files_read(), ghid_config_handle_units_changed(), ghid_config_text_scale_update(), ghid_coord_entry(), ghid_draw_grid(), ghid_drc_window_show(), ghid_handle_user_command(), ghid_idle_cb(), ghid_library_window_create(), ghid_log_window_create(), ghid_make_gc(), ghid_mode_buttons_update(), ghid_netlist_window_create(), ghid_parse_arguments(), ghid_pinout_window_show(), ghid_port_drawing_area_configure_event_cb(), ghid_set_cursor_position_labels(), ghid_set_status_line_label(), ghid_table_coord_entry(), ghid_timer(), ghid_violation_renderer_set_property(), ghid_watch(), grid_units_button_cb(), gridsnap(), hid_actionv(), hidgl_draw_grid(), hole_callback(), idle_proc(), ImportGUI(), InsertPointIntoRat(), IPCD356_WriteHeader(), IPCD356_WriteNet(), layer_process(), LayersChanged(), LayerStringToLayerStack(), lesstif_do_export(), lesstif_draw_grid(), lesstif_show_crosshair(), lesstif_sizes_reset(), lesstif_styles_update_values(), lesstif_update_status_line(), Load(), load_rc_file(), LoadElementToBuffer(), LoadFootprintByName(), lookup_keepaway(), lookup_thickness(), LookupConnection(), LookupConnectionsToAllElements(), LookupElementConnections(), LookupUnusedPins(), main(), make_cursor_position_labels(), mark_delta_to_widget(), miter(), MoveLayer(), moveline_callback(), MoveLineToLayer(), MoveRatToLayer(), NotifyLine(), NotifyMode(), orthopull_1(), ParseFont(), ParseLibraryEntry(), ParseLibraryTree(), ParsePCB(), pcb_author(), pcb_colors_from_settings(), pcb_main_uninit(), pcb_use_route_style(), pinout_set_data(), pinout_set_view(), png_hid_export_to_file(), PointCursor(), pv_arc_callback(), pv_line_callback(), pv_pad_callback(), pv_pv_callback(), QuitApplication(), rat_callback(), ReadLibraryContents(), ReadNetlist(), real_load_pcb(), REGISTER_ATTRIBUTES(), ReleaseMode(), ReportAllNetLengths(), ReportDrills(), ReportNetLength(), ReportNetLengthByName(), route_styles_edited_cb(), RouteStylesChanged(), Save(), SaveMode(), SetBufferNumber(), SetGrid(), SetKeepawayWidth(), SetLineSize(), SetMode(), SetTextScale(), SetUnits(), SetViaDrillingHole(), SetViaSize(), sizes_set(), style_set_cb(), style_value_cb(), SwapSides(), sz_str2val(), sz_val2str(), update_values(), vertex_net_keepaway(), vertex_net_thickness(), work_area_first_expose(), WritePCB(), WritePCBDataHeader(), WritePipe(), and XORDrawElement().