smbd/noquotas.c

説明を見る。
00001 /*
00002    Unix SMB/CIFS implementation.
00003    No support for quotas :-).
00004    Copyright (C) Andrew Tridgell 1992-1998
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010 
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with this program; if not, write to the Free Software
00018    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019 */
00020 
00021 #include "includes.h"
00022 
00023 /*
00024  * Needed for auto generation of proto.h.
00025  */
00026 
00027 BOOL disk_quotas(const char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize)
00028 {
00029   (*bsize) = 512; /* This value should be ignored */
00030 
00031   /* And just to be sure we set some values that hopefully */
00032   /* will be larger that any possible real-world value     */
00033   (*dfree) = (SMB_BIG_UINT)-1;
00034   (*dsize) = (SMB_BIG_UINT)-1;
00035 
00036   /* As we have select not to use quotas, allways fail */
00037   return False;
00038 }

Sambaに対してSat Aug 29 21:23:24 2009に生成されました。  doxygen 1.4.7