1998-11-03 05:25:28 +03:00
/*
2002-01-30 09:08:46 +03:00
Unix SMB / CIFS implementation .
1998-11-03 05:25:28 +03:00
No support for quotas : - ) .
Copyright ( C ) Andrew Tridgell 1992 - 1998
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
1998-11-03 05:25:28 +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/>.
1998-11-03 05:25:28 +03:00
*/
# include "includes.h"
2011-03-22 18:57:01 +03:00
# include "smbd/smbd.h"
1998-11-03 05:25:28 +03:00
/*
* Needed for auto generation of proto . h .
*/
2008-10-14 03:59:36 +04:00
bool disk_quotas ( const char * path , uint64_t * bsize , uint64_t * dfree , uint64_t * dsize )
1998-11-03 05:25:28 +03:00
{
1998-11-06 21:40:51 +03:00
( * bsize ) = 512 ; /* This value should be ignored */
/* And just to be sure we set some values that hopefully */
/* will be larger that any possible real-world value */
2008-10-14 03:59:36 +04:00
( * dfree ) = ( uint64_t ) - 1 ;
( * dsize ) = ( uint64_t ) - 1 ;
1998-11-06 21:40:51 +03:00
/* As we have select not to use quotas, allways fail */
1998-11-03 05:25:28 +03:00
return False ;
}