home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / an401x.exe / DOITACCT.H < prev    next >
Text File  |  1993-12-02  |  851b  |  39 lines

  1. #ifndef NWCALLS_INC
  2. #include <nwcalls.h>
  3. #endif
  4.  
  5. /* record format for audit file record */
  6. typedef struct {
  7.     BYTE            recordType;                /* 1 for charge, 2 for note */
  8.     BYTE            dateAndTime[7];
  9.     NWOBJ_ID        chargerID;
  10.     long            charge;
  11.     NWOBJ_ID        chargeeID;
  12.     /* note record has a string here */
  13. } AUDIT_RECORD;
  14.  
  15.  
  16. NWCCODE NWAPI DoItSubmitAccountNote(
  17.   NWCONN_HANDLE conn,
  18.   WORD objectType,
  19.   char NWPTR objectName,
  20.   long amount,
  21.   char *noteString);
  22.  
  23. NWCCODE NWAPI DoItQueryAccountingInstalled(
  24.   NWCONN_HANDLE conn,
  25.   BYTE NWPTR installed);
  26.  
  27. NWCCODE NWAPI DoItGetAccountStatus(
  28.   NWCONN_HANDLE conn,
  29.   NWOBJ_TYPE objectType,
  30.   char NWPTR objectName,
  31.   long NWPTR balance,
  32.   long NWPTR limit);
  33.  
  34. NWCCODE NWAPI DoItSubmitAccountCharge(
  35.   NWCONN_HANDLE conn,
  36.   WORD objectType,
  37.   char NWPTR objectName,
  38.   long chargeAmount);
  39.