Ignore:
Timestamp:
Nov 27, 2012, 4:56:06 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated vendor to 3.6.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/smbd/proto.h

    r740 r746  
    302302                         uint32_t access_mask);
    303303bool can_delete_file_in_directory(connection_struct *conn,
    304                                   struct smb_filename *smb_fname);
     304                                  const struct smb_filename *smb_fname);
    305305bool can_access_file_data(connection_struct *conn,
    306306                          const struct smb_filename *smb_fname,
     
    337337                      struct smb_filename **smb_fname,
    338338                      uint32_t ucf_flags);
     339NTSTATUS check_veto_path(connection_struct *conn, const char *name);
    339340NTSTATUS check_name(connection_struct *conn, const char *name);
    340341int get_real_filename(connection_struct *conn, const char *path,
     
    373374void file_free(struct smb_request *req, files_struct *fsp);
    374375files_struct *file_fsp(struct smb_request *req, uint16 fid);
     376uint64_t fsp_persistent_id(const struct files_struct *fsp);
     377struct files_struct *file_fsp_smb2(struct smbd_smb2_request *smb2req,
     378                                   uint64_t persistent_id,
     379                                   uint64_t volatile_id);
    375380NTSTATUS dup_file_fsp(struct smb_request *req, files_struct *from,
    376381                      uint32 access_mask, uint32 share_access,
     
    557562                     char *pdata, int datasize);
    558563void reply_ntcreate_and_X(struct smb_request *req);
    559 NTSTATUS set_sd(files_struct *fsp, uint8_t *data, uint32_t sd_len,
     564NTSTATUS set_sd(files_struct *fsp, struct security_descriptor *psd,
    560565                       uint32_t security_info_sent);
     566NTSTATUS set_sd_blob(files_struct *fsp, uint8_t *data, uint32_t sd_len,
     567                       uint32_t security_info_sent);
     568NTSTATUS smb_fsctl(struct files_struct *fsp,
     569                       TALLOC_CTX *ctx,
     570                       uint32_t function,
     571                       uint16_t req_flags,  /* Needed for UNICODE ... */
     572                       const uint8_t *_in_data,
     573                       uint32_t in_len,
     574                       uint8_t **_out_data,
     575                       uint32_t max_out_len,
     576                       uint32_t *out_len);
    561577struct ea_list *read_nttrans_ea_list(TALLOC_CTX *ctx, const char *pdata, size_t data_size);
    562578void reply_ntcancel(struct smb_request *req);
     
    587603                                    const char *fname,
    588604                                    SMB_STRUCT_STAT *psbuf);
    589 bool is_executable(const char *fname);
    590605bool is_stat_open(uint32 access_mask);
    591606bool request_timed_out(struct timeval request_time,
     
    607622                         uint32 share_access,
    608623                         uint32 create_options);
    609 bool map_open_params_to_ntcreate(const struct smb_filename *smb_fname,
    610                                  int deny_mode, int open_func,
    611                                  uint32 *paccess_mask,
    612                                  uint32 *pshare_mode,
    613                                  uint32 *pcreate_disposition,
    614                                  uint32 *pcreate_options,
    615                                  uint32_t *pprivate_flags);
    616624void remove_deferred_open_entry(struct file_id id, uint64_t mid,
    617625                                struct server_id pid);
     
    802810bool req_is_in_chain(struct smb_request *req);
    803811void smbd_process(struct smbd_server_connection *sconn);
     812bool fork_echo_handler(struct smbd_server_connection *sconn);
    804813
    805814/* The following definitions come from smbd/quotas.c  */
     
    960969bool unix_token_equal(const struct security_unix_token *t1, const struct security_unix_token *t2);
    961970bool push_sec_ctx(void);
    962 void set_sec_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups, struct security_token *token);
     971void set_sec_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups, const struct security_token *token);
    963972void set_root_sec_ctx(void);
    964973bool pop_sec_ctx(void);
     
    988997int add_home_service(const char *service, const char *username, const char *homedir);
    989998int find_service(TALLOC_CTX *ctx, const char *service, char **p_service_out);
    990 connection_struct *make_connection_snum(struct smbd_server_connection *sconn,
    991                                         int snum, user_struct *vuser,
     999struct smbd_smb2_tcon;
     1000connection_struct *make_connection_smb2(struct smbd_server_connection *sconn,
     1001                                        struct smbd_smb2_tcon *tcon,
     1002                                        user_struct *vuser,
    9921003                                        DATA_BLOB password,
    9931004                                        const char *pdev,
     
    10451056                bool case_sensitive);
    10461057bool stat_cache_lookup(connection_struct *conn,
     1058                        bool posix_paths,
    10471059                        char **pp_name,
    10481060                        char **pp_dirpath,
     
    11751187NTSTATUS vfs_stat_fsp(files_struct *fsp);
    11761188NTSTATUS vfs_chown_fsp(files_struct *fsp, uid_t uid, gid_t gid);
     1189NTSTATUS vfs_streaminfo(connection_struct *conn,
     1190                        struct files_struct *fsp,
     1191                        const char *fname,
     1192                        TALLOC_CTX *mem_ctx,
     1193                        unsigned int *num_streams,
     1194                        struct stream_struct **streams);
    11771195
    11781196/* The following definitions come from smbd/avahi_register.c */
Note: See TracChangeset for help on using the changeset viewer.