key_formats.h 569 B

123456789101112131415161718192021222324252627282930
  1. #ifndef KEY_FORMATS_H
  2. #define KEY_FORMATS_H
  3. #define FORMAT_NUM 2
  4. typedef struct {
  5. char* format_name;
  6. char* format_short_name;
  7. char* format_link;
  8. double first_pin_inch;
  9. double last_pin_inch;
  10. double pin_increment_inch;
  11. int pin_num;
  12. double pin_width_inch;
  13. double drill_angle;
  14. double uncut_depth_inch;
  15. double deepest_depth_inch;
  16. double depth_step_inch;
  17. int min_depth_ind;
  18. int max_depth_ind;
  19. int macs;
  20. int clearance;
  21. } KeyFormat;
  22. extern const KeyFormat all_formats[FORMAT_NUM];
  23. #endif // KEY_FORMATS_H