ncpcalls: use descriptive names for NCP wrapper functions

Rename the low-level NCP wrapper functions in ncpcall.c and net.h to include
both the NCP function/subfunction number and the operation they perform.

This keeps the numeric protocol reference visible for comparison with SDK
documentation and MARS-NWE logs, while making call sites easier to understand.
Update all callers to use the new names.

No behavior change.
This commit is contained in:
Mario Fetka
2026-05-29 09:55:33 +02:00
parent 19afe23651
commit 53e28c6bfe
12 changed files with 54 additions and 54 deletions

View File

@@ -416,7 +416,7 @@ int func_grant(int argc, char *argv[], int mode)
strmaxcpy(namebuf, objname, sizeof(namebuf) - 1);
upstr(namebuf);
object_id = ncp_17_35(namebuf, objtype);
object_id = ncp17_35_get_bindery_object_id(namebuf, objtype);
if (!object_id) {
char header[300];