/* (Use the "read" DXPL because partial I/O on corrupted data test needs to ignore errors during writing) */
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF5. The full HDF5 copyright notice, including      *
 * terms governing use, modification, and redistribution, is contained in    *
 * the files COPYING and Copyright.html.  COPYING can be found at the root   *
 * of the source code distribution tree; Copyright.html can be found at the  *
 * root level of an installed copy of the electronic document set and is     *
 * linked from the top-level documents page.  It can also be found at        *
 * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have access   *
 * to either file, you may request a copy from help@hdfgroup.org.            *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
 * Programmer:  Raymond Lu
 *      13 February 2013
 *
 * Purpose: Tests the plugin module (H5PL)
 */
#include <stdlib.h>
#include <time.h>
#include "h5test.h"
#include "H5srcdir.h"
/*
 * This file needs to access private datatypes from the H5Z package.
 */
#define H5Z_FRIEND
#include "H5Zpkg.h"
/* Filters for HDF5 internal test */
#define H5Z_FILTER_DYNLIB1      257
#define H5Z_FILTER_DYNLIB2      258 
#define H5Z_FILTER_DYNLIB3      259
const char *FILENAME[] = {
    "plugin",
    NULL
};
#define FILENAME_BUF_SIZE       1024
/* Dataset names for testing filters */
#define DSET_DEFLATE_NAME   "deflate"
#define DSET_DYNLIB1_NAME   "dynlib1"
#define DSET_DYNLIB2_NAME       "dynlib2"
/* Parameters for internal filter test */
#define FILTER_CHUNK_DIM1       2
#define FILTER_CHUNK_DIM2       25
#define FILTER_HS_OFFSET1       7