Cider Isn't Darwin Emulation, Really
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849#ifndef EXT_FILE_HANDLE_H#define EXT_FILE_HANDLE_H#include <stdint.h>
struct file_handle{ uint32_t handle_bytes; int handle_type; uint8_t f_handle[1];};
typedef struct { union { uint8_t opaque[80];
struct { int mount_id;
union { struct file_handle fh;
struct { int index; int gen; }; }; }; };
} RefData;
#ifdef __cplusplusextern "C" {#endif
int sys_name_to_handle(const char* name, RefData* ref, int follow);//int sys_open_by_handle(RefData* ref, int flags);int sys_handle_to_name(RefData* ref, char name[4096]);
#ifdef __cplusplus}#endif
#endif