home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / plstsrc / tt.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-12-26  |  1.0 KB  |  72 lines

  1. #include <stdio.h>
  2.  
  3.  
  4.  
  5. typedef struct nlist{
  6.    int type;
  7.    int zone;
  8.    int net;
  9.    int node;
  10.    int rnet;
  11.    int rnode;
  12.    int baud;
  13.    int cost;
  14.    int route;
  15.    char bbsname[50];
  16.    char bbsloc[30];
  17.    char bbsnumber[20];
  18.    char password[10];
  19.    int flags;
  20.    char res[4];
  21. }NLIST;
  22.  
  23. typedef struct dex{
  24.    int type;
  25.    int zone;
  26.    int net;
  27.    long position;
  28.    char realloc[30];
  29.    char location[50];
  30. } DEX;
  31.  
  32. typedef struct starlist  {
  33.    int type;
  34.    int zone;
  35.    int net;
  36.    int node;
  37.    int rnet;
  38.    int rnode;
  39.    int baud;
  40.    int cost;
  41.    int route;
  42.    char bbsname[50];
  43.    char bbsloc[30];
  44.    char bbsnumber[20];
  45.    char password[10];
  46.    int flags;
  47.    char res1;
  48.    char res2;
  49.    char res3;
  50.    char res4;
  51. }STARLIST;
  52.  
  53. typedef struct sdex  {
  54.    int type;
  55.    int zone;
  56.    int net;
  57.    long position;
  58.    char realloc[30];
  59.    char location[50];
  60. }SDEX;
  61.  
  62.  
  63.  
  64. main()
  65. {
  66. int d;
  67.    d = sizeof(NLIST);
  68.    
  69.    printf("\n\rnlist = %d",
  70.           d);
  71.    getch();
  72. }