/usr/include/bart/num/iovec.h is in libbart-dev 0.4.00-1.
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 | /* Copyright 2014. The Regents of the University of California.
* All rights reserved. Use of this source code is governed by
* a BSD-style license which can be found in the LICENSE file.
*
* Authors:
* 2013 Martin Uecker <uecker@eecs.berkeley.edu>
*/
#include <stdbool.h>
#include <stdlib.h>
#include "misc/cppwrap.h"
struct iovec_s {
unsigned int N;
const long* dims;
const long* strs;
size_t size;
};
extern const struct iovec_s* iovec_create(unsigned int N, const long dims[__VLA(N)], size_t size);
extern const struct iovec_s* iovec_create2(unsigned int N, const long dims[__VLA(N)], const long strs[__VLA(N)], size_t size);
extern void iovec_free(const struct iovec_s* x);
extern bool iovec_check(const struct iovec_s* iov, unsigned int N, const long dims[__VLA(N)], const long strs[__VLA(N)]);
extern void debug_print_iovec(int level, const struct iovec_s* vec);
#include "misc/cppwrap.h"
|