From c16d132bf95d96e2aa572cb9ba18a68abfbbeb8d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 23 Nov 1997 05:55:44 +0000 Subject: added some QPATHINFO and QFILEINFO tests into smbtorture. This tests for things like midnight access times, sticky create times and word reversed INFO_STANDARD returns (This used to be commit 89141de14edf9e46ab279d2a74a9b026716a0ba8) --- source3/include/proto.h | 4 ++++ source3/include/trans2.h | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 1e8c33be15..a9ccda3b4a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -75,6 +75,10 @@ int cli_write(struct cli_state *cli, int fnum, char *buf, uint32 offset, uint16 BOOL cli_getatr(struct cli_state *cli, char *fname, int *attr, uint32 *size, time_t *t); BOOL cli_setatr(struct cli_state *cli, char *fname, int attr, time_t t); +BOOL cli_qpathinfo(struct cli_state *cli, char *fname, + time_t *c_time, time_t *a_time, time_t *m_time, uint32 *size); +BOOL cli_qfileinfo(struct cli_state *cli, int fnum, + time_t *c_time, time_t *a_time, time_t *m_time, uint32 *size); BOOL cli_negprot(struct cli_state *cli); BOOL cli_session_request(struct cli_state *cli, char *host, int name_type, char *myname); diff --git a/source3/include/trans2.h b/source3/include/trans2.h index 9a2de63109..5218604e0e 100644 --- a/source3/include/trans2.h +++ b/source3/include/trans2.h @@ -238,13 +238,6 @@ Byte offset Type name description #define NT_FILE_ATTRIBUTE_NORMAL 0x80 -/* Function prototypes */ - - -int reply_findnclose(char *inbuf,char *outbuf,int length,int bufsize); - -int reply_findclose(char *inbuf,char *outbuf,int length,int bufsize); - #endif -- cgit