ncpcalls: rename remaining C32 transport symbols

Rename the remaining C32-prefixed transport helpers, probe helpers, types and
constants to protocol-oriented NCP names.

This removes implementation-oriented c32/C32 naming from the shared NCP API and
transport layer while keeping the current c32ncp.c/c32ncp.h file names until
the later ncpapi.c/ncpapi.h rename. The new names avoid conflicts by using
ncp_* helper names and NCP_* type/constant prefixes.

No behavior change.
This commit is contained in:
Mario Fetka
2026-05-29 11:32:09 +02:00
parent 9e89f85622
commit 40e7ebf939
11 changed files with 132 additions and 132 deletions

8
ndir.c
View File

@@ -558,7 +558,7 @@ static int ndir_ncp22_scan_entry(char *name, int want_dir, uint32 *attrs)
return(0);
}
static int ndir_get_ncp_info(char *path, C32_NDIR_INFO *info)
static int ndir_get_ncp_info(char *path, NCP_NDIR_INFO *info)
{
uint8 connid = 0;
uint8 dhandle = 0;
@@ -579,7 +579,7 @@ static int ndir_get_ncp_info(char *path, C32_NDIR_INFO *info)
static void ndir_inherited_rights(char *path, char *out)
{
C32_NDIR_INFO info;
NCP_NDIR_INFO info;
strcpy(out, "--------");
@@ -709,7 +709,7 @@ static void ndir_print_dir(char *dir, NDIR_FIND_ENTRY *ent, int options,
char eff[10];
char inh[10];
char owner[50];
C32_NDIR_INFO info;
NCP_NDIR_INFO info;
tool_join_path(path, dir, ent->ff.name, sizeof(path));
if (!ndir_get_ncp_info(path, &info)) {
@@ -731,7 +731,7 @@ static void ndir_print_dir(char *dir, NDIR_FIND_ENTRY *ent, int options,
static void ndir_fill_entry_info(char *dir, NDIR_FIND_ENTRY *ent)
{
char path[260];
C32_NDIR_INFO info;
NCP_NDIR_INFO info;
int have_ncp22_attrs;
ent->attrs = (uint32)ent->ff.attrib;