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

View File

@@ -1066,9 +1066,9 @@ static void tests_print_dos_date(char *label, uint16 date)
static int tests_ncp2225time(char *path, char *date_arg, char *time_arg)
{
uint8 dhandle = 0;
C32_NDIR_INFO before;
C32_NDIR_INFO after;
C32_NDIR_INFO restored;
NCP_NDIR_INFO before;
NCP_NDIR_INFO after;
NCP_NDIR_INFO restored;
uint16 target_date = 0x5c99; /* 2026-05-25 */
uint16 target_time = 0xa320; /* 20:25:00 */
int rc;
@@ -1163,9 +1163,9 @@ static int tests_ncp2225time(char *path, char *date_arg, char *time_arg)
static int tests_ncp2225adate(char *path, char *date_arg)
{
uint8 dhandle = 0;
C32_NDIR_INFO before;
C32_NDIR_INFO after;
C32_NDIR_INFO restored;
NCP_NDIR_INFO before;
NCP_NDIR_INFO after;
NCP_NDIR_INFO restored;
uint16 target_date = 0x5c99; /* 2026-04-25 */
int rc;
int restore = 1;
@@ -1317,9 +1317,9 @@ static int tests_ncp2225maxspace(char *path, char *space_arg)
static int tests_ncp2225modid(char *path, char *id_arg)
{
uint8 dhandle = 0;
C32_NDIR_INFO before;
C32_NDIR_INFO after;
C32_NDIR_INFO restored;
NCP_NDIR_INFO before;
NCP_NDIR_INFO after;
NCP_NDIR_INFO restored;
uint32 target_id = 0x00010003UL;
int rc;
int restore = 1;
@@ -1403,9 +1403,9 @@ static int tests_ncp2225modid(char *path, char *id_arg)
static int tests_ncp2225create(char *path, char *date_arg, char *time_arg, char *id_arg)
{
uint8 dhandle = 0;
C32_NDIR_INFO before;
C32_NDIR_INFO after;
C32_NDIR_INFO restored;
NCP_NDIR_INFO before;
NCP_NDIR_INFO after;
NCP_NDIR_INFO restored;
uint16 target_date = 0x5c99; /* 2026-04-25 */
uint16 target_time = 0xa320; /* 20:25:00 */
uint32 target_id = 1;
@@ -1513,9 +1513,9 @@ static int tests_ncp2225create(char *path, char *date_arg, char *time_arg, char
static int tests_ncp2225arch(char *path, char *date_arg, char *time_arg, char *id_arg)
{
uint8 dhandle = 0;
C32_NDIR_INFO before;
C32_NDIR_INFO after;
C32_NDIR_INFO restored;
NCP_NDIR_INFO before;
NCP_NDIR_INFO after;
NCP_NDIR_INFO restored;
uint16 target_date = 0x5c99; /* 2026-04-25 */
uint16 target_time = 0xa320; /* 20:25:00 */
uint32 target_id = 1;
@@ -1830,7 +1830,7 @@ static int tests_ncp22rendir(char *parent)
static int tests_read_irm_by_ncp87(uint8 dhandle, char *path, uint8 *mask_out)
{
C32_NDIR_INFO info;
NCP_NDIR_INFO info;
int rc;
if (mask_out)
@@ -2153,7 +2153,7 @@ static void tests_print_ncp22_1a_path(uint8 *data, uint16 len)
static int tests_ncp23map(char *path)
{
uint8 dhandle = 0;
C32_NDIR_INFO info;
NCP_NDIR_INFO info;
int rc;
uint16 repl_len;
uint8 repl_data[300];
@@ -2486,7 +2486,7 @@ static int tests_effright(char *path)
char usepath[260];
int newhandle;
uint16 ncp_rights = 0;
C32_NDIR_INFO info;
NCP_NDIR_INFO info;
uint32 my_obj_id = 0;
uint16 my_obj_type = 0;
uint8 my_obj_name[48];