sssctl_sifp.c revision 9b74009c1260e6f3b1031a6ae110bf1d957cba81
/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2016 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 <stdio.h>
#include <string.h>
#include <talloc.h>
#define ERR_SSSD _("Check that SSSD is running and " \
"the InfoPipe responder is enabled.\n")
struct sssctl_sifp_data {
};
{
}
return 0;
}
{
}
{
}
{
struct sssctl_sifp_data *sifp_data;
return SSS_SIFP_OUT_OF_MEMORY;
}
if (error != SSS_SIFP_OK) {
return error;
}
return SSS_SIFP_OK;
}
const char *message)
{
const char *dbus_code;
const char *dbus_msg;
const char *sifp_msg;
switch (error) {
case SSS_SIFP_OK:
break;
case SSS_SIFP_IO_ERROR:
break;
}
break;
}
break;
}
break;
default:
break;
}
}
const char *path,
const char *iface,
const char *method,
int first_arg_type,
...)
{
return SSS_SIFP_OUT_OF_MEMORY;
}
if (!bret) {
goto done;
}
if (error != SSS_SIFP_OK) {
goto done;
}
goto done;
}
done:
return error;
}