ad_testfs.c 1.41 KB
Newer Older
1
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 
 *
 *   Copyright (C) 2001 University of Chicago. 
 *   See COPYRIGHT notice in top-level directory.
 */

#include "ad_testfs.h"

/* adioi.h has the ADIOI_Fns_struct define */
#include "adioi.h"

struct ADIOI_Fns_struct ADIO_TESTFS_operations = {
    ADIOI_TESTFS_Open, /* Open */
15
    ADIOI_GEN_OpenColl, /* OpenColl */
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
    ADIOI_TESTFS_ReadContig, /* ReadContig */
    ADIOI_TESTFS_WriteContig, /* WriteContig */
    ADIOI_TESTFS_ReadStridedColl, /* ReadStridedColl */
    ADIOI_TESTFS_WriteStridedColl, /* WriteStridedColl */
    ADIOI_TESTFS_SeekIndividual, /* SeekIndividual */
    ADIOI_TESTFS_Fcntl, /* Fcntl */
    ADIOI_TESTFS_SetInfo, /* SetInfo */
    ADIOI_TESTFS_ReadStrided, /* ReadStrided */
    ADIOI_TESTFS_WriteStrided, /* WriteStrided */
    ADIOI_TESTFS_Close, /* Close */
    ADIOI_TESTFS_IreadContig, /* IreadContig */
    ADIOI_TESTFS_IwriteContig, /* IwriteContig */
    ADIOI_TESTFS_ReadDone, /* ReadDone */
    ADIOI_TESTFS_WriteDone, /* WriteDone */
    ADIOI_TESTFS_ReadComplete, /* ReadComplete */
    ADIOI_TESTFS_WriteComplete, /* WriteComplete */
    ADIOI_TESTFS_IreadStrided, /* IreadStrided */
    ADIOI_TESTFS_IwriteStrided, /* IwriteStrided */
    ADIOI_TESTFS_Flush, /* Flush */
    ADIOI_TESTFS_Resize, /* Resize */
    ADIOI_TESTFS_Delete, /* Delete */
37
    ADIOI_GEN_Feature, /* Features */
38
    "TESTFS: the logging-only file system"
39
};