00001 /* 00002 * Copyright (C) 2011-2014 Red Hat, Inc. 00003 * This library is free software; you can redistribute it and/or 00004 * modify it under the terms of the GNU Lesser General Public 00005 * License as published by the Free Software Foundation; either 00006 * version 2.1 of the License, or any later version. 00007 * 00008 * This library is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Lesser General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public 00014 * License along with this library; If not, see <http://www.gnu.org/licenses/>. 00015 * 00016 * Author: tasleson 00017 */ 00018 00019 #ifndef LSM_SNAPSHOT_H 00020 #define LSM_SNAPSHOT_H 00021 00022 #include "libstoragemgmt_common.h" 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00033 int LSM_DLL_EXPORT lsm_fs_ss_record_free(lsm_fs_ss *ss); 00034 00040 lsm_fs_ss LSM_DLL_EXPORT *lsm_fs_ss_record_copy(lsm_fs_ss *source); 00041 00048 int LSM_DLL_EXPORT lsm_fs_ss_record_array_free(lsm_fs_ss *ss[], uint32_t size); 00049 00055 const char LSM_DLL_EXPORT *lsm_fs_ss_id_get(lsm_fs_ss *ss); 00056 00062 const char LSM_DLL_EXPORT *lsm_fs_ss_name_get(lsm_fs_ss *ss); 00063 00069 uint64_t LSM_DLL_EXPORT lsm_fs_ss_time_stamp_get(lsm_fs_ss *ss); 00070 00071 #ifdef __cplusplus 00072 } 00073 #endif 00074 #endif