summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h4
-rw-r--r--source3/include/proto.h9
2 files changed, 8 insertions, 5 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index d2afecf054..861ae5aace 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -279,7 +279,7 @@ struct cli_state {
struct tevent_req **pending;
};
-typedef struct file_info {
+struct file_info {
struct cli_state *cli;
uint64_t size;
uint16 mode;
@@ -291,7 +291,7 @@ typedef struct file_info {
struct timespec ctime_ts;
char *name;
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
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8dbe758e20..a9f77541ec 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2580,11 +2580,14 @@ bool unwrap_pac(TALLOC_CTX *mem_ctx, DATA_BLOB *auth_data, DATA_BLOB *unwrapped_
/* The following definitions come from libsmb/clilist.c */
int cli_list_new(struct cli_state *cli,const char *Mask,uint16 attribute,
- void (*fn)(const char *, file_info *, const char *, void *), void *state);
+ void (*fn)(const char *, struct file_info *, const char *,
+ void *), void *state);
int cli_list_old(struct cli_state *cli,const char *Mask,uint16 attribute,
- void (*fn)(const char *, file_info *, const char *, void *), void *state);
+ void (*fn)(const char *, struct file_info *, const char *,
+ void *), void *state);
int cli_list(struct cli_state *cli,const char *Mask,uint16 attribute,
- void (*fn)(const char *, file_info *, const char *, void *), void *state);
+ void (*fn)(const char *, struct file_info *, const char *,
+ void *), void *state);
/* The following definitions come from libsmb/climessage.c */