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 00020 #ifndef LSM_ACCESS_GROUP_H 00021 #define LSM_ACCESS_GROUP_H 00022 00023 #include "libstoragemgmt_types.h" 00024 00025 00026 #ifdef __cplusplus 00027 extern "C" { 00028 #endif 00029 00035 int LSM_DLL_EXPORT lsm_access_group_record_free(lsm_access_group * group); 00036 00043 int LSM_DLL_EXPORT lsm_access_group_record_array_free(lsm_access_group *ag[], 00044 uint32_t size); 00045 00051 lsm_access_group LSM_DLL_EXPORT * 00052 lsm_access_group_record_copy(lsm_access_group * ag); 00053 00061 const char LSM_DLL_EXPORT *lsm_access_group_id_get(lsm_access_group *group); 00062 00070 const char LSM_DLL_EXPORT *lsm_access_group_name_get(lsm_access_group *group); 00071 00079 const char LSM_DLL_EXPORT * 00080 lsm_access_group_system_id_get(lsm_access_group *group); 00081 00089 lsm_string_list LSM_DLL_EXPORT * 00090 lsm_access_group_initiator_id_get(lsm_access_group * group); 00091 00092 00093 #ifdef __cplusplus 00094 } 00095 #endif 00096 #endif