00001 /******************************************************************** 00002 00003 Copyright 2006, ACCESS Systems Americas, Inc. All rights reserved. 00004 00005 The contents of this file are subject to the Mozilla Public License Version 00006 1.1 (the "License"); you may not use this file except in compliance with 00007 the License. You may obtain a copy of the License at 00008 http://www.mozilla.org/MPL/ 00009 00010 Software distributed under the License is distributed on an "AS IS" basis, 00011 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 00012 for the specific language governing rights and limitations under the 00013 License. 00014 00015 The Original Code is the entire contents of this file. 00016 00017 The Initial Developer of the Original Code is ACCESS Systems Americas, Inc. 00018 00019 Portions created by ACCESS Systems Americas, Inc. are Copyright © 2006. All 00020 Rights Reserved. 00021 00022 Contributor(s): none. 00023 00024 ********************************************************************/ 00025 00032 #ifndef VOLUMESVCS_H 00033 #define VOLUMESVCS_H 00034 00035 #include <hiker/types.h> 00036 #include <hiker/volumesvcs_types.h> 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00064 extern alp_status_t alp_volumesvcs_fsinfo_array(GArray **fsinfo_array); 00065 00076 extern alp_status_t alp_volumesvcs_fsinfo_for_udi( AlpVolumeSvcsFSinfo **fsinfo, const gchar *udi); 00077 00087 extern alp_status_t alp_volumesvcs_fsinfo_array_free( GArray *fsinfo_array); 00088 00096 extern alp_status_t alp_volumesvcs_fsinfo_free( AlpVolumeSvcsFSinfo *fsinfo); 00097 00110 extern alp_status_t alp_volumesvcs_mount(const gchar *device_udi); 00111 00122 extern alp_status_t alp_volumesvcs_umount( const gchar *device_udi ); 00123 00134 extern alp_status_t alp_volumesvcs_fstypes( GPtrArray **fstypes); 00135 00157 extern alp_status_t alp_volumesvcs_makefs(const gchar *device_udi, const gchar *name, const gchar *fstype); 00158 00172 extern alp_status_t alp_volumesvcs_bind( const gchar *name, const gchar *path); 00173 00189 extern alp_status_t alp_volumesvcs_rename_volume( const char *udi, const gchar *name); 00190 00196 #ifdef __cplusplus 00197 } // extern "C" 00198 #endif 00199 00200 #endif 00201