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

  1. Author....... : Gary Price
  2. Copyrighted by: Freejack's Software 1997-98
  3.  
  4. NODE_DAT API for TriBBS v10.x/11.x written in PowerBasic v3.5
  5. ---------------------------------------------------------------------------
  6.  
  7. The NODE_DAT unit is used to manipulate data in the NODE.DAT data file
  8. found in Node's Main directory. The NODE_DAT unit is declared in
  9. PBAPI10.INC as follows:
  10.  
  11. Node.dat BitFields Breakdown
  12.  
  13.  NodeDatBit.bit1 BIT Assignment
  14.     0 = No300BaudCallersFlag                     0 = Yes, 1 = No
  15.     1 = No1200BaudCallersFlag                    0 = Yes, 1 = No
  16.     2 = No2400BaudCallersFlag                    0 = Yes, 1 = No
  17.     3 = RTSCTSHandshakingFlag                    0 = No,  1 = Yes
  18.     4 = LockSerialPortFlag                       0 = No,  1 = Yes
  19.     5 = DirectScreenWriteFlag                    0 = No,  1 = Yes
  20.     6 = PageBellOnFlag                           0 = Off, 1 = On
  21.     7 = UseNodeDISPLAYDirectoryFlag              0 = No,  1 = Yes
  22.  
  23.  NodeDatBit.bit2 BIT Assignment
  24.     0 = PhoneOffHookDuringEventsFlag             0 = No, 1 = Yes
  25.     1 = EnableLocalRIPscripEmulationFlag         0 = No, 1 = Yes
  26.     2 = UseFossilDriverFlag                      0 = No, 1 = Yes
  27.     3 = EnableCallerIDFlag                       0 = No, 1 = Yes
  28.     4 = BumpNoInfoCallsFlag                      0 = No, 1 = Yes
  29.     5 = BumpBlockedCallsFlag                     0 = No, 1 = Yes
  30.     6 = BumpOutOfAreaCallsFlag                   0 = No, 1 = Yes
  31.     7 = 0 (Reserved)
  32.  
  33.  NodeDatBit.bit3 to NodeDatBit.bit10 - All bits are set to 0  (Reserved)
  34.  
  35. Sub Type Structure for 10 byte BitFields
  36.  TYPE NodeDatBit
  37.     bit1  AS BYTE
  38.     bit2  AS BYTE
  39.     bit3  AS BYTE
  40.     bit4  AS BYTE
  41.     bit5  AS BYTE
  42.     bit6  AS BYTE
  43.     bit7  AS BYTE
  44.     bit8  AS BYTE
  45.     bit9  AS BYTE
  46.     bit10 AS BYTE
  47.  END TYPE
  48.  
  49. ---------------------------------------------------------------------------
  50.  
  51. File Name: "NODE.DAT"
  52.  TYPE NodeDat
  53.     InitializationString             AS STRING * 81
  54.     ErrorCorrectingConnectionMessage AS STRING * 5
  55.     ATZString                        AS STRING * 16
  56.     ATAString                        AS STRING * 16
  57.     ATH0String                       AS STRING * 16
  58.     ATH1String                       AS STRING * 16
  59.     DateOfLastCall                   AS STRING * 9
  60.     NodeNumber                       AS INTEGER
  61.     SerialPort                       AS INTEGER
  62.     DelayBeforeATA                   AS INTEGER
  63.     NumberOfRings                    AS INTEGER
  64.     NodeSecurityLevel                AS INTEGER
  65.     MaximumKeyboardIdleTime          AS INTEGER
  66.     NonStandardIRQNumber             AS INTEGER
  67.     DelayAfterCONNECT                AS INTEGER
  68.     MaximumBaudRate                  AS LONG
  69.     NodeDatBitFields                 AS NodeDatBit
  70.     ReservedDataArea                 AS STRING * 3907
  71.  END TYPE
  72.  
  73.  DIM NodeDatBit AS NodeDatBit
  74.  DIM NODEDAT    AS SHARED NODEDAT
  75.  DIM nd         AS SHARED NODEDAT PTR
  76.  
  77.  nd = VARPTR32(NODEDAT)
  78.  LSET NODEDAT = NODEDAT
  79. ---------------------------------------------------------------------------
  80.  
  81. FUNCTION's below are from the NODEDAT.PBU Unit and DECLAREd in PBAPI10.INC.
  82.  
  83. FUNCTION NODE_DAT_Open()
  84. FUNCTION NODE_DAT_Close()
  85. FUNCTION NODE_DAT_Read()
  86. FUNCTION NODE_DAT_Write()
  87. FUNCTION NODE_DAT_OpenRead()
  88. FUNCTION NODE_DAT_WriteClose()
  89. FUNCTION NODE_DAT_OpenReadClose()
  90. FUNCTION NODE_DAT_OpenWriteClose()
  91. FUNCTION NODE_DAT_ClearIt()
  92. FUNCTION NODE_DAT_Initialize()
  93.  
  94. FUNCTION NODE_DAT_GetIS() AS STRING
  95. FUNCTION NODE_DAT_PutIS(s AS STRING)
  96. FUNCTION NODE_DAT_GetECCM() AS STRING
  97. FUNCTION NODE_DAT_PutECCM(s AS STRING)
  98. FUNCTION NODE_DAT_GetATZS() AS STRING
  99. FUNCTION NODE_DAT_PutATZS(s AS STRING)
  100. FUNCTION NODE_DAT_GetATAS() AS STRING
  101. FUNCTION NODE_DAT_PutATAS(s AS STRING)
  102. FUNCTION NODE_DAT_GetATH0S() AS STRING
  103. FUNCTION NODE_DAT_PutATH0S(s AS STRING)
  104. FUNCTION NODE_DAT_GetATH1S() AS STRING
  105. FUNCTION NODE_DAT_PutATH1S(s AS STRING)
  106. FUNCTION NODE_DAT_GetDOLC() AS STRING
  107. FUNCTION NODE_DAT_PutDOLC(s AS STRING)
  108. FUNCTION NODE_DAT_GetNN() AS INTEGER
  109. FUNCTION NODE_DAT_PutNN(n AS INTEGER)
  110. FUNCTION NODE_DAT_GetSP() AS INTEGER
  111. FUNCTION NODE_DAT_PutSP(n AS INTEGER)
  112. FUNCTION NODE_DAT_GetDBATA() AS INTEGER
  113. FUNCTION NODE_DAT_PutDBATA(n AS INTEGER)
  114. FUNCTION NODE_DAT_GetDAC() AS INTEGER
  115. FUNCTION NODE_DAT_PutDAC(n AS INTEGER)
  116. FUNCTION NODE_DAT_GetNOR() AS INTEGER
  117. FUNCTION NODE_DAT_PutNOR(n AS INTEGER)
  118. FUNCTION NODE_DAT_GetNSL() AS INTEGER
  119. FUNCTION NODE_DAT_PutNSL(n AS INTEGER)
  120. FUNCTION NODE_DAT_GetMKIT() AS INTEGER
  121. FUNCTION NODE_DAT_PutMKIT(n AS INTEGER)
  122. FUNCTION NODE_DAT_GetNSIRQN() AS INTEGER
  123. FUNCTION NODE_DAT_PutNSIRQN(n AS INTEGER)
  124. FUNCTION NODE_DAT_GetMBR() AS LONG
  125. FUNCTION NODE_DAT_PutMBR(n AS LONG)
  126.  
  127. FUNCTION NODE_DAT_GetN300BCF() AS INTEGER
  128. FUNCTION NODE_DAT_PutN300BCF(n AS INTEGER)
  129. FUNCTION NODE_DAT_GetN1200BCF() AS INTEGER
  130. FUNCTION NODE_DAT_PutN1200BCF(n AS INTEGER)
  131. FUNCTION NODE_DAT_GetN2400BCF() AS INTEGER
  132. FUNCTION NODE_DAT_PutN2400BCF(n AS INTEGER)
  133. FUNCTION NODE_DAT_GetRTSCTSHF() AS INTEGER
  134. FUNCTION NODE_DAT_PutRTSCTSHF(n AS INTEGER)
  135. FUNCTION NODE_DAT_GetLSPFF() AS INTEGER
  136. FUNCTION NODE_DAT_PutLSPF(n AS INTEGER)
  137. FUNCTION NODE_DAT_GetDSWF() AS INTEGER
  138. FUNCTION NODE_DAT_PutDSWF(n AS INTEGER)
  139. FUNCTION NODE_DAT_GetPBOF() AS INTEGER
  140. FUNCTION NODE_DAT_PutPBOF(n AS INTEGER)
  141. FUNCTION NODE_DAT_GetUNDDF() AS INTEGER
  142. FUNCTION NODE_DAT_PutUNDDF(n AS INTEGER)
  143. FUNCTION NODE_DAT_GetPOHDEF() AS INTEGER
  144. FUNCTION NODE_DAT_PutPOHDEF(n AS INTEGER)
  145. FUNCTION NODE_DAT_GetELRIPEF() AS INTEGER
  146. FUNCTION NODE_DAT_PutELRIPEF(n AS INTEGER)
  147. FUNCTION NODE_DAT_GetUFDF() AS INTEGER
  148. FUNCTION NODE_DAT_PutUFDF(n AS INTEGER)
  149. FUNCTION NODE_DAT_GetECIDF() AS INTEGER
  150. FUNCTION NODE_DAT_PutECIDF(n AS INTEGER)
  151. FUNCTION NODE_DAT_GetBNICF() AS INTEGER
  152. FUNCTION NODE_DAT_PutBNICF(n AS INTEGER)
  153. FUNCTION NODE_DAT_GetBBCF() AS INTEGER
  154. FUNCTION NODE_DAT_PutBBCF(n AS INTEGER)
  155. FUNCTION NODE_DAT_GetBOOACF() AS INTEGER
  156. FUNCTION NODE_DAT_PutBOOACF(n AS INTEGER)
  157.  
  158. ---------------------------------------------------------------------------
  159.  ** EXTERNAL FUNCTION/SUB USED BY NODE.DAT UNIT BELOW **
  160.  
  161. SUB SplitDate(BYVAL InDate AS STRING, _
  162.               Month        AS INTEGER, _
  163.               Day          AS INTEGER, _
  164.               Year         AS INTEGER)
  165. FUNCTION MakeDate(BYVAL Month AS INTEGER, _
  166.                   BYVAL Day   AS INTEGER, _
  167.                   BYVAL Year  AS INTEGER) AS STRING
  168.  
  169. ---------------------------------------------------------------------------
  170.  MPORTANT: TBNode1sMainDirectory must be set to node 1's main directory
  171.  before calling any function with the "Open" word.
  172.  
  173. NODE_DAT_Open()
  174.  The NODE_DAT_Open function opens the NODE.DAT data file in the node's main
  175.  directory.
  176.  
  177. NODE_DAT_Close()
  178.  The NODE_DAT_Close function closes the NODE.DAT data file in the node's main
  179.  directory.
  180.  
  181. NODE_DAT_Read()
  182.  The NODE_DAT_Read function reads the contents of the NODE.DAT data file into
  183.  memory.
  184.  
  185. NODE_DAT_Write()
  186.  The NODE_DAT_Write function updates the contents of NODE.DAT from memory.
  187.  
  188. NODE_DAT_OpenRead()
  189.  The NODE_DAT_OpenRead function provides the functionality of the
  190.  NODE_DAT_Open and NODE_DAT_Read functions in a single function call.
  191.  
  192. NODE_DAT_WriteClose()
  193.  The NODE_DAT_WriteClose function provides the functionality of the
  194.  NODE_DAT_Write and NODE_DAT_Close functions in a single function call.
  195.  
  196. NODE_DAT_OpenReadClose()
  197.  The NODE_DAT_OpenReadClose function provides the functionality of the
  198.  NODE_DAT_Open, NODE_DAT_Read, and NODE_DAT_Close functions in a single
  199.  function call.
  200.  
  201. NODE_DAT_OpenWriteClose()
  202.  The NODE_DAT_OpenWriteClose function provides the functionality of the
  203.  NODE_DAT_Open, NODE_DAT_Write, and NODE_DAT_Close functions in a single
  204.  function call.
  205.  
  206. NODE_DAT_ClearIt()
  207.  The NODE_DAT_ClearIt function sets the entire NODE_DAT data record to all
  208.  zeros.
  209.  
  210. NODE_DAT_Initialize()
  211.  The NODE_DAT_Initialize function is used to create a NODE.DAT data file if
  212.  one doesn't exist.
  213.  
  214. -----------------------------------------------------------------------------
  215. POINTERS Uses a hidden variable I use called "@nd". Any reference to this is
  216. only for your information for discussion in this doc file. You will not need
  217. to concern yourself trying to use this.. All calls are handled in the main
  218. NODEDAT.PBU Unit by my routines automatically. In other words, I am trying
  219. to keep Pointers as easy as possible for your use. :)
  220.  
  221. Also, all calls to any Functions which gets data with the string routines
  222. will auto-trim each string's extra spaces and the null terminator, CHR$(0),
  223. off so printing will be easier for you to manipulate. When calling the string
  224. routines to put data back into the string space, all string data will be
  225. resized to fit the NODE.DAT type structure and will add the null terminator
  226. back to the end of the string. Just remember, when working the data in memory
  227. with the pointer calls, you still have to write the data back to the NODE.DAT
  228. in order for the changes to become permanent.
  229.  
  230. -----------------------------------------------------------------------------
  231. NODE_DAT_GetIS() AS STRING
  232.  This form of the NODE_DAT_GetIS function returns a pointer to the node's
  233.  initialization string string.
  234.  
  235. NODE_DAT_PutIS(s AS STRING)
  236.  This form of the NODE_DAT_PutIS function sets the node's initialization
  237.  string string to the string pointed to by "s".  Note that the string pointed
  238.  to by "s" can be no more than 80 characters in length.
  239.  
  240. NODE_DAT_GetECCM() AS STRING
  241.  This form of the NODE_DAT_GetECCM function returns a pointer to the node's
  242.  error correcting connection message string.
  243.  
  244. NODE_DAT_PutECCM(s AS STRING)
  245.  This form of the NODE_DAT_PutECCM sets the node's error correcting connection
  246.  message string to the string pointed to by "s". Note that the string pointed
  247.  to by "s" can be no more than 4 characters in length.
  248.  
  249. NODE_DAT_GetATZS() AS STRING
  250.  This form of the NODE_DAT_GetATZS function returns a pointer to the node's
  251.  ATZ string string.
  252.  
  253. NODE_DAT_PutATZS(s AS STRING)
  254.  This form of the NODE_DAT_GetATZS function sets the node's ATZ string string
  255.  to the string pointed to by "s". Note that the string pointed to by "s" can
  256.  be no more than 15 characters in length.
  257.  
  258. NODE_DAT_GetATAS() AS STRING
  259.  This form of the NODE_DAT_GetATAS function returns a pointer to the node's
  260.  ATA string string.
  261.  
  262. NODE_DAT_PutATAS(s AS STRING)
  263.  This form of the NODE_DAT_PutATAS function sets the node's ATA string string
  264.  to the string pointed to by "s". Note that the string pointed to by "s" can
  265.  be no more than 15 characters in length.
  266.  
  267. NODE_DAT_GetATH0S() AS STRING
  268.  This form of the NODE_DAT_GetATH0S function returns a pointer to the node's
  269.  ATH0 string string.
  270.  
  271. NODE_DAT_PutATH0S(s AS STRING)
  272.  This form of the NODE_DAT_PutATH0S function sets the node's ATH0 string
  273.  string to the string pointed to by "s". Note that the string pointed to by
  274.  "s" can be no more than 15 characters in length.
  275.  
  276. NODE_DAT_GetATH1S()
  277.  This form of the NODE_DAT_GetATH1S function returns a pointer to the node's
  278.  ATH1 string string.
  279.  
  280. NODE_DAT_PutATH1S(s AS STRING)
  281.  This form of the NODE_DAT_PutATH1S function sets the node's ATH1 string
  282.  string to the string pointed to by "s". Note that the string pointed to by
  283.  "s" can be no more than 15 characters in length.
  284.  
  285. NODE_DAT_GetDOLC() AS STRING
  286.  This form of the NODE_DAT_GetDOLC function returns a pointer to the node's
  287.  date of last call string.
  288.  
  289. NODE_DAT_PutDOLC(s AS STRING)
  290.  This form of the NODE_DAT_PutDOLC function sets the date of last call string
  291.  to the string pointed to by "s". Note that the string pointed to by "s" can
  292.  be no more than 8 characters in length and use the format "MM/DD/YY".
  293.  
  294. NODE_DAT_GetNN() AS INTEGER
  295.  This form of the NODE_DAT_GetNN function returns the node's node number.
  296.  
  297. NODE_DAT_PutNN(n AS INTEGER)
  298.  This form of the NODE_DAT_PutNN function sets the node's node number to "n".
  299.  "n" must be in the range of 1 to 255.
  300.  
  301. NODE_DAT_GetSP() AS INTEGER
  302.  This form of the NODE_DAT_GetSP function returns the node's serial port
  303.  number.
  304.  
  305. NODE_DAT_PutSP(n AS INTEGER)
  306.  This form of the NODE_DAT_PutSP function sets the node's serial port number
  307.  to "n". "n" must be in the range of 0 to 4.
  308.  
  309.     0 = Local
  310.     1 = Com Port 1
  311.     2 = Com Port 2
  312.     3 = Com Port 3
  313.     4 = Com Port 4
  314.  
  315. NODE_DAT_GetDBATA() AS INTEGER
  316.  This form of the NODE_DAT_GetDBATA function returns the node's delay before
  317.  ATA.
  318.  
  319. NODE_DAT_PutDBATA(n AS INTEGER)
  320.  This form of the NODE_DAT_PutDBATA function sets the node's delay before ATA
  321.  to "n".
  322.  
  323. NODE_DAT_GetDAC() AS INTEGER
  324.  This form of the NODE_DAT_GetDAC function returns the node's delay after
  325.  CONNECT.
  326.  
  327. NODE_DAT_PutDAC(n AS INTEGER)
  328.  This form of the NODE_DAT_PutDAC function sets the node's delay after CONNECT
  329.  to "n".
  330.  
  331. NODE_DAT_GetNOR() AS INTERGER
  332.  This form of the NODE_DAT_PutNOR function returns the node's number of rings.
  333.  
  334. NODE_DAT_PutNOR(n AS INTEGER)
  335.  This form of the NODE_DAT_PutNOR function sets the node's number of rings to
  336.  "n".
  337.  
  338. NODE_DAT_GetNSL() AS INTEGER
  339.  This form of the NODE_DAT_GetNSL function returns the node's minimum security
  340.  level.
  341.  
  342. NODE_DAT_PutNSL(n AS INTEGER)
  343.  This form of the NODE_DAT_PutNSL function sets the node's minimum security
  344.  level to "n". "n" must be in the range of 0 to 9999.
  345.  
  346. NODE_DAT_GetMKIT() AS INTEGER
  347.  This form of the NODE_DAT_PutMKIT function returns the node's maximum
  348.  keyboard idle time.
  349.  
  350. NODE_DAT_PutMKIT(n AS INTEGER)
  351.  This form of the NODE_DAT_PutMKIT function sets the node's maximum keyboard
  352.  idle time to "n".
  353.  
  354. NODE_DAT_GetNSIRQN() AS INTEGER
  355.  This form of the NODE_DAT_GetNSIRQN function returns the node's nonstandard
  356.  IRQ number.
  357.  
  358. NODE_DAT_PutNSIRQN(n AS INTEGER)
  359.  This form of the NODE_DAT_PutNSIRQN function sets the node's nonstandard IRQ
  360.  number to "n". "n" must be in the range of 0 to 15.
  361.  
  362. NODE_DAT_GetMBR() AS LONG
  363.  This form of the NODE_DAT_GetMBR function returns the node's maximum baud
  364.  rate.
  365.  
  366. NODE_DAT_PutMBR(n AS LONG)
  367.  This form of the NODE_DAT_PutMBR function sets the node's maximum baud rate
  368.  to "n". "n" must be in the range of 0 to 115,400.
  369.  
  370. -----------------------------------------------------------------------------
  371. All BIT Field Flags below have been converted to Integers to allow easier
  372. access and handling.
  373. -----------------------------------------------------------------------------
  374. NODE_DAT_GetN300BCF() AS INTEGER
  375.  This form of the NODE_DAT_GetN300BCF function returns the node's no 300 baud
  376.  callers flag.
  377.  
  378. NODE_DAT_PutN300BCF(n AS INTEGER)
  379.  This form of the NODE_DAT_PutN300BCF function sets the node's no 300 baud
  380.  callers flag to "n". "n" must be in the range of 0 to 1 as follows:
  381.  
  382.     0 = Allow 300 baud callers.
  383.     1 = Do not allow 300 baud callers.
  384.  
  385. NODE_DAT_GetN1200BCF() AS INTERGER
  386.  This form of the NODE_DAT_GetN1200BCF function returns the node's no 1200
  387.  baud callers flag.
  388.  
  389. NODE_DAT_PutN1200BCF(n AS INTEGER)
  390.  This form of the NODE_DAT_PutN1200BCF function sets the node's no 1200 baud
  391.  callers flag to "n". "n" must be in the range of 0 to 1 as follows:
  392.  
  393.     0 = Allow 1200 baud callers.
  394.     1 = Do not allow 1200 baud callers.
  395.  
  396. NODE_DAT_GetN2400BCF() AS INTEGER
  397.  This form of the NODE_DAT_GetN2400BCF function returns the node's no 2400
  398.  baud callers flag.
  399.  
  400. NODE_DAT_PutN2400BCF(n AS INTEGER)
  401.  This form of the NODE_DAT_PutN2400BCF function sets the node's no 2400 baud
  402.  callers flag to "n". "n" must be in the range of 0 to 1 as follows:
  403.  
  404.     0 = Allow 2400 baud callers.
  405.     1 = Do not allow 2400 baud callers.
  406.  
  407. NODE_DAT_GetRTSCTSHF() AS INTEGER
  408.  This form of the NODE_DAT_GetRTSCTSHF function returns the node's RTS/CTS
  409.  handshaking flag.
  410.  
  411. NODE_DAT_PutRTSCTSHF(n AS INTEGER)
  412.  This form of the NODE_DAT_PutRTSCTSHF function sets the node's RTS/CTS
  413.  handshaking flag to "n". "n" must be in the range of 0 to 1 as follows:
  414.  
  415.     0 = Do not use RTS/CTS handshaking.
  416.     1 = Use RTS/CTS handshaking.
  417.  
  418. NODE_DAT_GetLSPF() AS INTEGER
  419.  This form of the NODE_DAT_GetLSPF function returns the node's lock serial
  420.  port flag.
  421.  
  422. NODE_DAT_PutLSPF(n AS INTEGER)
  423.  This form of the NODE_DAT_PutLSPF function sets the node's lock serial port
  424.  flag to "n". "n" must be in the range of 0 to 1 as follows:
  425.  
  426.     0 = Do not lock the serial port.
  427.     1 = Lock the serial port.
  428.  
  429. NODE_DAT_GetDSWF() AS INTEGER
  430.  This form of the NODE_DAT_GetDSWF function returns the node's direct screen
  431.  write flag.
  432.  
  433. NODE_DAT_PutDSWF(n AS INTEGER)
  434.  This form of the NODE_DAT_PutDSWF function sets the node's direct screen
  435.  write flag to "n". "n" must be in the range of 0 to 1 as follows:
  436.  
  437.     0 = Disable the video controller when writing to screen memory.
  438.     1 = Do not disable the video controller when writing to screen memory.
  439.  
  440. NODE_DAT_GetPBOF() AS INTEGER
  441.  This form of the NODE_DAT_GetPBOF function returns the node's page bell on
  442.  flag.
  443.  
  444. NODE_DAT_PutPBOF(n AS INTEGER)
  445.  This form of the NODE_DAT_PutPBOF function sets the node's page bell on flag
  446.  to "n". "n" must be in the range of 0 to 1 as follows:
  447.  
  448.     0 = The page bell is off.
  449.     1 = The page bell is on.
  450.  
  451. NODE_DAT_GetUNDDF() AS INTEGER
  452.  This form of the NODE_DAT_GetUNDDF function returns the node's use node
  453.  DISPLAY directory flag.
  454.  
  455. NODE_DAT_PutUNDDF(n AS INTEGER)
  456.  This form of the NODE_DAT_GetUNDDF function sets the node's use node DISPLAY
  457.  directory flag to "n". "n" must be in the range of 0 to 1 as follows:
  458.  
  459.     0 = Use node 1's DISPLAY directory.
  460.     1 = Use the node's DISPLAY directory.
  461.  
  462. NODE_DAT_GetPOHDEF() AS INTEGER
  463.  This form of the NODE_DAT_GetPOHDEF function returns the node's phone off
  464.  hook during events flag.
  465.  
  466. NODE_DAT_PutPOHDEF(n AS INTEGER)
  467.  This form of the NODE_DAT_PutPOHDEF function sets the node's phone off hook
  468.  during events flag to "n". "n" must be in the range of 0 to 1 as follows:
  469.  
  470.     0 = Do not take the phone off hook during events.
  471.     1 = Take the phone off hook during events.
  472.  
  473. NODE_DAT_GetELRIPEF() AS INTEGER
  474.  This form of the NODE_DAT_GetELRIPEF function returns the node's enable
  475.  local RIPscrip emulation flag.
  476.  
  477. NODE_DAT_PutELRIPEF(n AS INTEGER)
  478.  This form of the NODE_DAT_PutELRIPEF function sets the node's enable local
  479.  RIPscrip emulation flag to "n". "n" must be in the range of 0 to 1 as
  480.  follows:
  481.  
  482.     0 = Disable local RIPscrip emulation.
  483.     1 = Enable local RIPscrip emulation.
  484.  
  485. NODE_DAT_GetUFDF() AS INTEGER
  486.  This form of the NODE_DAT_GetUFDF function returns the node's use fossil
  487.  driver flag.
  488.  
  489. NODE_DAT_PutUFDF(n AS INTEGER)
  490.  This form of the NODE_DAT_PutUFDF function sets the node's use fossil driver
  491.  flag to "n". "n" must be in the range of 0 to 1 as follows:
  492.  
  493.     0 = Do not use a fossil driver.
  494.     1 = Use a fossil driver.
  495.  
  496. NODE_DAT_GetECIDF() AS INTEGER
  497.  This form of the NODE_DAT_GetECIDF function returns the node's enable caller
  498.  ID flag.
  499.  
  500. NODE_DAT_PutECIDF(n AS INTEGER)
  501.  This form of the NODE_DAT_PutECIDF function sets the node's enable caller ID
  502.  flag to "n". "n" must be in the range of 0 to 1 as follows:
  503.  
  504.     0 = Do not enable caller ID.
  505.     1 = Enable caller ID.
  506.  
  507. NODE_DAT_GetBNICF() AS INTEGER
  508.  This form of the NODE_DAT_GetBNICF function returns the node's bump no info
  509.  calls flag.
  510.  
  511. NODE_DAT_PutBNICF(n AS INTEGER)
  512.  This form of the NODE_DAT_PutBNICF function sets the node's bump no info
  513.  calls flag to "n". "n" must be in the range of 0 to 1 as follows:
  514.  
  515.     0 = Do not bump no info calls.
  516.     1 = Bump no info calls.
  517.  
  518. NODE_DAT_GetBBCF() AS INTEGER
  519.  This form of the NODE_DAT_GetBBCF function returns the node's bump blocked
  520.  calls flag.
  521.  
  522. NODE_DAT_PutBBCF(n AS INTEGER)
  523.  This form of the NODE_DAT_PutBBCF function sets the node's bump blocked
  524.  calls flag to "n". "n" must be in the range of 0 to 1 as follows:
  525.  
  526.     0 = Do not bump blocked calls.
  527.     1 = Bump blocked calls.
  528.  
  529. NODE_DAT_GetBOOACF() AS INTEGER
  530.  This form of the NODE_DAT_GetBOOACF function returns the node's bump out of
  531.  area calls flag.
  532.  
  533. NODE_DAT_PutBOOACF(n AS INTEGER)
  534.  This form of the NODE_DAT_PutBOOACF function sets the node's bump out of 
  535.  area calls flag to "n". "n" must be in the range of 0 to 1 as follows:
  536.  
  537.     0 = Do not bump out of area calls.
  538.     1 = Bump out of area calls.
  539.