Tag
Hash :
275f6a8f
Author :
Thomas de Grivel
Date :
2024-12-31T06:25:38
add option parsing and set fuse version from arguments
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
/* kc3
* Copyright 2022,2023,2024 kmx.io <contact@kmx.io>
*
* Permission is hereby granted to use this software granted the above
* copyright notice and this permission paragraph are included in all
* copies and substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
#ifndef KC3FS_KC3FS_H
#define KC3FS_KC3FS_H
#if ! defined(_KERNEL) && ! defined(_KMEMUSER)
# error "not supposed to be exposed to userland"
#endif
#include <libkc3/types.h>
/* Type definitions. */
typedef struct kc3fs_mem_dirent s_kc3fs_mem_dirent;
typedef struct kc3fs_mem_node s_kc3fs_mem_node;
/* Enums. */
typedef enum kc3fs_type {
KC3FS_VOID = 0,
KC3FS_MEM = 1
} e_kc3fs_type;
/* 1 */
struct kc3fs_mem_node {
u8 type;
s_str *name;
s_str *content;
};
struct kc3fs_mem_dirent {
u8 type;
kc3fs_mem_node *node;
s_str *name;
}
#endif /* KC3_FS_TYPES_H */