sss_sifp.c revision efa6c1f75c4c18bcc148d6e7efd429c2d56499ad
/*
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 <stdlib.h>
#include <string.h>
#include "lib/sifp/sss_sifp.h"
#include "lib/sifp/sss_sifp_dbus.h"
#include "lib/sifp/sss_sifp_private.h"
#define DBUS_IFACE_PROP "org.freedesktop.DBus.Properties"
{
}
{
}
const char *method)
{
}
{
}
sss_sifp_init_ex(void *alloc_pvt,
sss_sifp_ctx **_ctx)
{
return SSS_SIFP_INVALID_ARGUMENT;
}
goto done;
}
goto done;
}
if (dbus_error_is_set(&dbus_error)) {
goto done;
}
ret = SSS_SIFP_OK;
done:
if (ret != SSS_SIFP_OK) {
sss_sifp_free(&ctx);
}
return ret;
}
const char *
{
return "Invalid sss_sifp context";
}
return NULL;
}
}
const char *
{
return "Invalid sss_sifp context";
}
return NULL;
}
}
const char *object_path,
const char *interface,
const char *name,
sss_sifp_attr ***_attrs)
{
return SSS_SIFP_INVALID_ARGUMENT;
}
/* Message format:
* In: string:interface
* In: string:attribute
* Out: variant(misc:value)
*/
goto done;
}
if (!bret) {
goto done;
}
if (ret != SSS_SIFP_OK) {
goto done;
}
done:
}
}
return ret;
}
const char *object_path,
const char *interface,
sss_sifp_attr ***_attrs)
{
return SSS_SIFP_INVALID_ARGUMENT;
}
goto done;
}
if (!bret) {
goto done;
}
if (ret != SSS_SIFP_OK) {
goto done;
}
done:
}
}
return ret;
}
const char *object_path,
const char *interface,
{
return SSS_SIFP_INVALID_ARGUMENT;
}
if (ret != SSS_SIFP_OK) {
goto done;
}
if (ret != SSS_SIFP_OK) {
goto done;
}
goto done;
}
goto done;
}
goto done;
}
goto done;
}
ret = SSS_SIFP_OK;
done:
if (ret != SSS_SIFP_OK) {
}
return ret;
}
void
{
return;
}
}
}
return;
}
void
sss_sifp_attr ***_attrs)
{
unsigned int i, j;
return;
}
case SSS_SIFP_ATTR_TYPE_BOOL:
break;
case SSS_SIFP_ATTR_TYPE_INT16:
break;
break;
case SSS_SIFP_ATTR_TYPE_INT32:
break;
break;
case SSS_SIFP_ATTR_TYPE_INT64:
break;
break;
for (j = 0; j < attrs[i]->num_values; j++) {
}
break;
}
break;
}
}
}
void
{
return;
}
}
void
char **_str)
{
return;
}
}
void
char ***_str_array)
{
int i;
return;
}
str_array = *_str_array;
}
*_str_array = NULL;
}