/*
Authors:
Jakub Hrozek <jhrozek@redhat.com>
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2014 Red Hat
SBUS: Interface introspection
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 "config.h"
#include <stdio.h>
#include "sbus/sssd_dbus.h"
#include "sbus/sssd_dbus_meta.h"
#include "sbus/sssd_dbus_private.h"
#define FMT_DOCTYPE \
"<!DOCTYPE node PUBLIC \"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\"\n" \
if (ret < 0) { \
goto label; \
} \
} while (0)
enum sbus_arg_type {
};
static int
{
return sbus_request_return_and_finish(req,
}
struct iface_introspectable {
};
struct sbus_vtable *
sbus_introspect_vtable(void)
{
{"data", "s"},
};
{NULL, }
};
"org.freedesktop.DBus.Introspectable", /* name */
NULL, /* no signals */
NULL, /* no properties */
NULL, /* no GetAll invoker */
};
{ &iface_meta, 0 },
};
}
static int
const struct sbus_arg_meta *args,
enum sbus_arg_type type)
{
int ret;
int i;
return EOK;
}
switch (type) {
case SBUS_ARG_SIGNAL:
break;
case SBUS_ARG_IN:
break;
case SBUS_ARG_OUT:
break;
}
}
done:
return ret;
}
static int
const struct sbus_method_meta *methods)
{
int ret;
int i;
return EOK;
}
if (!METHOD_HAS_ARGS(method)) {
continue;
}
goto done;
}
goto done;
}
}
done:
return ret;
}
static int
const struct sbus_signal_meta *signals)
{
int ret;
int i;
return EOK;
}
if (!SIGNAL_HAS_ARGS(a_signal)) {
continue;
}
goto done;
}
}
done:
return ret;
}
static int
const struct sbus_property_meta *props)
{
const char *access_mode;
int ret;
int i;
return EOK;
}
? "readwrite" : "read";
}
done:
return ret;
}
static int
{
int ret;
goto done;
}
goto done;
}
goto done;
}
done:
return ret;
}
static int
{
int ret;
int i;
return EOK;
}
}
done:
return ret;
}
static char *
const char *node,
const char **nodes,
struct sbus_interface_list *list)
{
char *buffer;
int ret;
goto done;
}
goto done;
}
}
goto done;
}
done:
}
return introspect;
}
static int
{
const char **nodes;
char *introspect;
}
if (introspect == NULL) {
goto done;
}
done:
}
}