00001 #pragma once
00002 #ifndef _GFAL_COMMON_PARAMETER_H
00003 #define _GFAL_COMMON_PARAMETER_H
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00029 #include <stdlib.h>
00030 #include <glib.h>
00031
00032 #include <common/gfal_prototypes.h>
00033 #include <common/gfal_types.h>
00034
00035
00036 #ifdef __cplusplus
00037 extern "C"
00038 {
00039 #endif
00040
00048 int gfal_common_parameter_set_string(gfal_handle handle, const char* nmespace, const char* key, const char* value, GError** err);
00049
00050
00058 char* gfal_common_parameter_get_string(gfal_handle handle, const char* nmespace, const char* key, GError** err);
00059
00060
00061 gboolean gfal_common_parameter_get_boolean(gfal_handle handle, const char* nmespace, const char* key, GError** err);
00062
00063
00064 int gfal_common_parameter_set_boolean(gfal_handle handle, const char* nmespace, const char* key, gboolean value, GError** err);
00065
00066
00067
00068
00069 #ifdef __cplusplus
00070 }
00071 #endif
00072
00073
00074
00075 #endif //_GFAL_COMMON_PARAMETER_H
00076