da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * VirtualBox File System for Solaris Guests, provider header.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Portions contributed by: Ronald.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Copyright (C) 2009-2011 Oracle Corporation
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * This file is part of VirtualBox Open Source Edition (OSE), as
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * available from http://www.virtualbox.org. This file is free software;
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * you can redistribute it and/or modify it under the terms of the GNU
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * General Public License (GPL) as published by the Free Software
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Foundation, in version 2 as it comes in the "COPYING" file of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * The contents of this file may alternatively be used under the terms
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * of the Common Development and Distribution License Version 1.0
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * VirtualBox OSE distribution, in which case the provisions of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * CDDL are applicable instead of those of the GPL.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * You may elect to license modified versions of this file under the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * terms and conditions of either the GPL or the CDDL or both.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinextern "C" {
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#include "../../common/VBoxGuestLib/VBoxGuestR0LibSharedFolders.h"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * These are the provider interfaces used by sffs to access the underlying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * shared file system.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Initialization and termination.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * sfprov_connect() is called once before any other interfaces and returns
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * a handle used in further calls. The argument should be SFPROV_VERSION
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * from above. On failure it returns a NULL pointer.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * sfprov_disconnect() must only be called after all sf file systems have been
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * unmounted.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Mount / Unmount a shared folder.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * sfprov_mount() takes as input the connection pointer and the name of
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * the shared folder. On success, it returns zero and supplies an
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * sfp_mount_t handle. On failure it returns any relevant errno value.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * sfprov_unmount() unmounts the mounted file system. It returns 0 on
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * success and any relevant errno on failure.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * spf_mount_t is the representation of an active mount point.
extern int sfprov_set_show_symlinks(void);
#ifdef __cplusplus