gattrib

prototype.h

Go to the documentation of this file.
00001 
00006 /* ---------------- gattrib.c ---------------- */
00007 gboolean gattrib_really_quit(void);
00008 gint gattrib_quit(gint return_code);
00009 
00010 /* -------------- parsecmd.c ----------------- */
00011 void usage(char *cmd);   
00012      /* output usage string */
00013 int parse_commandline(int argc, char *argv[]);
00014      /* run through cmd line options and set mode switches. */
00015 
00016 /* -------------- listsort.c ----------------- */
00017 int cmp(STRING_LIST *a, STRING_LIST *b);
00018 STRING_LIST *listsort(STRING_LIST *list, int is_circular, int is_double);
00019 
00020 /* ------------- f_export.c ------------- */
00021 void f_export_components(gchar *filename);
00022 
00023 
00024 /* ------------- g_register.c ------------- */
00025 void g_register_funcs(void);
00026 SCM g_quit(void);
00027 
00028 
00029 /* ------------- g_rc.c ------------- */
00030 SCM g_rc_gattrib_version(SCM version);
00031 
00032 /* ------------- s_attrib.c ------------- */
00033 int s_attrib_name_in_list(STRING_LIST *name_value_list, char *name);
00034 char *s_attrib_get_refdes(OBJECT *object);
00035 
00036 /* ------------- s_sheet_data.c ------------- */
00037 SHEET_DATA *s_sheet_data_new();
00038 
00039 void s_sheet_data_add_master_comp_list_items(const GList *obj_list);
00040 void s_sheet_data_add_master_comp_attrib_list_items(const GList *obj_list);
00041 void s_sheet_data_add_master_net_list_items(const GList *obj_list);
00042 void s_sheet_data_add_master_net_attrib_list_items(const GList *obj_list);
00043 void s_sheet_data_add_master_pin_list_items(const GList *obj_list);
00044 void s_sheet_data_add_master_pin_attrib_list_items(const GList *obj_list);
00045 
00046 void s_sheet_data_gtksheet_to_sheetdata();
00047 
00048 
00049 /* ------------- s_string_list.c ------------- */
00050 STRING_LIST *s_string_list_new();
00051 STRING_LIST *s_string_list_duplicate_string_list(STRING_LIST *old_string_list);
00052 void s_string_list_add_item(STRING_LIST *list, int *count, char *item);
00053 void s_string_list_delete_item(STRING_LIST **list, int *count, char *item);
00054 int s_string_list_in_list(STRING_LIST *list, char *item);
00055 gchar *s_string_list_get_data_at_index(STRING_LIST *list, gint index);
00056 
00057 void s_string_list_sort_master_comp_list();
00058 void s_string_list_sort_master_comp_attrib_list();
00059 void s_string_list_sort_master_net_list();
00060 void s_string_list_sort_master_net_attrib_list();
00061 void s_string_list_sort_master_pin_list();
00062 void s_string_list_sort_master_pin_attrib_list();
00063 
00064 
00065 /* ------------- s_table.c ------------- */
00066 TABLE **s_table_new(int rows, int cols);
00067 TABLE **s_table_resize(TABLE **table,
00068                        int rows, int old_cols, int new_cols);
00069 void s_table_destroy(TABLE **table, int row_count, int col_count);
00070 int s_table_get_index(STRING_LIST *list, char *string);
00071 STRING_LIST *s_table_create_attrib_pair(gchar *row_name, 
00072                     TABLE **table, 
00073                     STRING_LIST *row_list,
00074                     int num_attribs);
00075 
00076 void s_table_add_toplevel_comp_items_to_comp_table(const GList *obj_list);
00077 void s_table_add_toplevel_net_items_to_net_table(const GList *obj_list);
00078 void s_table_add_toplevel_pin_items_to_pin_table(const GList *obj_list);
00079 
00080 void s_table_gtksheet_to_all_tables();
00081 void s_table_gtksheet_to_table(GtkSheet *local_gtk_sheet, 
00082                   STRING_LIST *master_row_list, STRING_LIST *master_col_list, 
00083                   TABLE **local_table, int num_rows, int num_cols);
00084 
00085 /* ------------- s_toplevel.c ------------- */
00086 int s_toplevel_read_page(TOPLEVEL *toplevel, char *filename);
00087 void s_toplevel_verify_design(TOPLEVEL *toplevel);
00088 void s_toplevel_gtksheet_to_toplevel(TOPLEVEL *toplevel);
00089 void s_toplevel_add_new_attrib(gchar *new_attrib_name);
00090 void s_toplevel_delete_attrib_col();
00091 void s_toplevel_sheetdata_to_toplevel(TOPLEVEL *toplevel, PAGE *page);
00092 
00093 STRING_LIST *s_toplevel_get_component_attribs_in_sheet(char *refdes);
00094 void s_toplevel_update_component_attribs_in_toplevel(
00095                         TOPLEVEL *toplevel,
00096                         OBJECT *o_current,
00097                         STRING_LIST *new_comp_attrib_list);
00098 STRING_LIST *s_toplevel_get_net_attribs_in_sheet(char *netname);
00099 void s_toplevel_update_net_attribs_in_toplevel(OBJECT *o_current, 
00100                      STRING_LIST *new_net_attrib_list);
00101 STRING_LIST *s_toplevel_get_pin_attribs_in_sheet(char *refdes, OBJECT *pin);
00102 void s_toplevel_update_pin_attribs_in_toplevel(TOPLEVEL *toplevel,
00103                      char *refdes, OBJECT *pin,
00104                      STRING_LIST *new_pin_attrib_list);
00105 
00106 
00107 /* ------------- s_object.c ------------- */
00108 void s_object_add_comp_attrib_to_object (TOPLEVEL *toplevel,
00109                                          OBJECT *o_current,
00110                                          char *new_attrib_name,
00111                                          char *new_attrib_value,
00112                                          gint visibility,
00113                                          gint show_name_value);
00114 void s_object_add_net_attrib_to_object (TOPLEVEL *toplevel,
00115                                         OBJECT *o_current,
00116                                         char *new_attrib_name,
00117                                         char *new_attrib_value);
00118 void s_object_add_pin_attrib_to_object (TOPLEVEL *toplevel,
00119                                         OBJECT *o_current,
00120                                         char *new_attrib_name,
00121                                         char *new_attrib_value);
00122 
00123 void s_object_replace_attrib_in_object (TOPLEVEL *toplevel,
00124                                         OBJECT *o_current,
00125                                         char *new_attrib_name,
00126                                         char *new_attrib_value,
00127                                         gint visibility,
00128                                         gint show_name_value);
00129 void s_object_remove_attrib_in_object (TOPLEVEL *toplevel,
00130                                        OBJECT *o_current,
00131                                        char *new_attrib_name);
00132 
00133 OBJECT *s_object_attrib_add_attrib_in_object (TOPLEVEL *toplevel,
00134                                               char *text_string,
00135                                               gint visibility,
00136                                               gint show_name_value,
00137                                               OBJECT * object);
00138 void s_object_delete_text_object_in_object(TOPLEVEL *toplevel, OBJECT *test_object);
00139 int s_object_has_sym_file(OBJECT *object);
00140 
00141 /* ------------- s_rename.c ------------- */
00142 void s_rename_init(void);
00143 void s_rename_destroy_all(void);
00144 void s_rename_next_set(void);
00145 void s_rename_print(void);
00146 int s_rename_search(char *src, char *dest, int quiet_flag);
00147 void s_rename_add(char *src, char *dest);
00148 void s_rename_all_lowlevel(NETLIST * netlist_head, char *src, char *dest);
00149 void s_rename_all(TOPLEVEL *toplevel, NETLIST *netlist_head);
00150 
00151 /* ------------- s_misc.c ------------- */
00152 void verbose_print(char *string);
00153 void verbose_done(void);
00154 void verbose_reset_index(void);
00155 char *s_misc_remaining_string(char *string, char delimiter, int count);
00156 
00157 /* ------------- s_visibility.c ------------- */
00158 void s_visibility_set_invisible();
00159 void s_visibility_set_name_only();
00160 void s_visibility_set_value_only();
00161 void s_visibility_set_name_and_value();
00162 void s_visibility_set_cell(gint cur_page, gint row, gint col, 
00163                gint visibility, gint show_name_value);
00164 
00165 /* ------------- i_vars.c ------------- */
00166 void i_vars_set(TOPLEVEL *toplevel);
00167 void i_window_vars_set(TOPLEVEL *toplevel);
00168 
00169 /* ------------- x_dialog.c ------------- */
00170 void x_dialog_newattrib();
00171 void x_dialog_delattrib();
00172 void x_dialog_missing_sym();
00173 void x_dialog_unsaved_data();
00174 void x_dialog_unimplemented_feature();
00175 void x_dialog_fatal_error(gchar *string, gint return_code);
00176 void x_dialog_about_dialog();
00177 void x_dialog_export_file();
00178 
00179 /* ------------- x_gtksheet.c ------------- */
00180 void x_gtksheet_init();
00181 void x_gtksheet_add_row_labels(GtkSheet *sheet, int count, STRING_LIST *list_head);
00182 void x_gtksheet_add_col_labels(GtkSheet *sheet, int count, STRING_LIST *list_head);
00183 void x_gtksheet_add_cell_item(GtkSheet *sheet, gint i, gint j, 
00184                   char *text, gint visibility, gint show_name_value);
00185 void x_gtksheet_set_cell_text_color(GtkSheet *sheet, gint row, gint col, 
00186                     gint color_name);
00187 int x_gtksheet_get_min_col(GtkSheet *sheet);
00188 int x_gtksheet_get_max_col(GtkSheet *sheet);
00189 
00190 /* ------------- x_fileselect.c ------------- */
00191 GSList *x_fileselect_open (void);
00192 void x_fileselect_save (void);
00193 gboolean x_fileselect_load_files (GSList *filenames);
00194 
00195 /* ------------- x_window.c ------------- */
00196 void x_window_init();
00197 void x_window_add_items();
00198 
00199 
00200 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines