/usr/include/globus/globus_xio_wrapblock.h is in libglobus-xio-dev 5.16-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | #if !defined(GLOBUS_XIO_WRAPBLOCK_H)
#define GLOBUS_XIO_WRAPBLOCK_H 1
#include "globus_xio.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef globus_result_t
(*globus_xio_wrapblock_open_func_t)(
const globus_xio_contact_t * contact_info,
void * driver_link,
void * driver_attr,
void ** driver_handle);
typedef globus_result_t
(*globus_xio_wrapblock_write_func_t)(
void * driver_specific_handle,
const globus_xio_iovec_t * iovec,
int iovec_count,
globus_size_t * nbytes);
typedef globus_result_t
(*globus_xio_wrapblock_read_func_t)(
void * driver_specific_handle,
const globus_xio_iovec_t * iovec,
int iovec_count,
globus_size_t * nbytes);
typedef globus_result_t
(*globus_xio_wrapblock_close_func_t)(
void * driver_specific_handle,
void * attr);
typedef globus_result_t
(*globus_xio_wrapblock_accept_func_t)(
void * driver_server,
void ** out_link);
globus_result_t
globus_xio_wrapblock_init(
globus_xio_driver_t driver,
globus_xio_wrapblock_open_func_t open,
globus_xio_wrapblock_close_func_t close,
globus_xio_wrapblock_read_func_t read,
globus_xio_wrapblock_write_func_t write,
globus_xio_wrapblock_accept_func_t accept);
#ifdef __cplusplus
}
#endif
#endif
|