#ifndef _FS_INTERFACE_H_ #define _FS_INTERFACE_H_ #include #include #include #include #include struct msg_endpoint; extern kern_status_t fs_msg_open( xpc_context_t *ctx, const xpc_endpoint_t *sender, const xpc_string_t *path, int flags, int *out_err, void *arg); extern kern_status_t fs_msg_close( const struct msg_endpoint *sender, const char *path, int flags, int *out_err, void *arg); extern kern_status_t fs_msg_read( xpc_context_t *ctx, const xpc_endpoint_t *sender, size_t count, int *out_err, size_t *out_nr_read, xpc_buffer_t *out_data, void *arg); #endif