File: struct.h

package info (click to toggle)
geda-gsymcheck 20050313-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 904 kB
  • ctags: 132
  • sloc: sh: 3,465; ansic: 1,587; makefile: 138
file content (79 lines) | stat: -rw-r--r-- 1,528 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

/* sym check structures (gsymcheck) */
typedef struct st_symcheck SYMCHECK;

/* gsymcheck structure */
struct st_symcheck {

  /* unused for now */
  int unattached_attribs;

  /* info / warning / error messages */
  GList* info_messages;
  GList* warning_messages;
  GList* error_messages;

  /* device= check */
  int missing_device_attrib;
  int graphical_symbol;
  char *device_attribute;
  int device_attribute_incorrect;

  /* pinseq= check */
  int missing_pinseq_attrib;
  int multiple_pinseq_attrib;
  int duplicate_pinseq_attrib;

  /* multiple pinnumber= check */
  int missing_pinnumber_attrib;
  int multiple_pinnumber_attrib;
  int duplicate_pinnumber_attrib;

  /* slotting checks */ 
  int missing_numslots_attrib;
  int slotting_errors;

  /* old pin#=# and slot#=# checks */
  int found_oldpin_attrib;
  int found_oldslot_attrib;

  /* net, bus, connection checks */
  int found_net;
  int found_bus;
  int found_connection;

  /* obsolete attribute checks */
  int found_label;
  int found_uref;

  /* forbidden attributes */
  int found_name;
  int found_type;

  /* misc attributes */
  int found_footprint;
  int footprint_size;
  int found_refdes;
  
  /* number of pins */
  int numpins;
  /* number of net pins */
  int numnetpins;
  /* number of slots */
  int numslots;  
  
  /* total error counter */
  int error_count;

  /* total warning counter */
  int warning_count;

  /* pintype= check */
  int missing_pintype_attrib;
  int multiple_pintype_attrib;
  int duplicate_pintype_attrib;

  
};