summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-05 12:04:15 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:39 +0200
commitf52e5738a26e12787ec8a4c8d73ff14122d202c6 (patch)
tree61a860936d78b0d89b30af1ac0c32005f7ea9518 /source3/smbd/proto.h
parent9e2e3708aa4e10aef561b1a9cc1f89688d65445f (diff)
downloadsamba-f52e5738a26e12787ec8a4c8d73ff14122d202c6.tar.gz
samba-f52e5738a26e12787ec8a4c8d73ff14122d202c6.tar.bz2
samba-f52e5738a26e12787ec8a4c8d73ff14122d202c6.zip
s3:smbd: use 'struct user_struct' instead of typedef'ed 'user_struct'
metze
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index b5a2ddf35f..a3d2ab0687 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -687,10 +687,10 @@ struct kernel_oplocks *linux_init_kernel_oplocks(struct smbd_server_connection *
/* The following definitions come from smbd/password.c */
-user_struct *get_valid_user_struct(struct smbd_server_connection *sconn,
+struct user_struct *get_valid_user_struct(struct smbd_server_connection *sconn,
uint16 vuid);
bool is_partial_auth_vuid(struct smbd_server_connection *sconn, uint16 vuid);
-user_struct *get_partial_auth_user_struct(struct smbd_server_connection *sconn,
+struct user_struct *get_partial_auth_user_struct(struct smbd_server_connection *sconn,
uint16 vuid);
void invalidate_vuid(struct smbd_server_connection *sconn, uint16 vuid);
void invalidate_all_vuids(struct smbd_server_connection *sconn);
@@ -984,7 +984,7 @@ int find_service(TALLOC_CTX *ctx, const char *service, char **p_service_out);
struct smbd_smb2_tcon;
connection_struct *make_connection_smb2(struct smbd_server_connection *sconn,
struct smbd_smb2_tcon *tcon,
- user_struct *vuser,
+ struct user_struct *vuser,
const char *pdev,
NTSTATUS *pstatus);
connection_struct *make_connection(struct smbd_server_connection *sconn,
@@ -996,8 +996,8 @@ void close_cnum(connection_struct *conn, uint16 vuid);
/* The following definitions come from smbd/session.c */
struct sessionid;
bool session_init(void);
-bool session_claim(struct smbd_server_connection *sconn, user_struct *vuser);
-void session_yield(user_struct *vuser);
+bool session_claim(struct smbd_server_connection *sconn, struct user_struct *vuser);
+void session_yield(struct user_struct *vuser);
int list_sessions(TALLOC_CTX *mem_ctx, struct sessionid **session_list);
/* The following definitions come from smbd/sesssetup.c */