/*
 * FUSE: Filesystem in Userspace
 * Copyright (C) 2026 Bernd Schubert <bsbernd.com>
 *
 * This program can be distributed under the terms of the GNU LGPLv2.
 * See the file COPYING.LIB.
 *
 */

#ifndef FUSE_DAEMONIZE_I_H_
#define FUSE_DAEMONIZE_I_H_

#include <stdint.h>
#include <stdbool.h>

/**
 * Set mounted flag.
 *
 * Called from fuse_session_mount().
 */
void fuse_daemonize_early_set_mounted(void);

/**
 * Check if fuse_daemonize_early_start() was used
 */
bool fuse_daemonize_early_is_used(void);

/* Set on handling FUSE_INIT */
void fuse_daemonize_set_got_init(void);

#endif /* FUSE_DAEMONIZE_I_H_ */

