~ubuntu-branches/ubuntu/vivid/adios/vivid-proposed

« back to all changes in this revision

Viewing changes to src/core/transforms/adios_transforms_hooks_read.c

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2014-06-16 23:06:38 UTC
  • mfrom: (15.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20140616230638-cxryhot6b8ge32l6
Tags: 1.7.0-1
* New upstream release.
* Add adios.pc pkgconfig file. adios_config now uses this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    adios_transforms_initialized = 1;
55
55
}
56
56
 
 
57
/* return 0 if the method is not implemented (functions generated with DECLARE_TRANSFORM_READ_METHOD_UNIMPL, or 1 if the method is implemented */
 
58
int adios_transform_is_implemented (enum ADIOS_TRANSFORM_TYPE transform_type)
 
59
{
 
60
    assert(is_transform_type_valid(transform_type));
 
61
    if (transform_type == adios_transform_none)
 
62
        return 1; // method "none" is implemented
 
63
    return TRANSFORM_READ_METHODS[transform_type].transform_is_implemented();
 
64
}
 
65
 
57
66
adios_datablock * adios_transform_subrequest_completed(adios_transform_read_request *reqgroup,
58
67
                                                       adios_transform_pg_read_request *pg_reqgroup,
59
68
                                                       adios_transform_raw_read_request *completed_subreq) {