00001 #pragma once
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _GFAL_TYPES_H
00025 #define _GFAL_TYPES_H
00026
00027
00028
00029 #include <unistd.h>
00030 #include <glib.h>
00031 #include <sys/types.h>
00032 #include <dirent.h>
00033 #include <sys/stat.h>
00034 #include <attr/xattr.h>
00035
00036 #include <common/gfal_prototypes.h>
00037 #include <common/gfal_constants.h>
00038 #include <common/gfal_common_plugin_interface.h>
00039
00040
00041
00042 #ifdef __cplusplus
00043 extern "C"
00044 {
00045 #endif
00046
00047
00058 struct _gfal_descriptors_container{
00059 gfal_fdesc_container_handle dir_container;
00060 gfal_fdesc_container_handle file_container;
00061
00062 };
00063
00064 struct _gfal_conf_container{
00065 GData* conf;
00066 GMutex* mux;
00067 };
00068
00069
00070
00071 struct gfal_handle_ {
00072 gboolean initiated;
00073
00074 struct _plugin_opts plugin_opt;
00075
00076 gfal_descriptors_container fdescs;
00077 int no_bdii_check;
00078 gfal_conf_container st_config;
00079 };
00080
00081
00082
00083
00084
00085 #ifdef __cplusplus
00086 }
00087 #endif
00088
00089 #endif