Changeset 596 for trunk/server/source3/include/proto.h
- Timestamp:
- Jul 2, 2011, 3:35:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/include/proto.h
r590 r596 1239 1239 const struct policy_handle *hnd2); 1240 1240 const char *strip_hostname(const char *s); 1241 bool tevent_req_poll_ntstatus(struct tevent_req *req, 1242 struct tevent_context *ev, 1243 NTSTATUS *status); 1241 1244 1242 1245 /* The following definitions come from lib/util_file.c */ … … 1540 1543 void strlower_m(char *s); 1541 1544 void strupper_m(char *s); 1545 size_t strlen_m_ext(const char *s, const charset_t dst_charset); 1546 size_t strlen_m_ext_term(const char *s, const charset_t dst_charset); 1542 1547 size_t strlen_m(const char *s); 1543 1548 size_t strlen_m_term(const char *s); … … 3191 3196 int matching_len_bits(unsigned char *p1, unsigned char *p2, size_t len); 3192 3197 void sort_query_replies(char *data, int n, struct in_addr ip); 3193 char *name_mangle(TALLOC_CTX *mem_ctx, c har *In, char name_type);3198 char *name_mangle(TALLOC_CTX *mem_ctx, const char *In, char name_type); 3194 3199 int name_extract(unsigned char *buf,size_t buf_len, unsigned int ofs, fstring name); 3195 3200 int name_len(unsigned char *s1, size_t buf_len); … … 5256 5261 const char *workstation, 5257 5262 const uint8 chal[8], 5263 uint16_t validation_level, 5258 5264 DATA_BLOB lm_response, 5259 5265 DATA_BLOB nt_response, … … 5267 5273 const char *workstation, 5268 5274 const uint8 chal[8], 5275 uint16_t validation_level, 5269 5276 DATA_BLOB lm_response, 5270 5277 DATA_BLOB nt_response, … … 6464 6471 SMB_STRUCT_STAT *sbufp); 6465 6472 NTSTATUS get_referred_path(TALLOC_CTX *ctx, 6473 struct auth_serversupplied_info *server_info, 6466 6474 const char *dfs_path, 6467 6475 struct junction_map *jucn, … … 6625 6633 uint32 *pcreate_disposition, 6626 6634 uint32 *pcreate_options); 6627 NTSTATUS open_file_fchmod( struct smb_request *req,connection_struct *conn,6635 NTSTATUS open_file_fchmod(connection_struct *conn, 6628 6636 struct smb_filename *smb_fname, 6629 6637 files_struct **result); 6630 NTSTATUS close_file_fchmod(struct smb_request *req, files_struct *fsp);6631 6638 NTSTATUS create_directory(connection_struct *conn, struct smb_request *req, 6632 6639 struct smb_filename *smb_dname); … … 6657 6664 struct smb_request *req, 6658 6665 uint16_t root_dir_fid, 6659 struct smb_filename *smb_fname); 6666 const struct smb_filename *smb_fname, 6667 struct smb_filename **smb_fname_out); 6660 6668 6661 6669 /* The following definitions come from smbd/oplock.c */ … … 6765 6773 bool set_unix_posix_acl(connection_struct *conn, files_struct *fsp, const char *fname, uint16 num_acls, const char *pdata); 6766 6774 SEC_DESC *get_nt_acl_no_snum( TALLOC_CTX *ctx, const char *fname); 6775 NTSTATUS make_default_filesystem_acl(TALLOC_CTX *ctx, 6776 const char *name, 6777 SMB_STRUCT_STAT *psbuf, 6778 SEC_DESC **ppdesc); 6767 6779 6768 6780 /* The following definitions come from smbd/process.c */ … … 7298 7310 int fncall_recv(struct tevent_req *req, int *perr); 7299 7311 7312 struct tevent_req *smbsock_connect_send(TALLOC_CTX *mem_ctx, 7313 struct tevent_context *ev, 7314 const struct sockaddr_storage *addr, 7315 const char *called_name, 7316 const char *calling_name); 7317 NTSTATUS smbsock_connect_recv(struct tevent_req *req, int *sock, 7318 uint16_t *port); 7319 NTSTATUS smbsock_connect(const struct sockaddr_storage *addr, 7320 const char *called_name, const char *calling_name, 7321 int *pfd, uint16_t *port); 7322 7323 struct tevent_req *smbsock_any_connect_send(TALLOC_CTX *mem_ctx, 7324 struct tevent_context *ev, 7325 const struct sockaddr_storage *addrs, 7326 const char **called_names, 7327 size_t num_addrs); 7328 NTSTATUS smbsock_any_connect_recv(struct tevent_req *req, int *pfd, 7329 size_t *chosen_index, uint16_t *port); 7330 NTSTATUS smbsock_any_connect(const struct sockaddr_storage *addrs, 7331 const char **called_names, size_t num_addrs, 7332 int *pfd, size_t *chosen_index, uint16_t *port); 7333 7300 7334 /* The following definitions come from rpc_server/srv_samr_nt.c */ 7301 7335 NTSTATUS access_check_object( SEC_DESC *psd, NT_USER_TOKEN *token,
Note:
See TracChangeset
for help on using the changeset viewer.