2004-02-12 08:24:02 +03:00
/*
Unix SMB / CIFS implementation .
RPC pipe client
Copyright ( C ) Gerald ( Jerry ) Carter 2004.
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
2007-07-09 23:25:36 +04:00
the Free Software Foundation ; either version 3 of the License , or
2004-02-12 08:24:02 +03:00
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
2007-07-10 04:52:41 +04:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2004-02-12 08:24:02 +03:00
*/
/* Stupid dummy functions required due to the horrible dependency mess
in Samba . */
2005-05-03 01:30:57 +04:00
# include "includes.h"
2005-05-02 21:49:43 +04:00
2006-02-04 01:19:41 +03:00
int find_service ( fstring service )
{
return - 1 ;
}
BOOL conn_snum_used ( int snum )
{
return False ;
}
2006-07-18 01:09:02 +04:00
void cancel_pending_lock_requests_by_fid ( files_struct * fsp , struct byte_range_lock * br_lck )
{
}
2007-01-18 09:19:24 +03:00
2007-02-09 05:03:39 +03:00
void send_stat_cache_delete_message ( const char * name )
2007-01-18 09:19:24 +03:00
{
}
2007-02-09 05:03:39 +03:00
NTSTATUS can_delete_directory ( struct connection_struct * conn ,
const char * dirname )
2007-01-18 09:19:24 +03:00
{
2007-02-09 05:03:39 +03:00
return NT_STATUS_OK ;
2007-01-18 09:19:24 +03:00
}
2007-01-20 00:46:12 +03:00
2007-03-20 04:17:47 +03:00
NTSTATUS srv_decrypt_buffer ( char * buf )
{
return NT_STATUS_OK ;
}
NTSTATUS srv_encrypt_buffer ( char * buffer , char * * buf_out )
{
* buf_out = buffer ;
return NT_STATUS_OK ;
}
void srv_free_enc_buffer ( char * buf )
{
;
}
2007-03-21 03:25:08 +03:00
BOOL srv_encryption_on ( void )
{
return False ;
}