home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / sompstad.h < prev    next >
C/C++ Source or Header  |  1999-02-22  |  2KB  |  100 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: sompstad.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.17
  7.  *     SOM Emitter emith: 2.47
  8.  */
  9.  
  10. #ifndef SOM_Module_sompstad_SOMPStatDef_defined
  11. #define SOM_Module_sompstad_SOMPStatDef_defined 1
  12. #include <som.h>
  13.  
  14. /*
  15.  * Start of bindings for IDL types
  16.  */
  17.  
  18. #ifndef SOMClass
  19.     #define SOMClass SOMObject
  20. #endif /* SOMClass */
  21. typedef
  22. struct SOMPStatDef_somp_stat {
  23. short  st_dev;
  24. /*
  25.  *  ID of device containing a directory
  26.  *    entry for this file.  File serial
  27.  *    no + device ID uniquely identify
  28.  *    the file within the system
  29.  */
  30.  
  31. unsigned short  st_ino;
  32. /*
  33.  *  File serial number
  34.  */
  35.  
  36. unsigned short  st_mode;
  37. /*
  38.  *  File mode; see #define's below
  39.  */
  40.  
  41. short  st_nlink;
  42. /*
  43.  *  Number of links
  44.  */
  45.  
  46. short  st_uid;
  47. /*
  48.  *  User ID of the file's owner
  49.  */
  50.  
  51. short  st_gid;
  52. /*
  53.  *  Group ID of the file's group
  54.  */
  55.  
  56. short  st_rdev;
  57. /*
  58.  *  ID of device
  59.  *    This entry is defined only for
  60.  *    character or block special files
  61.  */
  62.  
  63. long  st_size;
  64. /*
  65.  *  File size in bytes
  66.  */
  67.  
  68. long  st_atime;
  69. /*
  70.  *  Time of last access
  71.  */
  72.  
  73. long  st_mtime;
  74. /*
  75.  *  Time of last data modification
  76.  */
  77.  
  78. long  st_ctime;
  79. /*
  80.  *  Time of last file status change
  81.  */
  82.  
  83. } SOMPStatDef_somp_stat, SOMPStatDef_sompstat;
  84.  
  85. #ifndef SOM_DONT_USE_SHORT_NAMES
  86. #ifndef SOMTGD_sompstat
  87.     #ifdef sompstat
  88.         #undef sompstat
  89.         #define SOMTGD_sompstat 1
  90.     #else
  91.         #define sompstat SOMPStatDef_sompstat
  92.     #endif /* sompstat */
  93. #endif /* SOMTGD_sompstat */
  94. #endif /* SOM_DONT_USE_SHORT_NAMES */
  95.  
  96. /*
  97.  * End of bindings for IDL types.
  98.  */
  99. #endif /* SOM_Module_sompstad_SOMPStatDef_defined */
  100.