/*
Authors:
Jan Cholasta <jcholast@redhat.com>
Copyright (C) 2012 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 "util/crypto/sss_crypto.h"
#include "db/sysdb_ssh.h"
#include "providers/ldap/ldap_common.h"
#include "providers/ipa/ipa_common.h"
#include "providers/ipa/ipa_hostid.h"
#include "providers/ipa/ipa_hosts.h"
struct hosts_get_state {
const char *name;
const char *alias;
int dp_error;
};
static errno_t
static void
static void
struct tevent_req *
struct tevent_context *ev,
struct ipa_hostid_ctx *hostid_ctx,
const char *name,
const char *alias)
{
goto fail;
}
goto fail;
}
return req;
fail:
return req;
}
static errno_t
{
struct hosts_get_state);
if (!subreq) {
return ret;
}
return EOK;
}
static void
{
struct tevent_req);
struct hosts_get_state);
return;
}
if (!subreq) {
return;
}
}
static void
{
struct tevent_req);
struct hosts_get_state);
/* retry */
goto done;
}
return;
}
goto done;
}
goto done;
}
goto done;
}
goto done;
}
if (!attrs) {
goto done;
}
/* we are interested only in the host keys */
goto done;
}
goto done;
}
done:
} else {
}
}
static errno_t
int *dp_error_out)
{
struct hosts_get_state);
if (dp_error_out) {
}
return EOK;
}
struct ipa_hostid_handler_state {
};
struct tevent_req *
struct ipa_hostid_ctx *hostid_ctx,
struct dp_hostid_data *data,
struct dp_req_params *params)
{
return NULL;
}
goto immediately;
}
return req;
/* TODO For backward compatibility we always return EOK to DP now. */
return req;
}
{
int dp_error;
/* TODO For backward compatibility we always return EOK to DP now. */
}
struct tevent_req *req,
struct dp_reply_std *data)
{
return EOK;
}