Annotation of sbbs/sbbs2/smm/smmdefs.h, revision 1.1

1.1     ! root        1: /* SMMDEFS.H */
        !             2: 
        !             3: /* Developed 1990-1997 by Rob Swindell; PO Box 501, Yorba Linda, CA 92885 */
        !             4: 
        !             5: #define SMM_VER "2.10"
        !             6: 
        !             7: #define SMM_METRIC                     (1<<0)  /* Use metric measurements */
        !             8: 
        !             9: #define USER_DELETED           (1<<0)  /* Bits for user.misc field */
        !            10: #define USER_FROMSMB           (1<<1)  /* Imported from SMB */
        !            11: #define USER_REQZIP            (1<<2)  /* Require mate in zip range */
        !            12: #define USER_REQAGE            (1<<3)  /* Require mate in age range */
        !            13: #define USER_REQWEIGHT         (1<<4)  /* Require mate in weight range */
        !            14: #define USER_REQHEIGHT         (1<<5)  /* Require mate in height range */
        !            15: #define USER_REQINCOME         (1<<6)  /* Require mate in income range */
        !            16: #define USER_REQMARITAL        (1<<7)  /* Require marital status */
        !            17: #define USER_REQZODIAC         (1<<8)  /* Require zodiac */
        !            18: #define USER_REQRACE           (1<<9)  /* Require race */
        !            19: #define USER_REQHAIR           (1<<10) /* Require hair */
        !            20: #define USER_REQEYES           (1<<11) /* Require eyes */
        !            21: #define USER_FRIEND            (1<<12) /* Seeking same-sex friendship */
        !            22: #define USER_PHOTO                     (1<<13) /* Photo attached to profile */
        !            23: 
        !            24: 
        !            25: #define ZODIAC_ARIES           (1<<0)  /* Mar 21 - Apr 19 */
        !            26: #define ZODIAC_TAURUS          (1<<1)  /* Apr 20 - May 20 */
        !            27: #define ZODIAC_GEMINI          (1<<2)  /* May 21 - Jun 20 */
        !            28: #define ZODIAC_CANCER          (1<<3)  /* Jun 21 - Jul 22 */
        !            29: #define ZODIAC_LEO                     (1<<4)  /* Jul 23 - Aug 22 */
        !            30: #define ZODIAC_VIRGO           (1<<5)  /* Aug 23 - Sep 22 */
        !            31: #define ZODIAC_LIBRA           (1<<6)  /* Sep 23 - Oct 22 */
        !            32: #define ZODIAC_SCORPIO         (1<<7)  /* Oct 23 - Nov 21 */
        !            33: #define ZODIAC_SAGITTARIUS     (1<<8)  /* Nov 22 - Dec 21 */
        !            34: #define ZODIAC_CAPRICORN       (1<<9)  /* Dec 22 - Jan 19 */
        !            35: #define ZODIAC_AQUARIUS        (1<<10) /* Jan 20 - Feb 18 */
        !            36: #define ZODIAC_PISCES          (1<<11) /* Feb 19 - Mar 20 */
        !            37: 
        !            38: #define HAIR_BLONDE            (1<<0)
        !            39: #define HAIR_BROWN                     (1<<1)
        !            40: #define HAIR_RED                       (1<<2)
        !            41: #define HAIR_BLACK                     (1<<3)
        !            42: #define HAIR_GREY                      (1<<4)
        !            43: #define HAIR_OTHER                     (1<<5)
        !            44: 
        !            45: #define EYES_BLUE                      (1<<0)
        !            46: #define EYES_GREEN                     (1<<1)
        !            47: #define EYES_HAZEL                     (1<<2)
        !            48: #define EYES_BROWN                     (1<<3)
        !            49: #define EYES_OTHER                     (1<<4)
        !            50: 
        !            51: #define RACE_WHITE                     (1<<0)
        !            52: #define RACE_BLACK                     (1<<1)
        !            53: #define RACE_HISPANIC          (1<<2)
        !            54: #define RACE_ASIAN                     (1<<3)
        !            55: #define RACE_AMERINDIAN        (1<<4)
        !            56: #define RACE_MIDEASTERN        (1<<5)
        !            57: #define RACE_OTHER                     (1<<6)
        !            58: 
        !            59: #define MARITAL_SINGLE         (1<<0)
        !            60: #define MARITAL_MARRIED        (1<<1)
        !            61: #define MARITAL_DIVORCED       (1<<2)
        !            62: #define MARITAL_WIDOWED        (1<<3)
        !            63: #define MARITAL_OTHER          (1<<4)
        !            64: 
        !            65: typedef struct {
        !            66: 
        !            67:        uchar   txt[82];
        !            68:        uchar   answers;                /* Total answers */
        !            69:        uchar   allowed;                /* number of answers allowed for self */
        !            70:        uchar   ans[16][62];    /* Answers */
        !            71: 
        !            72:        } question_t;
        !            73: 
        !            74: typedef struct {
        !            75: 
        !            76:        uchar   name[9];
        !            77:        uchar   desc[26];
        !            78:        uchar   req_age;
        !            79:        uchar   total_ques;
        !            80:        question_t      que[20];
        !            81: 
        !            82:        } questionnaire_t;
        !            83: 
        !            84: typedef struct {
        !            85: 
        !            86:        uchar   name[9];           /* Name of questionnaire */
        !            87:        ushort  self[20];          /* Answers to questions */
        !            88:        ushort  pref[20];          /* Preferred partner's answer(s) */
        !            89: 
        !            90:        } queans_t;
        !            91: 
        !            92: typedef struct {
        !            93: 
        !            94:        ulong   number;                 /* User's number on BBS */
        !            95:        ulong   system;                 /* CRC-32 of system name */
        !            96:        ulong   name;
        !            97:        ulong   updated;
        !            98: 
        !            99:        } ixb_t;
        !           100: 
        !           101: typedef struct {
        !           102: 
        !           103:        uchar   name[26];               /* User's name or alias */
        !           104:        uchar   realname[26];   /* User's name or alias on the BBS */
        !           105:        uchar   system[41];     /* BBS name */
        !           106:        ulong   number;                 /* User's number on BBS */
        !           107:        uchar   birth[9];               /* MM/DD/YY format */
        !           108:        uchar   zipcode[11];    /* Zip code */
        !           109:        uchar   location[31];   /* City, state */
        !           110:        ushort  pref_zodiac;    /* Preferred zodiac sign */
        !           111:        uchar   sex;                    /* 'M' or 'F' */
        !           112:        uchar   pref_sex;
        !           113:        uchar   marital;
        !           114:        uchar   pref_marital;
        !           115:        uchar   race;
        !           116:        uchar   pref_race;
        !           117:        uchar   hair;                   /* hair color */
        !           118:        uchar   pref_hair;              /* preferred hair color */
        !           119:        uchar   eyes;                   /* eye color */
        !           120:        uchar   pref_eyes;              /* preferred eye color */
        !           121:        ushort  weight;                 /* Sad, we have to use 16-bits! */
        !           122:        uchar   height;                 /* in inches */
        !           123:        ushort  min_weight;
        !           124:        ushort  max_weight;
        !           125:        uchar   min_height;
        !           126:        uchar   max_height;
        !           127:        uchar   min_age;
        !           128:        uchar   max_age;
        !           129:        uchar   min_zipcode[11];
        !           130:        uchar   max_zipcode[11];
        !           131:        ulong   income;
        !           132:        ulong   min_income;
        !           133:        ulong   max_income;
        !           134:        time_t  created;
        !           135:        time_t  updated;
        !           136:        uchar   note[5][51];
        !           137:        ulong   misc;
        !           138:        time_t  lastin;
        !           139:        uchar   min_match;
        !           140:        uchar   purity;                 /* Purity % */
        !           141:        uchar   mbtype[5];              /* Myers-Briggs personality type */
        !           142:        time_t  photo;                  /* Date last photo hatched */
        !           143:        uchar   filler[60];     /* Available for future use */
        !           144:        queans_t   queans[5];
        !           145: 
        !           146:        } user_t;
        !           147: 
        !           148: typedef struct {
        !           149: 
        !           150:        uchar   name[26];               /* User's name or alias */
        !           151:     uchar   system[41];     /* BBS name */
        !           152:        uchar   text[5][71];    /* Writing */
        !           153:        time_t  written;                /* Date/time created */
        !           154:        time_t  imported;
        !           155: 
        !           156:        } wall_t;
        !           157: 
        !           158: #define TGRAM_NOTICE "\1n\1h\1mNew telegram in \1wMatch Maker \1mfor you!" \
        !           159:                 "\7\1n\r\n"
        !           160: #define DEFAULT_ZMODEM_SEND "%!dsz portx %u,%i sz %f"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.