smbd: add smbd_impersonate_debug_create() helper
[nivanova/samba-autobuild/.git] / source3 / smbd / proto.h
index cbb43829fe083e278205b5b98831dd0cb7a74cfd..f31ef98624c78a9c21c5b5adc0f100b7b41bf3fd 100644 (file)
@@ -1189,6 +1189,12 @@ void reply_transs2(struct smb_request *req);
 
 /* The following definitions come from smbd/uid.c  */
 
+#define smbd_impersonate_debug_create(main_ev, name, dbg_lvl) \
+       _smbd_impersonate_debug_create(main_ev, name, dbg_lvl, __location__)
+struct tevent_context *_smbd_impersonate_debug_create(struct tevent_context *main_ev,
+                                                     const char *name,
+                                                     int dbg_lvl,
+                                                     const char *location);
 bool change_to_guest(void);
 NTSTATUS check_user_share_access(connection_struct *conn,
                                const struct auth_session_info *session_info,