nfs-ganesha 1.4
|
00001 /* 00002 * 00003 * 00004 * Copyright CEA/DAM/DIF (2008) 00005 * contributeur : Philippe DENIEL philippe.deniel@cea.fr 00006 * Thomas LEIBOVICI thomas.leibovici@cea.fr 00007 * 00008 * 00009 * This program is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public 00011 * License as published by the Free Software Foundation; either 00012 * version 3 of the License, or (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with this library; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00022 * 00023 * --------------------------------------- 00024 */ 00025 00030 #ifndef _MFSL_NULL_TYPES_H 00031 #define _MFSL_NULL_TYPES_H 00032 00033 #ifndef TRUE 00034 #define TRUE 1 00035 #endif 00036 #ifndef FALSE 00037 #define FALSE 0 00038 #endif 00039 00040 /* 00041 * labels in the config file 00042 */ 00043 00044 #define CONF_LABEL_MFSL_NULL "MFSL_NULL" 00045 00046 /* other includes */ 00047 #include <sys/types.h> 00048 #include <sys/param.h> 00049 #include <dirent.h> /* for MAXNAMLEN */ 00050 #include "config_parsing.h" 00051 #include "err_fsal.h" 00052 #include "err_mfsl.h" 00053 00054 typedef struct mfsl_parameter__ 00055 { 00056 00057 int nothing; 00058 } mfsl_parameter_t; 00059 00060 typedef struct mfsl_context__ 00061 { 00062 00063 int nothing; 00064 } mfsl_context_t; 00065 00066 typedef struct mfsl_object__ 00067 { 00068 fsal_handle_t handle; 00069 } mfsl_object_t; 00070 00071 typedef struct mfsl_file__ 00072 { 00073 fsal_file_t fsal_file ; 00074 } mfsl_file_t ; 00075 00076 #endif /* _MFSL_NULL_TYPES_H */