home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / PBAPI10.ZIP / APIDOCS.ZIP / SYSDAT1.DOC < prev    next >
Text File  |  1998-02-21  |  35KB  |  853 lines

  1. Author....... : Gary Price
  2. Copyrighted by: Freejack's Software 1997-98
  3.  
  4. SYSDAT1_DAT API Unit for TriBBS v10.x/11.x written in PowerBasic v3.5
  5. ---------------------------------------------------------------------------
  6.  
  7. The SYSDAT1_DAT functions are used to manipulate data in the SYSDAT1.DAT
  8. data file found in Node 1's MAIN directory. The SYSDAT1.PBU Unit is declared
  9. in PBAPI10.INC as follows:
  10.  
  11. Sysdat1.dat BitFields breakdown
  12.  
  13.  SysDat1Bit.bit1 BIT Assignment
  14.     0 = PhoneNumberFlag                          0 = Non-US, 1 = US Format
  15.     1 = TestUploadsFlag                          0 = No, 1 = Yes
  16.     2 = AutoANSIDetectFlag                       0 = No, 1 = Yes
  17.     3 = CheckForWaitingMessagesFlag              0 = No, 1 = Yes
  18.     4 = ULDLRatioTypeFlag                        0 = Sec. Level, 1 = Download
  19.     5 = PhoneOnHookDuringMaintenanceFlag         0 = Off Hook, 1 = On Hook
  20.     6 = NoOneWordNamesFlag                       0 = Yes, 1 = No
  21.     7 = NoBulletinMenuAtLogonFlag                0 = Yes, 1 = No
  22.  
  23.  SysDat1Bit.bit2 BIT Assignment
  24.     0 = AllowAliasesFlag                         0 = No, 1 = Yes
  25.     1 = ClearScreenBeforeMenusFlag               0 = No, 1 = Yes
  26.     2 = ExactFileNameMatchingForDupesFlag        0 = No, 1 = Yes
  27.     3 = DisableNewUserBirthdayPromptFlag         0 = No, 1 = Yes
  28.     4 = DisableDetailedCallersLogFlag            0 = No, 1 = Yes
  29.     5 = EnableRIPscripEmulationFlag              0 = No, 1 = Yes
  30.     6 = UseAliasOrRealNamesFlag                  0 = Aliases, 1 = Real Names
  31.     7 = ClearUploadsAndDownloadsFlag             0 = No, 1 = Yes
  32.    
  33.  SysDat1Bit.bit3 BIT Assignment
  34.     0 = ClearPrivateMessageAreasFlag             0 = No, 1 = Yes
  35.     1 = ClearPrivateFileAreasFlag                0 = No, 1 = Yes
  36.     2 = DisableUploadedByFlag                    0 = No, 1 = Yes
  37.     3 to 7 = 0 (Reserved)
  38.  
  39.  SysDat1Bit.bit4 to SysDat1Bit.bit10 - All bits are set to 0 (Reserved)
  40.  
  41. ---------------------------------------------------------------------------
  42.  
  43. Sub Type Structure for 10 byte BitFields
  44.  TYPE SysDat1Bit
  45.     bit1  AS BYTE
  46.     bit2  AS BYTE
  47.     bit3  AS BYTE
  48.     bit4  AS BYTE
  49.     bit5  AS BYTE
  50.     bit6  AS BYTE
  51.     bit7  AS BYTE
  52.     bit8  AS BYTE
  53.     bit9  AS BYTE
  54.     bit10 AS BYTE
  55.  END TYPE
  56.  
  57. ---------------------------------------------------------------------------
  58.  
  59. File Name: "SYSDAT1.DAT"
  60.  TYPE SYSDAT1
  61.     RegistrationCode                   AS STRING * 81
  62.     BoardName                          AS STRING * 41
  63.     SysopName                          AS STRING * 61
  64.     DefaultArchiveExtension            AS STRING * 4
  65.     SystemPassword                     AS STRING * 16
  66.     VirusCheckerCommandLine            AS STRING * 81
  67.     ZIPCompressCommandLine             AS STRING * 81
  68.     ZIPUnCompressCommandLine           AS STRING * 81
  69.     ARJCompressCommandLine             AS STRING * 81
  70.     ARJUnCompressCommandLine           AS STRING * 81
  71.     LZHCompressCommandLine             AS STRING * 81
  72.     LZHUnCompressCommandLine           AS STRING * 81
  73.     ARCCompressCommandLine             AS STRING * 81
  74.     ARCUnCompressCommandLine           AS STRING * 81
  75.     PAKCompressCommandLine             AS STRING * 81
  76.     PAKUnCompressCommandLine           AS STRING * 81
  77.     SDNCompressCommandLine             AS STRING * 81
  78.     SDNUnCompressCommandLine           AS STRING * 81
  79.     RARCompressCommandLine             AS STRING * 81
  80.     RARUnCompressCommandLine           AS STRING * 81
  81.     BoardStartDate                     AS STRING * 9
  82.     TotalNodes                         AS INTEGER
  83.     CallsToday                         AS INTEGER
  84.     MessagesToday                      AS INTEGER
  85.     UploadsToday                       AS INTEGER
  86.     DownloadsToday                     AS INTEGER
  87.     DefaultDailyTimeLimit              AS INTEGER
  88.     DefaultDailyLogons                 AS INTEGER
  89.     DefaultTimePerLogon                AS INTEGER
  90.     MinimumSysopSecurityLevel          AS INTEGER
  91.     NewUserSecurityLevel               AS INTEGER
  92.     NewUserTimeLimit                   AS INTEGER
  93.     UploadTimeCompensationRatio        AS INTEGER
  94.     MinimumFileAttachmentSecurityLevel AS INTEGER
  95.     MinimumAtVariableSecurityLevel     AS INTEGER
  96.     FastLogonSecurityLevel             AS INTEGER
  97.     TotalCalls                         AS LONG
  98.     SysDat1BitFields                   AS SysDat1Bit
  99.     ReservedDataArea                   AS STRING * 2625
  100.  END TYPE
  101.  
  102. DIM SysDat1Bit AS SysDat1Bit
  103. DIM SYSDAT1    AS SHARED SYSDAT1
  104. DIM sys1       AS SHARED SYSDAT1 PTR
  105.  
  106. sys1 = VARPTR32(SYSDAT1)
  107. LSET SYSDAT1 = SYSDAT1
  108. ---------------------------------------------------------------------------
  109. FUNCTION's below are from the SYSDAT1.PBU Unit and DECLAREd in the
  110. PBAPI10.INC.
  111.  
  112. FUNCTION SYSDAT1_DAT_Open()
  113. FUNCTION SYSDAT1_DAT_Close()
  114. FUNCTION SYSDAT1_DAT_Read()
  115. FUNCTION SYSDAT1_DAT_Write()
  116. FUNCTION SYSDAT1_DAT_OpenRead()
  117. FUNCTION SYSDAT1_DAT_WriteClose()
  118. FUNCTION SYSDAT1_DAT_OpenReadClose()
  119. FUNCTION SYSDAT1_DAT_OpenWriteClose()
  120. FUNCTION SYSDAT1_DAT_ClearIt()
  121. FUNCTION SYSDAT1_DAT_Initialize()
  122.  
  123. FUNCTION SYSDAT1_DAT_GetRC() AS STRING
  124. FUNCTION SYSDAT1_DAT_PutRC(s AS STRING)
  125. FUNCTION SYSDAT1_DAT_GetBN() AS STRING
  126. FUNCTION SYSDAT1_DAT_PutBN(s AS STRING)
  127. FUNCTION SYSDAT1_DAT_GetSN() AS STRING
  128. FUNCTION SYSDAT1_DAT_PutSN(s AS STRING)
  129. FUNCTION SYSDAT1_DAT_GetDAE() AS STRING
  130. FUNCTION SYSDAT1_DAT_PutDAE(s AS STRING)
  131. FUNCTION SYSDAT1_DAT_GetSP() AS STRING
  132. FUNCTION SYSDAT1_DAT_PutSP(s AS STRING)
  133. FUNCTION SYSDAT1_DAT_GetVCCL() AS STRING
  134. FUNCTION SYSDAT1_DAT_PutVCCL(s AS STRING)
  135. FUNCTION SYSDAT1_DAT_GetZIPCCL() AS STRING
  136. FUNCTION SYSDAT1_DAT_PutZIPCCL(s AS STRING)
  137. FUNCTION SYSDAT1_DAT_GetZIPUCCL() AS STRING
  138. FUNCTION SYSDAT1_DAT_PutZIPUCCL(s AS STRING)
  139. FUNCTION SYSDAT1_DAT_GetARJCCL() AS STRING
  140. FUNCTION SYSDAT1_DAT_PutARJCCL(s AS STRING)
  141. FUNCTION SYSDAT1_DAT_GetARJUCCL() AS STRING
  142. FUNCTION SYSDAT1_DAT_PutARJUCCL(s AS STRING)
  143. FUNCTION SYSDAT1_DAT_GetLZHCCL() AS STRING
  144. FUNCTION SYSDAT1_DAT_PutLZHCCL(s AS STRING)
  145. FUNCTION SYSDAT1_DAT_GetLZHUCCL() AS STRING
  146. FUNCTION SYSDAT1_DAT_PutLZHUCCL(s AS STRING)
  147. FUNCTION SYSDAT1_DAT_GetARCCCL() AS STRING
  148. FUNCTION SYSDAT1_DAT_PutARCCCL(s AS STRING)
  149. FUNCTION SYSDAT1_DAT_GetARCUCCL() AS STRING
  150. FUNCTION SYSDAT1_DAT_PutARCUCCL(s AS STRING)
  151. FUNCTION SYSDAT1_DAT_GetPAKCCL() AS STRING
  152. FUNCTION SYSDAT1_DAT_PutPAKCCL(s AS STRING)
  153. FUNCTION SYSDAT1_DAT_GetPAKUCCL() AS STRING
  154. FUNCTION SYSDAT1_DAT_PutPAKUCCL(s AS STRING)
  155. FUNCTION SYSDAT1_DAT_GetSDNCCL() AS STRING
  156. FUNCTION SYSDAT1_DAT_PutSDNCCL(s AS STRING)
  157. FUNCTION SYSDAT1_DAT_GetSDNUCCL() AS STRING
  158. FUNCTION SYSDAT1_DAT_PutSDNUCCL(s AS STRING)
  159. FUNCTION SYSDAT1_DAT_GetRARCCL() AS STRING
  160. FUNCTION SYSDAT1_DAT_PutRARCCL(s AS STRING)
  161. FUNCTION SYSDAT1_DAT_GetRARUCCL() AS STRING
  162. FUNCTION SYSDAT1_DAT_PutRARUCCL(s AS STRING)
  163. FUNCTION SYSDAT1_DAT_GetBSD() AS STRING
  164. FUNCTION SYSDAT1_DAT_PutBSD(s AS STRING)
  165. FUNCTION SYSDAT1_DAT_GetTN() AS INTEGER
  166. FUNCTION SYSDAT1_DAT_PutTN(n AS INTEGER)
  167. FUNCTION SYSDAT1_DAT_GetCT() AS INTEGER
  168. FUNCTION SYSDAT1_DAT_PutCT(n AS INTEGER)
  169. FUNCTION SYSDAT1_DAT_GetMT() AS INTEGER
  170. FUNCTION SYSDAT1_DAT_PutMT(n AS INTEGER)
  171. FUNCTION SYSDAT1_DAT_GetUT() AS INTEGER
  172. FUNCTION SYSDAT1_DAT_PutUT(n AS INTEGER)
  173. FUNCTION SYSDAT1_DAT_GetDT() AS INTEGER
  174. FUNCTION SYSDAT1_DAT_PutDT(n AS INTEGER)
  175. FUNCTION SYSDAT1_DAT_GetDDTL() AS INTEGER
  176. FUNCTION SYSDAT1_DAT_PutDDTL(n AS INTEGER)
  177. FUNCTION SYSDAT1_DAT_GetDDL() AS INTEGER
  178. FUNCTION SYSDAT1_DAT_PutDDL(n AS INTEGER)
  179. FUNCTION SYSDAT1_DAT_GetDTPL() AS INTEGER
  180. FUNCTION SYSDAT1_DAT_PutDTPL(n AS INTEGER)
  181. FUNCTION SYSDAT1_DAT_GetMSSL() AS INTEGER
  182. FUNCTION SYSDAT1_DAT_PutMSSL(n AS INTEGER)
  183. FUNCTION SYSDAT1_DAT_GetNUSL() AS INTEGER
  184. FUNCTION SYSDAT1_DAT_PutNUSL(n AS INTEGER)
  185. FUNCTION SYSDAT1_DAT_GetNUTL() AS INTEGER
  186. FUNCTION SYSDAT1_DAT_PutNUTL(n AS INTEGER)
  187. FUNCTION SYSDAT1_DAT_GetUTCR() AS INTEGER
  188. FUNCTION SYSDAT1_DAT_PutUTCR(n AS INTEGER)
  189. FUNCTION SYSDAT1_DAT_GetMFASL() AS INTEGER
  190. FUNCTION SYSDAT1_DAT_PutMFASL(n AS INTEGER)
  191. FUNCTION SYSDAT1_DAT_GetMAVSL() AS INTEGER
  192. FUNCTION SYSDAT1_DAT_PutMAVSL(n AS INTEGER)
  193. FUNCTION SYSDAT1_DAT_GetFLSL() AS INTEGER
  194. FUNCTION SYSDAT1_DAT_PutFLSL(n AS INTEGER)
  195. FUNCTION SYSDAT1_DAT_GetTC() AS LONG
  196. FUNCTION SYSDAT1_DAT_PutTC(n AS LONG)
  197.  
  198. FUNCTION SYSDAT1_DAT_GetPNSF() AS INTEGER
  199. FUNCTION SYSDAT1_DAT_PutPNSF(n AS INTEGER)
  200. FUNCTION SYSDAT1_DAT_GetTUF() AS INTEGER
  201. FUNCTION SYSDAT1_DAT_GetTUF(n AS INTEGER)
  202. FUNCTION SYSDAT1_DAT_GetAADF() AS INTEGER
  203. FUNCTION SYSDAT1_DAT_PutAADF(n AS INTEGER)
  204. FUNCTION SYSDAT1_DAT_GetCFWMF() AS INTEGER 
  205. FUNCTION SYSDAT1_DAT_PutCFWMF(n AS INTEGER)
  206. FUNCTION SYSDAT1_DAT_GetUDRTF() AS INTEGER
  207. FUNCTION SYSDAT1_DAT_PutUDRTF(n AS INTEGER)
  208. FUNCTION SYSDAT1_DAT_GetPOHDMF() AS INTEGER
  209. FUNCTION SYSDAT1_DAT_PutPOHDMF(n AS INTEGER)
  210. FUNCTION SYSDAT1_DAT_GetNOWNF() AS INTEGER 
  211. FUNCTION SYSDAT1_DAT_PutNOWNF(n AS INTEGER)
  212. FUNCTION SYSDAT1_DAT_GetNBMALF() AS INTEGER
  213. FUNCTION SYSDAT1_DAT_PutNBMALF(n AS INTEGER)
  214. FUNCTION SYSDAT1_DAT_GetAAF() AS INTEGER
  215. FUNCTION SYSDAT1_DAT_PutAAF(n AS INTEGER)
  216. FUNCTION SYSDAT1_DAT_GetCSBMF() AS INTEGER
  217. FUNCTION SYSDAT1_DAT_PutCSBMF(n AS INTEGER)
  218. FUNCTION SYSDAT1_DAT_GetEFNMFDF() AS INTEGER
  219. FUNCTION SYSDAT1_DAT_PutEFNMFDF(n AS INTEGER)
  220. FUNCTION SYSDAT1_DAT_GetDNUBPF() AS INTEGER
  221. FUNCTION SYSDAT1_DAT_PutDNUBPF(n AS INTEGER)
  222. FUNCTION SYSDAT1_DAT_GetDDCLF() AS INTEGER
  223. FUNCTION SYSDAT1_DAT_GetDDCLF(n AS INTEGER)
  224. FUNCTION SYSDAT1_DAT_GetEREF() AS INTEGER
  225. FUNCTION SYSDAT1_DAT_PutEREF(n AS INTEGER)
  226. FUNCTION SYSDAT1_DAT_GetUAORNF() AS INTEGER
  227. FUNCTION SYSDAT1_DAT_PutUAORNF(n AS INTEGER)
  228. FUNCTION SYSDAT1_DAT_GetCUADF() AS INTEGER
  229. FUNCTION SYSDAT1_DAT_PutCUADF(n AS INTEGER)
  230. FUNCTION SYSDAT1_DAT_GetCPMAF() AS INTEGER
  231. FUNCTION SYSDAT1_DAT_PutCPMAF(n AS INTEGER)
  232. FUNCTION SYSDAT1_DAT_GetCPFAF() AS INTEGER
  233. FUNCTION SYSDAT1_DAT_PutCPFAF(n AS INTEGER)
  234. FUNCTION SYSDAT1_DAT_GetDUBF() AS INTEGER
  235. FUNCTION SYSDAT1_DAT_PutDUBF(n AS INTEGER)
  236.  
  237. ---------------------------------------------------------------------------
  238.  MPORTANT: TBNode1sMainDirectory must be set to node 1's main directory
  239.  before calling any function with the "Open" word.
  240. ---------------------------------------------------------------------------
  241. SYSDAT1_DAT_Open()
  242.  The SYSDAT1_DAT_Open function opens the SYSDAT1.DAT data file in node 1's
  243.  main directory.
  244.  
  245. SYSDAT1_DAT_Close()
  246.  The SYSDAT1_DAT_Close function closes the SYSDAT1.DAT data file in node 1's
  247.  main directory.
  248.  
  249. SYSDAT1_DAT_Read()
  250.  The SYSDAT1_DAT_Read function reads the contents of the SYSDAT1.DAT data
  251.  file into memory.
  252.  
  253. SYSDAT1_DAT_Write()
  254.  The SYSDAT1_DAT_Write function updates the contents of SYSDAT1.DAT from
  255.  memory.
  256.  
  257. SYSDAT1_DAT_OpenRead()
  258.  The SYSDAT1_DAT_OpenRead function provides the functionality of the
  259.  SYSDAT1_DAT_Open and SYSDAT1_DAT_Read functions in a single function call.
  260.  
  261. SYSDAT1_DAT_WriteClose()
  262.  The SYSDAT1_DAT_WriteClose function provides the functionality of the
  263.  SYSDAT1_DAT_Write and SYSDAT1_DAT_Close functions in a single function call.
  264.  
  265. SYSDAT1_DAT_OpenReadClose()
  266.  The SYSDAT1_DAT_OpenReadClose function provides the functionality of the
  267.  SYSDAT1_DAT_Open, SYSDAT1_DAT_Read, and SYSDAT1_DAT_Close functions in a
  268.  single function call.
  269.  
  270. SYSDAT1_DAT_OpenWriteClose()
  271.  The SYSDAT1_DAT_OpenWriteClose function provides the functionality of the
  272.  SYSDAT1_DAT_Open, SYSDAT1_DAT_Write, and SYSDAT1_DAT_Close functions in a
  273.  single function call.
  274.  
  275. SYSDAT1_DAT_ClearIt()
  276.  The SYSDAT1_DAT_ClearIt function sets the entire SYSDAT1_DAT data record
  277.  to all zeros.
  278.  
  279. SYSDAT1_DAT_Initialize()
  280.  The SYSDAT1_DAT_Initialize function is used to create a SYSDAT1.DAT data
  281.  file if one doesn't exist. IMPORTANT: TBNode1sMainDirectory must be set
  282.  before calling this function.
  283.  
  284. -----------------------------------------------------------------------------
  285. POINTERS Uses a hidden variable I use called "@sys1". Any reference to this
  286. is only for your information for discussion in this doc file. You will not
  287. need to concern yourself trying to use this.. All calls are handled in the
  288. main SYSDAT1.PBU Unit by my routines automatically. In other words, I am
  289. trying to keep Pointers as easy as possible for your use. :)
  290.  
  291. Also, all calls to any Functions which gets data with the string routines
  292. will auto-trim each string's extra spaces and the null terminator, CHR$(0),
  293. off so printing will be easier for you to manipulate. When calling the string
  294. routines to put data back into the string space, all string data will be
  295. resized to fit the SYSDAT1.DAT type structure and will add the null terminator
  296. back to the end of the string. Just remember, when working the data in memory
  297. with the pointer calls, you still have to write the data back to the
  298. SYSDAT1.DAT in order for the changes to become permanent.
  299.  
  300. -----------------------------------------------------------------------------
  301. SYSDAT1_DAT_GetRC() AS STRING
  302.  This form of the SYSDAT1_DAT_GetRC function returns a pointer to the sysop's
  303.  registration code string.
  304.  
  305. SYSDAT1_DAT_PutRC(s AS STRING)
  306.  This form of the SYSDAT1_DAT_PutRC function sets the sysop's registration
  307.  code string to the string pointed to by "s". Note that the string pointed to
  308.  by "s" can be no more than 80 characters in length.
  309.  
  310. SYSDAT1_DAT_GetBN() AS STRING
  311.  This form of the SYSDAT1_DAT_GetBN function returns a pointer to the board's
  312.  name string.
  313.  
  314. SYSDAT1_DAT_PutBN(s AS STRING)
  315.  This form of the SYSDAT1_DAT_PutBN function sets the board's name string to
  316.  the string pointed to by "s". Note that the string pointed to by "s" can be
  317.  no more than 40 characters in length.
  318.  
  319. SYSDAT1_DAT_GetSN() AS STRING
  320.  This form of the SYSDAT1_GetSN function returns a pointer to the sysop's
  321.  name string.
  322.  
  323. SYSDAT1_DAT_PutSN(s AS STRING)
  324.  This form of the SYSDAT1_DAT_PutSN function sets the sysop's name string to
  325.  the string pointed to by "s". Note that the string pointed to by "s" can be
  326.  no more than 60 characters in length.
  327.  
  328. SYSDAT1_DAT_GetDAE() AS STRING
  329.  This form of the SYSDAT1_DAT_GetDAE function returns a pointer to the default
  330.  archive extension string.
  331.  
  332. SYSDAT1_DAT_PutDAE(s AS STRING)
  333. This form of the SYSDAT1_DAT_PutDAE function sets the default archive
  334. extension string to the string pointed to by "s". Note that the string pointed
  335. to by "s" can be no more than 3 characters in length. "s" must be one of the
  336. following values:
  337.  
  338.     ZIP      For ZIP.
  339.     ARC      For ARC.
  340.     ARJ      For ARJ.
  341.     LZH      For LHA.
  342.     PAK      For PAK.
  343.     RAR      For RAR.
  344.     SDN      For SDN.
  345.  
  346. SYSDAT1_DAT_GetSP() AS STRING
  347.  This form of the SYSDAT1_DAT_GetSP function returns a pointer to the system
  348.  password string.
  349.  
  350. SYSDAT1_DAT_PutSP(s AS STRING)
  351.  This form of the SYSDAT1_DAT_PutSP function sets the system password function
  352.  string to the string pointed to by "s". Note that the string pointed to by
  353.  "s" can be no more than 15 characters in length.
  354.  
  355. SYSDAT1_DAT_GetVCCL() AS STRING
  356.  This form of the SYSDAT1_DAT_GetVCCL function returns a pointer to the virus
  357.  checker command line string.
  358.  
  359. SYSDAT1_DAT_PutVCCL(s AS STRING)
  360.  This form of the SYSDAT1_DAT_PutVCCL function sets the virus checker command
  361.  line string to the string pointed to by "s". Note that the string pointed to
  362.  by "s" can be no more than 80 characters in length.
  363.  
  364. SYSDAT1_DAT_GetZIPCCL() AS STRING
  365.  This form of the SYSDAT1_DAT_GetZIPCCL function returns a pointer to the ZIP
  366.  compression command line string.
  367.  
  368. SYSDAT1_DAT_PutZIPCCL(s AS STRING)
  369.  This form of the SYSDAT1_DAT_PutZIPCCL function sets the ZIP compression
  370.  command line string to the string pointed to by "s".  Note that the string
  371.  pointed to by "s" can be no more than 80 characters in length.
  372.  
  373. SYSDAT1_DAT_GetZIPUCCL() AS STRING
  374.  This form of the SYSDAT1_DAT_GetZIPUCCL function returns a pointer to the
  375.  ZIP decompression command line string.
  376.  
  377. SYSDAT1_DAT_PutZIPUCCL(s AS STRING)
  378.  This form of the SYSDAT1_DAT_PutZIPUCCL function sets the ZIP decompression
  379.  command line string to the string pointed to by "s". Note that the string
  380.  pointed to by "s" can be no more than 80 characters in length.
  381.  
  382. SYSDAT1_DAT_GetARJCCL() AS STRING
  383.  This form of the SYSDAT1_DAT_GetARJCL function returns a pointer to the ARJ
  384.  compression command line string.
  385.  
  386. SYSDAT1_DAT_PutARJCCL(s AS STRING)
  387.  This form of the SYSDAT1_DAT_PutARJCCL function sets the ARJ compression
  388.  command line string to the string pointed to by "s".  Note that the string
  389.  pointed to by "s" can be no more than 80 characters in length.
  390.  
  391. SYSDAT1_DAT_GetARJUCCL() AS STRING
  392.  This form of the SYSDAT1_DAT_GetARJUCCL function returns a pointer to the
  393.  ARJ decompression command line string.
  394.  
  395. SYSDAT1_DAT_PutARJUCCL(s AS STRING)
  396.  This form of the SYDAT1_DAT_PutARJUCCL function sets the ARJ decompression
  397.  command line string to the string pointed to by "s". Note that the string
  398.  pointed to by "s" can be no more than 80 characters in length.
  399.  
  400. SYSDAT1_DAT_GetLZHCCL() AS STRING
  401.  This form of the SYSDAT1_DAT_GetLZHCCL function returns a pointer to the
  402.  LZH compression command line string.
  403.  
  404. SYSDAT1_DAT_PutLZHCCL(s AS STRING)
  405.  This form of the SYSDAT1_DAT_PutLZHCCL function sets the LZH compression
  406.  command line string to the string pointed to by "s".  Note that the string
  407.  pointed to by "s" can be no more than 80 characters in length.
  408.  
  409. SYSDAT1_DAT_GetLZHUCCL() AS STRING
  410.  This form of the SYSDAT1_DAT_GetLZHUCCL function returns a pointer to the
  411.  LZH decompression command line string.
  412.  
  413. SYSDAT1_DAT_PutLZHUCCL(s AS STRING)
  414.  This form of the SYSDAT1_DAT_PutLZHUCCL function sets the LZH decompression
  415.  command line string to the string pointed to by "s". Note that the string
  416.  pointed to by "s" can be no more than 80 characters in length.
  417.  
  418. SYSDAT1_DAT_GetARCCCL() AS STRING
  419.  This form of the SYSDAT1_DAT_GetARCCCL function returns a pointer to the
  420.  ARC compression command line string.
  421.  
  422. SYSDAT1_DAT_PutARCCCL(s AS STRING)
  423.  This form of the SYSDAT1_DAT_PutARCCCL function sets the ARC compression
  424.  command line string to the string pointed to by "s".  Note that the string
  425.  pointed to by "s" can be no more than 80 characters in length.
  426.  
  427. SYSDAT1_DAT_GetARCUCCL() AS STRING
  428.  This form of the SYSDAT1_DAT_GetARCUCCL function returns a pointer to the
  429.  ARC decompression command line string.
  430.  
  431. SYSDAT1_DAT_PutARCUCCL(s AS STRING)
  432.  This form of the SYSDAT1_DAT_PutARCUCCL function sets the ARC decompression
  433.  command line string to the string pointed to by "s". Note that the string
  434.  pointed to by "s" can be no more than 80 characters in length.
  435.  
  436. SYSDAT1_DAT_GetPAKCCL() AS STRING
  437.  This form of the SYSDAT1_DAT_GetPAKCCL function returns a pointer to the PAK
  438.  compression command line string.
  439.  
  440. SYSDAT1_DAT_PutPAKCCL(s AS STRING)
  441.  This form of the SYSDAT1_DAT_PutPAKCCL function sets the PAK compression
  442.  command line string to the string pointed to by "s".  Note that the string
  443.  pointed to by "s" can be no more than 80 characters in length.
  444.  
  445. SYSDAT1_DAT_GetPAKUCCL() AS STRING
  446.  This form of the SYSDAT1_DAT_GetPAKUCCL function returns a pointer to the
  447.  PAK decompression command line string.
  448.  
  449. SYSDAT1_DAT_PutPAKUCCL(s AS STRING)
  450.  This form of the SYSDAT1_DAT_PutPAKUCCL function sets the PAK decompression
  451.  command line string to the string pointed to by "s". Note that the string
  452.  pointed to by "s" can be no more than 80 characters in length.
  453.  
  454. SYSDAT1_DAT_GetSDNCCL() AS STRING
  455.  This form of the SYSDAT1_DAT_GetSDNCCL function returns a pointer to the SDN
  456.  compression command line string.
  457.  
  458. SYSDAT1_DAT_PutSDNCCL(s AS STRING)
  459.  This form of the SYSDAT1_DAT_PutSDNCCL function sets the SDN compression
  460.  command line string to the string pointed to by "s".  Note that the string
  461.  pointed to by "s" can be no more than 80 characters in length.
  462.  
  463. SYSDAT1_DAT_GetSDNUCCL() AS STRING
  464.  This form of the SYSDAT1_DAT_GetSDNUCCL function returns a pointer to the
  465.  SDN decompression command line string.
  466.  
  467. SYSDAT1_DAT_PutSDNUCCL(s AS STRING)
  468.  This form of the SYSDAT1_DAT_PutSDNUCCL function sets the SDN decompression
  469.  command line string to the string pointed to by "s". Note that the string
  470.  pointed to by "s" can be no more than 80 characters in length.
  471.  
  472. SYSDAT1_DAT_GetRARCCL() AS STRING
  473.  This form of the SYSDAT1_DAT_GetRARCCL function returns a pointer to the
  474.  RAR compression command line string.
  475.  
  476. SYSDAT1_DAT_PutRARCCL(s AS STRING)
  477.  This form of the SYSDAT1_DAT_PutRARCCL function sets the RAR compression
  478.  command line string to the string pointed to by "s". Note that the string
  479.  pointed to by "s" can be no more than 80 characters in length.
  480.  
  481. SYSDAT1_DAT_GetRARUCCL() AS STRING
  482.  This form of the SYSDAT1_DAT_GetRARUCCL function returns a pointer to the
  483.  RAR decompression command line string.
  484.  
  485. SYSDAT1_DAT_PutRARUCCL(s AS STRING)
  486.  This form of the SYSDAT1_DAT_PutRARUCCL function sets the RAR decompression
  487.  command line string to the string pointed to by "s". Note that the string
  488.  pointed to by "s" can be no more than 80 characters in length.
  489.  
  490. SYSDAT1_DAT_GetBSD() AS STRING
  491.  This form for the SYSDAT1_DAT_GetBSD function returns a pointer to the
  492.  board's starting date string.
  493.  
  494. SYSDAT1_DAT_PutBSD(s AS STRING)
  495.  This form of the SYSDAT1_DAT_PutBSD function sets the board's starting date
  496.  string to the string pointed to by "s". Note that the string pointed to by
  497.  "s" can be no more than 8 characters in length and must use the format
  498.  "MM/DD/YY".
  499.  
  500. SYSDAT1_DAT_GetTN() AS INTEGER
  501.  This form of the SYSDAT1_DAT_GetTN function returns the board's number of
  502.  nodes.
  503.  
  504. SYSDAT1_DAT_PutTN(n AS INTEGER)
  505.  This form of the SYSDAT1_DAT_PutTN function sets the board's number of nodes
  506.  to the value passed in "n". "n" must be in the range of 1 to 255.
  507.  
  508. SYSDAT1_DAT_GetCT() AS INTEGER
  509.  This form of the SYSDAT1_DAT_GetCT function returns the board's calls for
  510.  the day.
  511.  
  512. SYSDAT1_DAT_PutCT(n AS INTEGER)
  513.  This form of the SYSDAT1_DAT_PutCT function sets the board's calls for the
  514.  day to the value passed in "n".
  515.  
  516. SYSDAT1_DAT_GetMT() AS INTEGER
  517.  This form of the SYSDAT1_DAT_GetMT function returns the board's number of
  518.  messages for the day.
  519.  
  520. SYSDAT1_DAT_PutMT(n AS INTEGER)
  521.  This form of the SYSDAT1_DAT_PutMT function sets the board's number of
  522.  messages for the day to "n".
  523.  
  524. SYSDAT1_DAT_GetUT() AS INTEGER
  525.  This form of the SYSDAT1_DAT_GetUT function returns the board's number of
  526.  uploads for the day.
  527.  
  528. SYSDAT1_DAT_PutUT(n AS INTEGER)
  529.  This form of the SYSDAT1_DAT_GetUT function sets the board's number of
  530.  uploads for the day to "n".
  531.  
  532. SYSDAT1_DAT_GetDT() AS INTEGER
  533.  This form of the SYSDAT1_DAT_GetDT function returns the board's number of
  534.  downloads for the day.
  535.  
  536. SYSDAT1_DAT_PutDT(n AS INTEGER)
  537.  This form of the SYSDAT1_DAT_PutDT function sets the board's number of
  538.  downloads for the day to "n".
  539.  
  540. SYSDAT1_DAT_GetDDTL() AS INTEGER
  541.  This form of the SYSDAT1_DAT_GetDDTL function returns the board's default
  542.  daily time limit.
  543.  
  544. SYSDAT1_DAT_PutDDTL(n AS INTEGER)
  545.  This form of the SYSDAT1_DAT_PutDDTL function sets the board's default daily
  546.  time limit to "n".
  547.  
  548. SYSDAT1_DAT_GetDDL() AS INTEGER
  549.  This form of the SYSDAT1_DAT_GetDDL function returns the boards default
  550.  daily logon limit.
  551.  
  552. SYSDAT1_DAT_PutDDL(n AS INTEGER)
  553.  This form of the SYSDAT1_DAT_PutDDL function sets the board's default daily
  554.  logon limit to "n".
  555.  
  556. SYSDAT1_DAT_GetDTPL() AS INTEGER
  557.  This form of the SYSDAT1_DAT_GetDTPL function returns the board's default
  558.  time per logon.
  559.  
  560. SYSDAT1_DAT_PutDTPL(n AS INTEGER)
  561.  This form of the SYSDAT1_DAT_PutDTPL function sets the board's default time
  562.  per logon to "n".
  563.  
  564. SYSDAT1_DAT_GetMSSL() AS INTEGER
  565.  This form of the SYSDAT1_DAT_GetMSSL function returns the board's minimum
  566.  sysop security level.
  567.  
  568. SYSDAT1_DAT_PutMSSL(n AS INTEGER)
  569.  This form of the SYSDAT1_DAT_PutMSSL function sets the board's minimum sysop
  570.  security level to "n". "n" must be in the range of 1 to 9999.
  571.  
  572. SYSDAT1_DAT_GetNUSL() AS INTEGER
  573.  This form of the SYSDAT1_DAT_GetNUSL function returns the board's new user
  574.  security level.
  575.  
  576. SYSDAT1_DAT_PutNUSL(n AS INTEGER)
  577.  This form of the SYSDAT1_DAT_PutNUSL function sets the board's new user
  578.  security level to "n". "n" must be in the range of 1 to 9999.
  579.  
  580. SYSDAT1_DAT_GetNUTL() AS INTEGER
  581.  This form of the SYSDAT1_DAT_GetNUTL function returns the board's new user
  582.  time limit.
  583.  
  584. SYSDAT1_DAT_PutNUTL(n AS INTEGER)
  585.  This form of the SYSDAT1_DAT_PutNUTL function sets the board's new user time
  586.  limit to "n".
  587.  
  588. SYSDAT1_DAT_GetUTCR() AS INTEGER
  589.  This form of the SYSDAT1_DAT_GetUTCR function returns the board's upload
  590.  time compensation ratio.
  591.  
  592. SYSDAT1_DAT_PutUTCR(n AS INTEGER)
  593.  This form of the SYSDAT1_DAT_PutUTCR function sets the board's upload time
  594.  compensation ratio to "n".
  595.  
  596. SYSDAT1_DAT_GetMFASL() AS INTEGER
  597.  This form of the SYSDAT1_DAT_GetMFASL function returns the board's minimum
  598.  file attachment security level.
  599.  
  600. SYSDAT1_DAT_PutMFASL(n AS INTEGER)
  601.  This form of the SYSDAT1_DAT_PutMFASL function sets the board's minimum file
  602.  attachement security level to "n". "n" must be in the range of 1 to 9999.
  603.  
  604. SYSDAT1_DAT_GetMAVSL() AS INTEGER
  605.  This form of the SYSDAT1_DAT_GetMAVSL function returns the board's minimum
  606.  @-variable security level.
  607.  
  608. SYSDAT1_DAT_PutMAVSL(n AS INTEGER)
  609.  This form of the SYSDAT1_DAT_PutMAVSL function sets the board's minimum
  610.  @-variable security level to "n". "n" must be in the range of 1 to 9999.
  611.  
  612. SYSDAT1_DAT_GetFLSL() AS INTEGER
  613.  This form of the SYSDAT1_DAT_GetFLSL function returns the board's fast
  614.  logon security level.
  615.  
  616. SYSDAT1_DAT_PutFLSL(n AS INTEGER)
  617.  This form of the SYSDAT1_DAT_PutFLSL function sets the board's fast logon
  618.  security level to "n". "n" must be in the range of 1 to 9999.
  619.  
  620. SYSDAT1_DAT_GetTC() AS LONG
  621.  This form of the SYSDAT1_DAT_GetTC function returns the board's total calls.
  622.  
  623. SYSDAT1_DAT_PutTC(n AS LONG)
  624.  This form of the SYSDAT1_DAT_PutTC function sets the board's total calls to
  625.  "n".
  626.  
  627. -----------------------------------------------------------------------------
  628. All BIT Field Flags below have been converted to Integers to allow easier
  629. access and handling.
  630. ----------------------------------------------------------------------------
  631. SYSDAT1_DAT_GetPNSF() AS INTEGER
  632.  This form of the SYSDAT1_DAT_GetPN function returns the board's phone number
  633.  style flag.
  634.  
  635. SYSDAT1_DAT_PutPNSF(n AS INTEGER)
  636.  This form of the SYSDAT1_DAT_PutPNSF function sets the board's phone number
  637.  style flag to "n". "n" must be in the range of 0 to 1 as follows:
  638.  
  639.     0 = Do not format phone number.
  640.     1 = North American-style phone numbers.
  641.  
  642. SYSDAT1_DAT_GetTUF() AS INTEGER
  643.  This form of the SYSDAT1_DAT_GetTUF function returns the board's test uploads
  644.  flag.
  645.  
  646. SYSDAT1_DAT_PutTUF(n AS INTEGER)
  647.  This form of the SYSDAT1_DAT_GetTU function sets the board's test uploads
  648.  flag to "n". "n" must be in the range of 0 to 1 as follows:
  649.  
  650.     0 = Do not test uploads.
  651.     1 = Test uploads.
  652.  
  653. SYSDAT1_DAT_GetAADF() AS INTEGER
  654.  This form of the SYSDAT1_DAT_GetAADF function returns the board's auto ANSI
  655.  detect flag.
  656.  
  657. SYSDAT1_DAT_PutAADF(n AS INTEGER)
  658.  This form of the SYSDAT1_DAT_PutAADF function sets the board's auto ANSI
  659.  detect flag to "n". "n" must be in the range of 0 to 1 as follows:
  660.  
  661.     0 = Do not auto detect ANSI.
  662.     1 = Auto detect ANSI.
  663.  
  664. SYSDAT1_DAT_GetCFWMF() AS INTEGER 
  665.  This form of the SYSDAT1_DAT_GetCFWMF function returns the board's waiting
  666.  message check flag.
  667.  
  668. SYSDAT1_DAT_PutCFWMF(n AS INTEGER)
  669.  This form of the SYSDAT1_DAT_PutCFWM function sets the board's waiting
  670.  message check flag to "n". "n" must be in the range of 0 to 1 as follows:
  671.  
  672.     0 = Do not check for waiting messages at logon.
  673.     1 = Check for waiting messages at logon.
  674.  
  675. SYSDAT1_DAT_GetUDRTF() AS INTEGER
  676.  This form of the SYSDAT1_DAT_GetUDRTF function returns the board's
  677.  upload/download ratio type flag.
  678.  
  679. SYSDAT1_DAT_PutUDRTF(n AS INTEGER)
  680.  This form of the SYSDAT1_DAT_GetUDRTF function sets the board's
  681.  upload/download ratio type flag to "n". "n" must be in the range of 0 to 1
  682.  as follows:
  683.  
  684.     0 = Use sliding security levels.
  685.     1 = Ratios only effect download ability.
  686.  
  687. SYSDAT1_DAT_GetPOHDMF() AS INTEGER
  688.  This form of the SYSDAT1_DAT_GetPOHDM function returns the board's phone on
  689.  hook during maintenace flag.
  690.  
  691. SYSDAT1_DAT_PutPOHDMF(n AS INTEGER)
  692.  This form of the SYSDAT1_DAT_PutPOHDMF function sets the board's phone on
  693.  hook during maintenance flag to "n". "n" must be in the range of 0 to 1 as
  694.  follows:
  695.  
  696.     0 = Take phone off hook during maintainance.
  697.     1 = Do not take the phone off hook during maintainance.
  698.  
  699. SYSDAT1_DAT_GetNOWNF() AS INTEGER 
  700.  This form of the SYSDAT1_DAT_GetNOWNF function returns the board's no one
  701.  word names flag.
  702.  
  703. SYSDAT1_DAT_PutNOWNF(n AS INTEGER)
  704.  This form of the SYSDAT1_DAT_PutNOWN function sets the board's no one word
  705.  names flag to "n". "n" must be in the range of 0 to 1 as follows:
  706.  
  707.     0 = Allow one word names.
  708.     1 = Do not allow one word names.
  709.  
  710. SYSDAT1_DAT_GetNBMALF() AS INTEGER
  711.  This form of the SYSDAT1_DAT_GetNBMALF function returns the board's no
  712.  bulletin menu at logon flag.
  713.  
  714. SYSDAT1_DAT_PutNBMALF(n AS INTEGER)
  715.  This form of the SYSDAT1_DAT_PutNBMAL function sets the board's no bulletin
  716.  menu at logon flag to "n". "n" must be in the range of 0 to 1 as follows:
  717.  
  718.     0 = Display bulletin menu at logon.
  719.     1 = Do not display bulletin menu at logon.
  720.  
  721. SYSDAT1_DAT_GetAAF() AS INTEGER
  722.  This form of the SYSDAT1_DAT_GetAAF function returns the board's allow
  723.  aliases flag.
  724.  
  725. SYSDAT1_DAT_PutAAF(n AS INTEGER)
  726.  This form of the SYSDAT1_DAT_PutAAF function sets the board's allow aliases
  727.  flag to "n". "n" must be in the range of 0 to 1 as follows:
  728.  
  729.     0 = Do not allow aliases.
  730.     1 = Allow aliases.
  731.  
  732. SYSDAT1_DAT_GetCSBMF() AS INTEGER
  733.  This form of the SYSDAT1_DAT_GetCSBM function returns the board's clear
  734.  screen before menus flag.
  735.  
  736. SYSDAT1_DAT_PutCSBMF(n AS INTEGER)
  737.  This form of the SYSDAT1_DAT_PutCSBMF function sets the board's clear screen
  738.  before menus flag to "n". "n" must be in the range of 0 to 1 as follows:
  739.  
  740.     0 = Do not clear the screen before menus.
  741.     1 = Clear the screen before menus.
  742.  
  743. SYSDAT1_DAT_GetEFNMFDF() AS INTEGER
  744.  This form of the SYSDAT1_DAT_PutEFNMFDF function returns the board's exact
  745.  file name matching for dupes flag.
  746.  
  747. SYSDAT1_DAT_PutEFNMFDF(n AS INTEGER)
  748.  This form of the SYSDAT1_DAT_PutEFNMFD function sets the board's exact file
  749.  name matching for dupes flag to "n". "n" must be in the range of 0 to 1 as
  750.  follows:
  751.  
  752.     0 = Ignore the extension during duplicate file checking.
  753.     1 = Do not ignore the extension during duplicate file checking.
  754.  
  755. SYSDAT1_DAT_GetDNUBPF() AS INTEGER
  756.  This form of the SYSDAT1_DAT_GetDNUBPF function returns the board's disable
  757.  new user birthday prompt flag.
  758.  
  759. SYSDAT1_DAT_PutDNUBPF(n AS INTEGER)
  760.  This form of the SYSDAT1_DAT_PutDNUBPF function sets the board's disable
  761.  new user birthday prompt flag to "n". "n" must be in the range of 0 to 1 as
  762.  follows:
  763.  
  764.     0 = Display the birthday prompt to a new user at logon.
  765.     1 = Do not display the birthday prompt to a new user at logon.
  766.  
  767. SYSDAT1_DAT_GetDDCLF() AS INTEGER
  768.  This form of the SYSDAT1_DAT_GetDDCLF function returns the board's disable
  769.  detailed callers log flag.
  770.  
  771. SYSDAT1_DAT_PutDDCLF(n AS INTEGER)
  772.  This form of the SYSDAT1_DAT_GetDDCLF function sets the board's disable
  773.  detailed callers log flag to "n". "n" must be in the range of 0 to 1 as
  774.  follows:
  775.  
  776.     0 = Use a detailed callers log.
  777.     1 = Do not use a detailed callers log.
  778.  
  779. SYSDAT1_DAT_GetEREF() AS INTEGER
  780.  This form of the SYSDAT1_DAT_GetEREF function returns the board's enable
  781.  RIPscrip emulation flag.
  782.  
  783. SYSDAT1_DAT_PutEREF(n AS INTEGER)
  784.  This form of the SYSDAT1_DAT_PutEREF function sets the board's enable
  785.  RIPscrip emulation flag to "n". "n" must be in the range of 0 to 1 as
  786.  follows:
  787.  
  788.     0 = Do not enable RIPscrip.
  789.     1 = Enable RIPscrip.
  790.  
  791. SYSDAT1_DAT_GetUAORNF() AS INTEGER
  792.  This form of the SYSDAT1_DAT_GetUAORNF function returns the board's use
  793.  alias or real names flag.
  794.  
  795. SYSDAT1_DAT_PutUAORNF(n AS INTEGER)
  796.  This form of the SYSDAT1_DAT_PutUAORN function sets the board's use alias or
  797.  real names flag to "n". "n" must be in the range of 0 to 1 as follows:
  798.  
  799.     0 = Uses the caller's alias for between node information purposes.
  800.     1 = Uses the caller's real name for between node information purposes.
  801.  
  802. SYSDAT1_DAT_GetCUADF() AS INTEGER
  803.  This form of the SYSDAT1_DAT_GetCUADF function returns the board's clear
  804.  uploads and downloads flag.
  805.  
  806. SYSDAT1_DAT_PutCUADF(n AS INTEGER)
  807.  This form of the SYSDAT1_DAT_PutCUADF function sets the board's clear
  808.  uploads and downloads flag to "n". "n" must be in the range of 0 to 1 as
  809.  follows:
  810.  
  811.     0 = Do not clear the user's upload and download counters when a user's
  812.         subscription expires.
  813.     1 = Clear the user's upload and download counters when a user's
  814.         subscription expires.
  815.  
  816. SYSDAT1_DAT_GetCPMAF() AS INTEGER
  817.  This form of the SYSDAT1_DAT_GetCPMAF function returns the board's clear
  818.  private message areas flag.
  819.  
  820. SYSDAT1_DAT_PutCPMAF(n AS INTEGER)
  821.  This form of the SYSDAT1_DAT_PutCPMAF function sets the board's clear private
  822.  message areas flag to "n". "n" must be in the range of 0 to 1 as follows:
  823.  
  824.     0 = Do not clear the user's private message area flags when the user's
  825.         subscription expires.
  826.     1 = Clear the user's private message area flags when the user's
  827.         subscription expires.
  828.  
  829. SYSDAT1_DAT_GetCPFAF() AS INTEGER
  830.  This form of the SYSDAT1_DAT_GetCPFAF function returns the board's clear
  831.  private file areas flag.
  832.  
  833. SYSDAT1_DAT_PutCPFAF(n AS INTEGER)
  834.  This form of the SYSDAT1_DAT_PutCPFAF function sets the board's clear private
  835.  file areas flag to "n". "n" must be in the range of 0 to 1 as follows:
  836.  
  837.     0 = Do not clear the user's private file area flags when the user's
  838.         subscription expires.
  839.     1 = Clear the user's private file area flags when the user's subscription
  840.         expires.
  841.  
  842. SYSDAT1_DAT_GetDUBF() AS INTEGER
  843.  This form of the SYSDAT1_DAT_GetDUBF function returns the board's disable
  844.  uploaded by flag.
  845.  
  846. SYSDAT1_DAT_PutDUBF(n AS INTEGER)
  847.  This form of the SYSDAT1_DAT_PutDUBF function sets the board's disable
  848.  uploaded by flag to "n". "n" must be in the range of 0 to 1 as follows:
  849.  
  850.     0 = Put "Uploaded By:" lines in the file list when a file is uploaded.
  851.     1 = Do not put "Uploaded By:" lines in the file list when a file is
  852.         uploaded.
  853.