sss_sifp_common.c revision 0bb98b7700b1b61f5b0a20b93279d5c2c391007f
/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2014 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "lib/sifp/sss_sifp.h"
#include "lib/sifp/sss_sifp_dbus.h"
#include "lib/sifp/sss_sifp_private.h"
#define SSS_SIFP_ATTR_NAME "name"
static sss_sifp_error
const char *method,
int attr_type,
const void *attr,
{
char *object_path = NULL;
return SSS_SIFP_INVALID_ARGUMENT;
}
if (ret != SSS_SIFP_OK) {
goto done;
}
return SSS_SIFP_INTERNAL_ERROR;
}
if (ret != SSS_SIFP_OK) {
goto done;
}
ret = SSS_SIFP_OK;
done:
return ret;
}
static sss_sifp_error
const char *method,
const char *name,
{
_object);
}
char ***_domains)
{
char **object_paths = NULL;
unsigned int size;
unsigned int i;
return SSS_SIFP_INVALID_ARGUMENT;
}
if (ret != SSS_SIFP_OK) {
goto done;
}
/* calculate number of paths acquired and allocate memory for domains */
goto done;
}
/* fetch domain name */
for (i = 0; i < size; i++) {
if (ret != SSS_SIFP_OK) {
goto done;
}
if (ret != SSS_SIFP_OK) {
goto done;
}
goto done;
}
}
ret = SSS_SIFP_OK;
done:
if (ret != SSS_SIFP_OK) {
}
return ret;
}
const char *name,
{
}
{
}
const char *name,
{
}