Revert "s3: vfs: add user_vfs_evg to connection_struct"
[nivanova/samba-autobuild/.git] / source3 / smbd / proto.h
index 2a56c1e43468a02fe1bca0aee650a62b83e1250f..eb35a94862ac82b249527d5a3475a4c0526d47ca 100644 (file)
@@ -1255,19 +1255,6 @@ struct tevent_context *smbd_impersonate_conn_sess_create(
 struct tevent_context *smbd_impersonate_root_create(struct tevent_context *main_ev);
 struct tevent_context *smbd_impersonate_guest_create(struct tevent_context *main_ev);
 
-struct pthreadpool_tevent *smbd_impersonate_tp_current_create(
-                               TALLOC_CTX *mem_ctx,
-                               struct pthreadpool_tevent *sync_tp,
-                               struct connection_struct *conn,
-                               uint64_t vuid, bool chdir_safe,
-                               const struct security_unix_token *unix_token);
-struct pthreadpool_tevent *smbd_impersonate_tp_become_create(
-                                       TALLOC_CTX *mem_ctx,
-                                       struct pthreadpool_tevent *sync_tp,
-                                       bool chdir_safe,
-                                       void (*become_fn)(void),
-                                       void (*unbecome_fn)(void));
-
 /* The following definitions come from smbd/utmp.c  */
 
 void sys_utmp_claim(const char *username, const char *hostname,