Apply patch: ncpfs-hg-commit-404.patch

This commit is contained in:
Mario Fetka
2026-04-28 20:56:02 +02:00
parent 6e2b9493f9
commit d5745d1c9b
8 changed files with 1274 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
ncplib.h
Copyright (C) 1995, 1996 by Volker Lendecke
Copyright (C) 1997-2001 Petr Vandrovec
Copyright (C) 2005 Scott Bentley
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -51,6 +52,10 @@
1.05 2001, December 12 Hans Grobler <grobh@sun.ac.za>
Added NCP_PERM_ALL, ncp_ns_delete_entry and full NET_ADDRESS_TYPE
definition.
1.06 2005, May Scott Bentley
Added ncp_ns_scan_salvageable_file2().
Added ncp_ns_salvage_file().
*/
@@ -1125,6 +1130,10 @@ ncp_ns_scan_salvageable_file(NWCONN_HANDLE conn, u_int8_t src_ns,
struct ncp_deleted_file* finfo,
char* retname, int retname_maxlen);
long
ncp_ns_salvage_file(NWCONN_HANDLE conn, u_int8_t src_ns, const struct ncp_deleted_file* finfo,
const char* newfname);
long
ncp_ns_purge_file(NWCONN_HANDLE conn, const struct ncp_deleted_file* finfo);
@@ -1342,6 +1351,17 @@ struct nw_info_struct3 {
void* data;
};
long
ncp_ns_scan_salvageable_file2(NWCONN_HANDLE conn, u_int8_t src_ns,
int dirstyle, u_int8_t vol_num,
u_int32_t dir_base,
const unsigned char* encpath, int pathlen,
struct ncp_deleted_file* finfo,
struct NSI_Change* dinfo,/* Defined above */
u_int32_t rim,
void* target, size_t sizeoftarget);
struct ncp_dos_info_rights {
u_int16_t Grant;
u_int16_t Revoke;