home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / t / tpapi.zip / NWACCNTG.PA1 < prev    next >
Text File  |  1992-03-02  |  3KB  |  67 lines

  1. {!R! FONT 15; FTMD 15; EXIT;}
  2.  
  3.  
  4. {***************************************************************************}
  5. {** Program : NWACCNTG                                                    **}
  6. {***************************************************************************}
  7. {** Version : 1.3             ** Started : 11/11/91  ** Ended :   /  /    **}
  8. {***************************************************************************}
  9. {******************************** Description ******************************}
  10. {***************************************************************************}
  11. {** OOP library for Netware API                                           **}
  12. {**                                                                       **}
  13. {** This unit forms the second level object : ACCOUNTING                  **}
  14. {** This object is a descandent of          : NETWARE                     **}
  15. {**                                                                       **}
  16. {**                                                                       **}
  17. {**                                                                       **}
  18. {**                                                                       **}
  19. {***************************************************************************}
  20. {******************************** Information ******************************}
  21. {***************************************************************************}
  22. {** Provides Netware Accounting Services.                                 **}
  23. {**                                                                       **}
  24. {**                                                                       **}
  25. {**                                                                       **}
  26. {** This code is (c) 1991,1992 Tony Covelli                               **}
  27. {** Portions (c) Novell Inc,                                              **}
  28. {**                                                                       **}
  29. {**                                                                       **}
  30. {***************************************************************************}
  31.  
  32. {$I NETWARE.INC}
  33.  
  34. UNIT NWACCNTG;
  35.  
  36. INTERFACE
  37.  
  38. USES
  39.  
  40.   netware, nwvar;
  41.  
  42. TYPE
  43.  
  44.   pAccountingOBJ = ^AccountingOBJ;
  45.   AccountingOBJ  = object (NetwareOBJ)
  46.  
  47.     CONSTRUCTOR Init;
  48.  
  49.     FUNCTION    GetAccountStatus        (BinderyObjectType : WORD; BinderyObjectName : ObjectNameType;
  50.                                          VAR Balance, Limit : LONGINT; VAR Holds : Longint32ArrayType) : WORD;
  51.  
  52.     FUNCTION    SubmitAccountCharge     (BinderyObjectType : WORD; BinderyObjectName : ObjectNameType;
  53.                                          ServiceType : WORD; ChargeAmount, CancelHoldAmount : LONGINT;
  54.                                          CommentType : WORD; Comment : String255Type) : WORD;
  55.  
  56.     FUNCTION    SubmitAccountHold       (BinderyObjectType : WORD; BinderyObjectName : ObjectNameType;
  57.                                          ReserveAmount : LONGINT) : WORD;
  58.  
  59.     FUNCTION    SubmitAccountNote       (BinderyObjectType : WORD; BinderyObjectName : ObjectNameType;
  60.                                          ServiceType, CommentType, CommentLen : WORD;
  61.                                          Comment : String255Type) : WORD;
  62.  
  63.     DESTRUCTOR Done; VIRTUAL;
  64.  
  65.   END;
  66.  
  67.