summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-27 10:59:55 +0200
committerVolker Lendecke <vl@samba.org>2010-07-27 21:05:35 +0200
commitdace013898a450b50606740704c83ba25855e332 (patch)
tree8597b10dc0c83a9a81e5853b62041764c443a374 /source3/include
parent9168713774c02ba2f71d89379cc239a900ebeafe (diff)
downloadsamba-dace013898a450b50606740704c83ba25855e332.tar.gz
samba-dace013898a450b50606740704c83ba25855e332.tar.bz2
samba-dace013898a450b50606740704c83ba25855e332.zip
s3: Remove a typedef (struct file_info)
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 */