libfuse: fuse-3.17.4/test/test_abi.c Source File

libfuse

test_abi.c
1#define FUSE_USE_VERSION 30
2
3#include "fuse.h"
4
5#include <stdio.h>
6#include <stdlib.h>
7
8int main(void)
9{
10 if (sizeof(struct fuse_file_info) != 64) {
11 fprintf(stderr, "struct fuse_file_info size mismatch\n");
12 exit(1);
13 }
14 if (sizeof(struct fuse_conn_info) != 128) {
15 fprintf(stderr, "struct fuse_conn_info size mismatch\n");
16 exit(1);
17 }
18}
fuse_conn_info
Definition fuse_common.h:546
fuse_file_info
Definition fuse_common.h:56