b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * vbsfmount - Commonly used code to mount shared folders on Linux-based
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * systems. Currently used by mount.vboxsf and VBoxService.
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * Copyright (C) 2010 Oracle Corporation
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * available from http://www.virtualbox.org. This file is free software;
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * you can redistribute it and/or modify it under the terms of the GNU
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * General Public License (GPL) as published by the Free Software
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync/** @todo Use defines for return values! */
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsyncint vbsfmount_complete(const char *host_name, const char *mount_point,
b6517c5cc3b7a38889416706905a3cf2fd010785vboxsync return 1; /* Could not update mount table (failed to create memstream). */
44699f5668033b169bfc5009587c72f618b642a5vboxsync rc = 2; /* Could not open mount table for update. */
44699f5668033b169bfc5009587c72f618b642a5vboxsync rc = 3; /* Could not add an entry to the mount table. */