Skip to content
Permalink
1139b72d5e
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
77 lines (55 sloc) 2.17 KB
/*
* (C) 2002 Clemson University and The University of Chicago.
*
* See COPYING in top-level directory.
*/
#ifndef __PVFS2_REQUEST_H
#define __PVFS2_REQUEST_H
#include <pvfs2-types.h>
#define PVFS_BOTTOM NULL
typedef struct PINT_Request *PVFS_Request;
int PVFS_Request_contiguous(int32_t count, PVFS_Request oldreq,
PVFS_Request *newreq);
int PVFS_Request_vector(int32_t count, int32_t blocklength,
PVFS_size stride, PVFS_Request oldreq, PVFS_Request *newreq);
int PVFS_Request_hvector(int32_t count, int32_t blocklength,
PVFS_size stride, PVFS_Request oldreq, PVFS_Request *newreq);
int PVFS_Request_indexed(int32_t count, int32_t *blocklengths,
PVFS_size *displacements, PVFS_Request oldreq, PVFS_Request *newreq);
int PVFS_Request_hindexed(int32_t count, int32_t *blocklengths,
PVFS_size *displacements, PVFS_Request oldreq, PVFS_Request *newreq);
int PVFS_Request_struct(int32_t count, int32_t *blocklengths,
PVFS_size *displacements, PVFS_Request *oldreqs, PVFS_Request *newreq);
int PVFS_Request_resized(PVFS_Request oldreq, PVFS_offset lb,
PVFS_size extent, PVFS_Request *newreq);
int PVFS_Address(void* location, PVFS_offset *address);
int PVFS_Request_extent(PVFS_Request request, PVFS_size *extent);
int PVFS_Request_size(PVFS_Request request, PVFS_size *size);
int PVFS_Request_lb(PVFS_Request request, PVFS_size *displacement);
int PVFS_Request_ub(PVFS_Request request, PVFS_size *displacement);
int PVFS_Request_commit(PVFS_Request *reqp);
int PVFS_Request_free(PVFS_Request *reqp);
/* pre-defined request types */
extern PVFS_Request PVFS_CHAR;
extern PVFS_Request PVFS_SHORT;
extern PVFS_Request PVFS_INT;
extern PVFS_Request PVFS_LONG;
extern PVFS_Request PVFS_UNSIGNED_CHAR;
extern PVFS_Request PVFS_UNSIGNED_SHORT;
extern PVFS_Request PVFS_UNSIGNED;
extern PVFS_Request PVFS_UNSIGNED_INT;
extern PVFS_Request PVFS_UNSIGNED_LONG;
extern PVFS_Request PVFS_FLOAT;
extern PVFS_Request PVFS_DOUBLE;
extern PVFS_Request PVFS_LONG_DOUBLE;
extern PVFS_Request PVFS_BYTE;
extern PVFS_Request PVFS_PACKED;
#endif /* __PVFS2_REQUEST_H */
/*
* Local variables:
* c-indent-level: 4
* c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 expandtab
*/