/*
Authors:
Jakub Hrozek <jhrozek@redhat.com>
Copyright (C) 2011 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 <talloc.h>
#include <tevent.h>
#include "sbus/sssd_dbus.h"
#include "sbus/sbus_client.h"
#include "providers/data_provider/dp_responder_iface.h"
#include "responder/common/responder.h"
#include "responder/autofs/autofs_private.h"
struct sss_dp_get_autofs_info {
bool fast_reply;
const char *name;
};
static DBusMessage *
sss_dp_get_autofs_msg(void *pvt);
struct tevent_req *
struct sss_domain_info *dom,
bool fast_reply,
enum sss_dp_autofs_type type,
const char *name)
{
char *key;
if (!req) {
return NULL;
}
if (!dom) {
goto error;
}
if (!key) {
goto error;
}
"Could not issue DP request [%d]: %s\n",
goto error;
}
return req;
return req;
}
static DBusMessage *
{
if (info->fast_reply) {
}
return NULL;
}
/* create the message */
"Creating autofs request for [%s][%u][%s]\n",
if (!dbret) {
return NULL;
}
return msg;
}
struct tevent_req *req,
char **err_msg)
{
}