docs: audit accounting endpoint stubs
This commit is contained in:
88
src/nwbind.c
88
src/nwbind.c
@@ -2724,6 +2724,94 @@ static void handle_fxx(int gelen, int func)
|
||||
completition=(uint8) -result;
|
||||
}break;
|
||||
|
||||
#if 0
|
||||
case 0x96: { /* Get Current Account Status */
|
||||
/*
|
||||
* SDK 23/150 / wire 0x96 Get Current Account Status.
|
||||
* NetWare Server: 2.x, 3.x, 4.x, 5.x.
|
||||
* Eligible for the current 1.x/2.x/3.x compatibility
|
||||
* audit because accounting servers and print servers can
|
||||
* query ACCOUNT_BALANCE/ACCOUNT_HOLDS before charging for
|
||||
* services.
|
||||
* Request payload after SubFunctionCode:
|
||||
* word ClientType (Hi-Lo)
|
||||
* byte ClientNameLen
|
||||
* byte ClientName[ClientNameLen]
|
||||
* Reply payload:
|
||||
* long AccountBalance (Hi-Lo)
|
||||
* long CreditLimit (Hi-Lo)
|
||||
* byte Reserved[120]
|
||||
* 16 x { long HolderID (Hi-Lo), long HoldAmount (Hi-Lo) }
|
||||
* Source outcome: no accounting backend exists yet. Keep
|
||||
* this as a disabled future stub until bindery-backed or
|
||||
* libdirectory-backed account properties and hold records
|
||||
* exist.
|
||||
* Future owner: accounting provider, with possible print
|
||||
* queue integration for page/job charging.
|
||||
*/
|
||||
}
|
||||
break;
|
||||
|
||||
case 0x97: { /* Submit Account Charge */
|
||||
/*
|
||||
* SDK 23/151 / wire 0x97 Submit Account Charge.
|
||||
* NetWare Server: 2.x, 3.x, 4.x, 5.x.
|
||||
* Request payload after SubFunctionCode:
|
||||
* long ChargeAmount (Hi-Lo)
|
||||
* long HoldCancelAmount (Hi-Lo)
|
||||
* word ServiceType (Hi-Lo)
|
||||
* word ClientType (Hi-Lo)
|
||||
* word CommentType (Hi-Lo)
|
||||
* byte ClientNameLen
|
||||
* byte ClientName[ClientNameLen]
|
||||
* byte CommentLen
|
||||
* byte Comment[CommentLen]
|
||||
* Reply: no data. Completion reports accounting result.
|
||||
* Source outcome: no accounting charge/audit-file writer is
|
||||
* present. Keep disabled; do not fake success because print
|
||||
* servers use this to charge completed work.
|
||||
*/
|
||||
}
|
||||
break;
|
||||
|
||||
case 0x98: { /* Submit Account Hold */
|
||||
/*
|
||||
* SDK 23/152 / wire 0x98 Submit Account Hold.
|
||||
* NetWare Server: 2.x, 3.x, 4.x, 5.x.
|
||||
* Request payload after SubFunctionCode:
|
||||
* long Amount (Hi-Lo)
|
||||
* word ClientType (Hi-Lo)
|
||||
* byte ClientNameLen
|
||||
* byte ClientName[ClientNameLen]
|
||||
* Reply: no data. Completion reports accounting result.
|
||||
* Source outcome: no ACCOUNT_HOLDS storage/update logic is
|
||||
* present. Keep disabled until an accounting provider can
|
||||
* update holds atomically with account balance checks.
|
||||
*/
|
||||
}
|
||||
break;
|
||||
|
||||
case 0x99: { /* Submit Account Note */
|
||||
/*
|
||||
* SDK 23/153 / wire 0x99 Submit Account Note.
|
||||
* NetWare Server: 2.x, 3.x, 4.x, 5.x.
|
||||
* Request payload after SubFunctionCode:
|
||||
* word ServiceType (Hi-Lo)
|
||||
* word ClientType (Hi-Lo)
|
||||
* word CommentType (Hi-Lo)
|
||||
* byte ClientNameLen
|
||||
* byte ClientName[ClientNameLen]
|
||||
* byte CommentLen
|
||||
* byte Comment[CommentLen]
|
||||
* Reply: no data.
|
||||
* Source outcome: no NET$ACCT.DAT/audit-note writer exists
|
||||
* yet. Keep disabled until the accounting provider defines
|
||||
* durable note/audit behavior.
|
||||
*/
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
|
||||
case 0x73: /* abort servicing queue job (old) */
|
||||
case 0x84: { /* abort servicing queue job */
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user