Removed max_xmit field from server parameters

The "max_xmit" field has been replaced by a new parameter passed to the smba_start() function.
This commit is contained in:
Olaf Barthel
2016-03-06 15:17:08 +01:00
parent ba7b0d658c
commit e5f8f425ee
+1 -2
View File
@@ -33,7 +33,6 @@ typedef struct smba_connect_parameters
char *client_name;
char *username;
char *password;
int max_xmit;
} smba_connect_parameters_t;
typedef struct smba_stat
@@ -76,7 +75,7 @@ int smba_rmdir(smba_server_t *s, char *path);
int smba_rename(smba_server_t *s, char *from, char *to);
int smba_statfs(smba_server_t *s, long *bsize, long *blocks, long *bfree);
void smb_invalidate_all_inodes(struct smb_server *server);
int smba_start(char *service, char *opt_workgroup, char *opt_username, char *opt_password, char *opt_clientname, char *opt_servername, int opt_cachesize, int opt_raw_smb, smba_server_t **result);
int smba_start(char *service, char *opt_workgroup, char *opt_username, char *opt_password, char *opt_clientname, char *opt_servername, int opt_cachesize, int opt_max_transmit, int opt_raw_smb, smba_server_t **result);
void smba_disconnect(smba_server_t *server);
int smba_get_dircache_size(struct smba_server * server);
int smba_change_dircache_size(struct smba_server * server,int cache_size);