diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-10-17 13:32:22 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2013-10-17 13:32:22 (GMT) |
commit | f7f7fd655ac398a86d599c2d4bbd4cf567bd92dc (patch) | |
tree | 1de545839a48597b87f2947f58de2e55ed62f2cc /src/H5VLpublic.h | |
parent | ae573ecf56160fb3383b4ca7b8811a2085d2762f (diff) | |
download | hdf5-f7f7fd655ac398a86d599c2d4bbd4cf567bd92dc.zip hdf5-f7f7fd655ac398a86d599c2d4bbd4cf567bd92dc.tar.gz hdf5-f7f7fd655ac398a86d599c2d4bbd4cf567bd92dc.tar.bz2 |
[svn-r24311] change event queue to event stack (just variable names)
Diffstat (limited to 'src/H5VLpublic.h')
-rw-r--r-- | src/H5VLpublic.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/H5VLpublic.h b/src/H5VLpublic.h index fa23ce9..1171811 100644 --- a/src/H5VLpublic.h +++ b/src/H5VLpublic.h @@ -30,12 +30,12 @@ #include "H5Rpublic.h" /* Asynchronous operation status */ -typedef enum { - H5AO_PENDING, /* Operation has not yet completed */ - H5AO_SUCCEEDED, /* Operation has completed, successfully */ - H5AO_FAILED, /* Operation has completed, but failed */ - H5AO_CANCELLED /* Operation has no completed and has been cancelled */ -} H5_status_t; +typedef enum H5ES_status_t { + H5ES_STATUS_IN_PROGRESS, /* Operation has not yet completed */ + H5ES_STATUS_SUCCEED, /* Operation has completed, successfully */ + H5ES_STATUS_FAIL, /* Operation has completed, but failed */ + H5ES_STATUS_CANCEL /* Operation has not completed and has been cancelled */ +} H5ES_status_t; /* Dataset creation property names */ #define H5VL_DSET_TYPE_ID "dataset_type_id" @@ -303,9 +303,9 @@ typedef struct H5VL_object_class_t { /* H5AO routines */ typedef struct H5VL_async_class_t { - herr_t (*cancel)(void **, H5_status_t *); - herr_t (*test) (void **, H5_status_t *); - herr_t (*wait) (void **, H5_status_t *); + herr_t (*cancel)(void **, H5ES_status_t *); + herr_t (*test) (void **, H5ES_status_t *); + herr_t (*wait) (void **, H5ES_status_t *); } H5VL_async_class_t; /* enum value to identify the class of a VOL plugin (mostly for comparison purposes) */ @@ -413,9 +413,9 @@ H5_DLL herr_t H5VLobject_misc(void *obj, H5VL_loc_params_t loc_params, H5VL_t *v H5_DLL herr_t H5VLobject_optional(void *obj, H5VL_loc_params_t loc_params, H5VL_t *vol_plugin, H5VL_object_misc_t optional_type, hid_t dxpl_id, void **req, va_list arguments); H5_DLL herr_t H5VLobject_close(void *obj, H5VL_loc_params_t loc_params, H5VL_t *vol_plugin, hid_t dxpl_id, void **req); -H5_DLL herr_t H5VLrequest_cancel(void **req, H5VL_t *vol_plugin, H5_status_t *status); -H5_DLL herr_t H5VLrequest_test(void **req, H5VL_t *vol_plugin, H5_status_t *status); -H5_DLL herr_t H5VLrequest_wait(void **req, H5VL_t *vol_plugin, H5_status_t *status); +H5_DLL herr_t H5VLrequest_cancel(void **req, H5VL_t *vol_plugin, H5ES_status_t *status); +H5_DLL herr_t H5VLrequest_test(void **req, H5VL_t *vol_plugin, H5ES_status_t *status); +H5_DLL herr_t H5VLrequest_wait(void **req, H5VL_t *vol_plugin, H5ES_status_t *status); /* Function prototypes */ H5_DLL hid_t H5VLregister(const H5VL_class_t *cls); |