Apply patch: ncpfs-hg-commit-404.patch
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user