summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-11-23 05:55:44 +0000
committerAndrew Tridgell <tridge@samba.org>1997-11-23 05:55:44 +0000
commitc16d132bf95d96e2aa572cb9ba18a68abfbbeb8d (patch)
treee2655cd5796c3eed8c4c33693b301e46e49c2e72 /source3/include
parenta1c5442abb3bc221157ca3620d35e1a013b26232 (diff)
downloadsamba-c16d132bf95d96e2aa572cb9ba18a68abfbbeb8d.tar.gz
samba-c16d132bf95d96e2aa572cb9ba18a68abfbbeb8d.tar.bz2
samba-c16d132bf95d96e2aa572cb9ba18a68abfbbeb8d.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/include/trans2.h7
2 files changed, 4 insertions, 7 deletions
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