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 >
Wrap
Text File
|
1993-12-02
|
851b
|
39 lines
#ifndef NWCALLS_INC
#include <nwcalls.h>
#endif
/* record format for audit file record */
typedef struct {
BYTE recordType; /* 1 for charge, 2 for note */
BYTE dateAndTime[7];
NWOBJ_ID chargerID;
long charge;
NWOBJ_ID chargeeID;
/* note record has a string here */
} AUDIT_RECORD;
NWCCODE NWAPI DoItSubmitAccountNote(
NWCONN_HANDLE conn,
WORD objectType,
char NWPTR objectName,
long amount,
char *noteString);
NWCCODE NWAPI DoItQueryAccountingInstalled(
NWCONN_HANDLE conn,
BYTE NWPTR installed);
NWCCODE NWAPI DoItGetAccountStatus(
NWCONN_HANDLE conn,
NWOBJ_TYPE objectType,
char NWPTR objectName,
long NWPTR balance,
long NWPTR limit);
NWCCODE NWAPI DoItSubmitAccountCharge(
NWCONN_HANDLE conn,
WORD objectType,
char NWPTR objectName,
long chargeAmount);