From f52e5738a26e12787ec8a4c8d73ff14122d202c6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 5 Jun 2012 12:04:15 +0200 Subject: s3:smbd: use 'struct user_struct' instead of typedef'ed 'user_struct' metze --- source3/smbd/proto.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/smbd/proto.h') 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 */ -- cgit