idf.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. *
  5. * Author: Ceriel J.H. Jacobs
  6. */
  7. /* U S E R D E C L A R E D P A R T O F I D F */
  8. /* $Header$ */
  9. #include "file_list.h"
  10. struct lnk {
  11. struct lnk *lnk_next;
  12. struct idf *lnk_imp;
  13. };
  14. struct id_u {
  15. int id_res;
  16. int id_tp; /* PROGRAM OR IMPLEMENTATION OR DEFINITION */
  17. struct lnk *id_defimp; /* imported by definition module */
  18. struct lnk *id_modimp; /* imported by implementation module */
  19. char *id_d; /* directory */
  20. struct file_list *id_mdep; /* module depends on: */
  21. struct file_list *id_ddep; /* definition module depends on: */
  22. char *id_df; /* name of definition module */
  23. };
  24. #define IDF_TYPE struct id_u
  25. #define id_reserved id_user.id_res
  26. #define id_type id_user.id_tp
  27. #define id_defimports id_user.id_defimp
  28. #define id_modimports id_user.id_modimp
  29. #define id_dir id_user.id_d
  30. #define id_mdependson id_user.id_mdep
  31. #define id_ddependson id_user.id_ddep
  32. #define id_def id_user.id_df
  33. #include <idf_pkg.spec>