nfs-ganesha 1.4

mfsl_types.h

Go to the documentation of this file.
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_AIO_TYPES_H
00031 #define _MFSL_AIO_TYPES_H
00032 
00033 
00034 #ifndef TRUE
00035 #define TRUE 1
00036 #endif
00037 #ifndef FALSE
00038 #define FALSE 0
00039 #endif
00040 
00041 /*
00042  * labels in the config file
00043  */
00044 
00045 #define CONF_LABEL_MFSL_AIO          "MFSL_AIO"
00046 
00047 /* other includes */
00048 #include <sys/types.h>
00049 #include <sys/param.h>
00050 #include <dirent.h>             /* for MAXNAMLEN */
00051 #include "config_parsing.h"
00052 #include "err_fsal.h"
00053 #include "err_mfsl.h"
00054 
00055 typedef struct mfsl_parameter__
00056 {
00057 
00058   int nothing;
00059 } mfsl_parameter_t;
00060 
00061 typedef struct mfsl_context__
00062 {
00063 
00064   int nothing;
00065 } mfsl_context_t;
00066 
00067 typedef struct mfsl_object__
00068 {
00069   fsal_handle_t handle;
00070 } mfsl_object_t;
00071 
00072 typedef struct mfsl_file__
00073 {
00074   fsal_file_t fsal_file ;
00075 } mfsl_file_t ;
00076 
00077 #endif                          /* _MFSL_AIO_TYPES_H */