diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 14 | ||||
-rw-r--r-- | source3/include/smb.h | 15 |
2 files changed, 23 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 59fdb28672..182c74ed6f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6,6 +6,11 @@ /*The following definitions come from client/client.c */ void do_list(const char *mask,uint16 attribute,void (*fn)(file_info *),BOOL rec, BOOL dirs); +void complete_process_file(file_info *f); +char *complete_remote_file(char *text, int state); +char *complete_cmd(char *text, int state); +char **completion_fn(char *text, int start, int end); +char *complete_cmd_null(char *text, int state); struct cli_state *do_connect(char *server, char *share, int smb_port); /*The following definitions come from client/clitar.c */ @@ -1250,6 +1255,7 @@ char *lp_driverfile(void); char *lp_panic_action(void); char *lp_nt_forms(void); char *lp_nt_drivers_file(void); +char *lp_dfs_map(void); char *lp_ldap_server(void); char *lp_ldap_suffix(void); char *lp_ldap_bind_as(void); @@ -3245,6 +3251,9 @@ void display_eventlog_eventrecord(FILE *out_hnd, enum action_type action, EVENTL /*The following definitions come from rpcclient/rpcclient.c */ void rpcclient_init(void); +char *complete_cmd(char *text, int state); +char **completion_fn(char *text, int start, int end); +char *complete_cmd_null(char *text, int state); /*The following definitions come from smbd/blocking.c */ @@ -3297,6 +3306,11 @@ BOOL claim_connection(connection_struct *conn,char *name,int max_connections,BOO SMB_BIG_UINT sys_disk_free(char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize); +/*The following definitions come from smbd/dfs.c */ + +BOOL init_dfs_table(void); +int under_dfs(connection_struct *conn, const char *path); + /*The following definitions come from smbd/dir.c */ void init_dptrs(void); diff --git a/source3/include/smb.h b/source3/include/smb.h index 82fab11929..4541329c78 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1218,12 +1218,13 @@ struct bitmap { #define TRANSACT2_REPORT_DFS_INCONSISTANCY 0x11 /* These are the NT transact sub commands. */ -#define NT_TRANSACT_CREATE 1 -#define NT_TRANSACT_IOCTL 2 -#define NT_TRANSACT_SET_SECURITY_DESC 3 -#define NT_TRANSACT_NOTIFY_CHANGE 4 -#define NT_TRANSACT_RENAME 5 -#define NT_TRANSACT_QUERY_SECURITY_DESC 6 +#define NT_TRANSACT_CREATE 1 +#define NT_TRANSACT_IOCTL 2 +#define NT_TRANSACT_SET_SECURITY_DESC 3 +#define NT_TRANSACT_NOTIFY_CHANGE 4 +#define NT_TRANSACT_RENAME 5 +#define NT_TRANSACT_QUERY_SECURITY_DESC 6 +#define NT_TRANSACT_GET_DFS_REFERRAL 0x10 /* these are the trans2 sub fields for primary requests */ #define smb_tpscnt smb_vwv0 @@ -1805,6 +1806,8 @@ struct nmb_name { #include "client.h" #include "rpcclient.h" +#include "dfs.h" + /* * Size of new password account encoding string. DO NOT CHANGE. */ |