Annotation of sbbs/src/sbbs3/sbbs4defs.h, revision 1.1.1.1

1.1       root        1: /* sbbs4defs.h */
                      2: 
                      3: /* Synchronet v4 constants, macros, and structure definitions */
                      4: 
                      5: /* $Id: sbbs4defs.h,v 1.5 2005/06/23 09:18:50 rswindell Exp $ */
                      6: 
                      7: /****************************************************************************
                      8:  * @format.tab-size 4          (Plain Text/Source Code File Header)                    *
                      9:  * @format.use-tabs true       (see http://www.synchro.net/ptsc_hdr.html)              *
                     10:  *                                                                                                                                                     *
                     11:  * Copyright 2005 Rob Swindell - http://www.synchro.net/copyright.html         *
                     12:  *                                                                                                                                                     *
                     13:  * This program is free software; you can redistribute it and/or                       *
                     14:  * modify it under the terms of the GNU General Public License                         *
                     15:  * as published by the Free Software Foundation; either version 2                      *
                     16:  * of the License, or (at your option) any later version.                                      *
                     17:  * See the GNU General Public License for more details: gpl.txt or                     *
                     18:  * http://www.fsf.org/copyleft/gpl.html                                                                                *
                     19:  *                                                                                                                                                     *
                     20:  * Anonymous FTP access to the most recent released source is available at     *
                     21:  * ftp://vert.synchro.net, ftp://cvs.synchro.net and ftp://ftp.synchro.net     *
                     22:  *                                                                                                                                                     *
                     23:  * Anonymous CVS access to the development source and modification history     *
                     24:  * is available at cvs.synchro.net:/cvsroot/sbbs, example:                                     *
                     25:  * cvs -d :pserver:[email protected]:/cvsroot/sbbs login                       *
                     26:  *     (just hit return, no password is necessary)                                                     *
                     27:  * cvs -d :pserver:[email protected]:/cvsroot/sbbs checkout src                *
                     28:  *                                                                                                                                                     *
                     29:  * For Synchronet coding style and modification guidelines, see                                *
                     30:  * http://www.synchro.net/source.html                                                                          *
                     31:  *                                                                                                                                                     *
                     32:  * You are encouraged to submit any modifications (preferably in Unix diff     *
                     33:  * format) via e-mail to [email protected]                                                                      *
                     34:  *                                                                                                                                                     *
                     35:  * Note: If this box doesn't appear square, then you need to fix your tabs.    *
                     36:  ****************************************************************************/
                     37: 
                     38: #ifndef _SBBS4DEFS_H
                     39: #define _SBBS4DEFS_H
                     40: 
                     41: #define USER_REC_LINE_LEN      1000                                    /* includes CRLF terminator */
                     42: #define USER_REC_LEN           (USER_REC_LINE_LEN-2)   /* does not include CRLF */
                     43: 
                     44: char* user_dat_columns[] = {
                     45:         "Alias"
                     46:        ,"Name"
                     47:        ,"Handle"
                     48:        ,"IpAddress"
                     49:        ,"Hostname"
                     50:        ,"Comment"
                     51:        ,"Reserved"
                     52:        ,"Reserved"
                     53:        ,"Reserved"
                     54:        ,"Reserved"
                     55:        ,"Netmail"
                     56:        ,"Address"
                     57:        ,"Location"
                     58:        ,"Zip Code"
                     59:        ,"Password"
                     60:        ,"PhoneNumber"
                     61:        ,"BirthDate"
                     62:        ,"Gender"
                     63:        ,"Connection"
                     64:        ,"Reserved"
                     65:        ,"Reserved"
                     66:        ,"Reserved"
                     67:        ,"Reserved"
                     68:        ,"LastOnDate"
                     69:        ,"FirstOnDate"
                     70:        ,"ExpirationDate"
                     71:        ,"PasswordModDate"
                     72:        ,"NewFileScanDate"
                     73:        ,"CurrentLogonTime"
                     74:        ,"Reserved"
                     75:        ,"Reserved"
                     76:        ,"Reserved"
                     77:        ,"Reserved"
                     78:        ,"Logons"
                     79:        ,"LogonsToday"
                     80:        ,"TimeOn"
                     81:        ,"ExtraTime"
                     82:        ,"TimeToday"
                     83:        ,"TimeUsedLastLogon"
                     84:        ,"MessagesPosted"
                     85:        ,"EmailsSent"
                     86:        ,"FeedbackSent"
                     87:        ,"EmailsToday"
                     88:        ,"PostsToday"
                     89:        ,"Reserved"
                     90:        ,"Reserved"
                     91:        ,"Reserved"
                     92:        ,"Reserved"
                     93:        ,"BytesUploaded"
                     94:        ,"FilesUplaoded"
                     95:        ,"BytesDownloaded"
                     96:        ,"FilesDownloaded"
                     97:        ,"Credits"
                     98:        ,"FreeCredits"
                     99:        ,"Minutes"
                    100:        ,"Reserved"
                    101:        ,"Reserved"
                    102:        ,"Reserved"
                    103:        ,"Reserved"
                    104:        ,"SecurityLevel"
                    105:        ,"FlagSet1"
                    106:        ,"FlagSet2"
                    107:        ,"FlagSet3"
                    108:        ,"FlagSet4"
                    109:        ,"ExemptionFlags"
                    110:        ,"RestrictionFlags"
                    111:        ,"Reserved"
                    112:        ,"Reserved"
                    113:        ,"Reserved"
                    114:        ,"Reserved"
                    115:        ,"MiscSettings"
                    116:        ,"QWKSettings"
                    117:        ,"ChatSettings"
                    118:        ,"Reserved"
                    119:        ,"Reserved"
                    120:        ,"Reserved"
                    121:        ,"Reserved"
                    122:        ,"TerminalRows"
                    123:        ,"TransferProtocol"
                    124:        ,"ExternalEditor"
                    125:        ,"CommandShell"
                    126:        ,"TempFileType"
                    127:        ,"CurrentSubboard"
                    128:        ,"CurrentDirectory"
                    129:        ,"CurrentExternalProgram"
                    130:        /* Insert new fields here */
                    131:        ,"Padding"
                    132:        ,NULL
                    133: };
                    134: 
                    135: char* stats_dat_columns[] = {
                    136:         "Date"
                    137:        ,"Logons"
                    138:        ,"Timeon"
                    139:        ,"FilesUploaded"
                    140:        ,"BytesUploaded"
                    141:        ,"FilesDownloaded"
                    142:        ,"BytesDownloaded"
                    143:        ,"Posts"
                    144:        ,"EmailsSent"
                    145:        ,"FeedbackSent"
                    146:        ,NULL 
                    147: };
                    148: 
                    149: #endif /* Don't add anything after this #endif statement */

unix.superglobalmegacorp.com

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