nfs-ganesha 1.4

fsal_quota.c

Go to the documentation of this file.
00001 /*
00002  * vim:expandtab:shiftwidth=8:tabstop=8:
00003  *
00004  * Copyright CEA/DAM/DIF  (2008)
00005  * contributeur : Philippe DENIEL   philippe.deniel@cea.fr
00006  *
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 3 of the License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021  *
00022  * ------------- 
00023  */
00024 
00030 #ifdef HAVE_CONFIG_H
00031 #include "config.h"
00032 #endif
00033 
00034 #include "fsal.h"
00035 #include "fsal_internal.h"
00036 #include "fsal_convert.h"
00037 
00053 fsal_status_t HPSSFSAL_get_quota(fsal_path_t * pfsal_path,      /* IN */
00054                                  int quota_type, fsal_uid_t fsal_uid, fsal_quota_t * pquota)    /* OUT */
00055 {
00056   ReturnCode(ERR_FSAL_NO_QUOTA, 0);
00057 }                               /*  FSAL_get_quota */
00058 
00077 fsal_status_t HPSSFSAL_set_quota(fsal_path_t * pfsal_path,      /* IN */
00078                                  int quota_type, fsal_uid_t fsal_uid,   /* IN */
00079                                  fsal_quota_t * pquot,  /* IN */
00080                                  fsal_quota_t * presquot)       /* OUT */
00081 {
00082   ReturnCode(ERR_FSAL_NO_QUOTA, 0);
00083 }                               /*  FSAL_set_quota */
00084 
00101 fsal_status_t HPSSFSAL_check_quota( char              * path,  /* IN */
00102                                     fsal_quota_type_t   quota_type,
00103                                     fsal_uid_t          fsal_uid)      /* IN */
00104 {
00105   ReturnCode(ERR_FSAL_NO_ERROR, 0) ;
00106 }