Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
char **user);
const char *strip_hostname(const char *s);
bool any_nt_status_not_ok(NTSTATUS err1, NTSTATUS err2, NTSTATUS *result);
-int timeval_to_msec(struct timeval t);
bool is_executable(const char *fname);
bool map_open_params_to_ntcreate(const char *smb_base_fname,
int deny_mode, int open_func,
return false;
}
-int timeval_to_msec(struct timeval t)
-{
- return t.tv_sec * 1000 + (t.tv_usec+999) / 1000;
-}
-
/*******************************************************************
Return True if the filename is one of the special executable types.
********************************************************************/