summaryrefslogtreecommitdiff
path: root/source3/include/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/client.h')
-rw-r--r--source3/include/client.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index dc266995c6..aa8a647947 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -34,21 +34,6 @@
* These definitions depend on smb.h
*/
-typedef struct file_info
-{
- SMB_BIG_UINT size;
- uint16 mode;
- uid_t uid;
- gid_t gid;
- /* these times are normally kept in GMT */
- struct timespec mtime_ts;
- struct timespec atime_ts;
- struct timespec ctime_ts;
- pstring name;
- pstring dir;
- char short_name[13*3]; /* the *3 is to cope with multi-byte */
-} file_info;
-
struct print_job_info
{
uint16 id;
@@ -173,6 +158,21 @@ struct cli_state {
BOOL case_sensitive; /* False by default. */
};
+typedef struct file_info {
+ struct cli_state *cli;
+ SMB_BIG_UINT size;
+ uint16 mode;
+ uid_t uid;
+ gid_t gid;
+ /* these times are normally kept in GMT */
+ struct timespec mtime_ts;
+ struct timespec atime_ts;
+ struct timespec ctime_ts;
+ pstring name;
+ pstring dir;
+ char short_name[13*3]; /* the *3 is to cope with multi-byte */
+} file_info;
+
#define CLI_FULL_CONNECTION_DONT_SPNEGO 0x0001
#define CLI_FULL_CONNECTION_USE_KERBEROS 0x0002
#define CLI_FULL_CONNECTION_ANONYMOUS_FALLBACK 0x0004