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 >
Wrap
Text File
|
1992-03-02
|
3KB
|
67 lines
{!R! FONT 15; FTMD 15; EXIT;}
{***************************************************************************}
{** Program : NWACCNTG **}
{***************************************************************************}
{** Version : 1.3 ** Started : 11/11/91 ** Ended : / / **}
{***************************************************************************}
{******************************** Description ******************************}
{***************************************************************************}
{** OOP library for Netware API **}
{** **}
{** This unit forms the second level object : ACCOUNTING **}
{** This object is a descandent of : NETWARE **}
{** **}
{** **}
{** **}
{** **}
{***************************************************************************}
{******************************** Information ******************************}
{***************************************************************************}
{** Provides Netware Accounting Services. **}
{** **}
{** **}
{** **}
{** This code is (c) 1991,1992 Tony Covelli **}
{** Portions (c) Novell Inc, **}
{** **}
{** **}
{***************************************************************************}
{$I NETWARE.INC}
UNIT NWACCNTG;
INTERFACE
USES
netware, nwvar;
TYPE
pAccountingOBJ = ^AccountingOBJ;
AccountingOBJ = object (NetwareOBJ)
CONSTRUCTOR Init;
FUNCTION GetAccountStatus (BinderyObjectType : WORD; BinderyObjectName : ObjectNameType;
VAR Balance, Limit : LONGINT; VAR Holds : Longint32ArrayType) : WORD;
FUNCTION SubmitAccountCharge (BinderyObjectType : WORD; BinderyObjectName : ObjectNameType;
ServiceType : WORD; ChargeAmount, CancelHoldAmount : LONGINT;
CommentType : WORD; Comment : String255Type) : WORD;
FUNCTION SubmitAccountHold (BinderyObjectType : WORD; BinderyObjectName : ObjectNameType;
ReserveAmount : LONGINT) : WORD;
FUNCTION SubmitAccountNote (BinderyObjectType : WORD; BinderyObjectName : ObjectNameType;
ServiceType, CommentType, CommentLen : WORD;
Comment : String255Type) : WORD;
DESTRUCTOR Done; VIRTUAL;
END;