Blame include/libssh/gssapi.h

Packit Service 31306d
/*
Packit Service 31306d
 * This file is part of the SSH Library
Packit Service 31306d
 *
Packit Service 31306d
 * Copyright (c) 2013 by Aris Adamantiadis
Packit Service 31306d
 *
Packit Service 31306d
 * This library is free software; you can redistribute it and/or
Packit Service 31306d
 * modify it under the terms of the GNU Lesser General Public
Packit Service 31306d
 * License as published by the Free Software Foundation; either
Packit Service 31306d
 * version 2.1 of the License, or (at your option) any later version.
Packit Service 31306d
 *
Packit Service 31306d
 * This library is distributed in the hope that it will be useful,
Packit Service 31306d
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 31306d
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 31306d
 * Lesser General Public License for more details.
Packit Service 31306d
 *
Packit Service 31306d
 * You should have received a copy of the GNU Lesser General Public
Packit Service 31306d
 * License along with this library; if not, write to the Free Software
Packit Service 31306d
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Packit Service 31306d
 */
Packit Service 31306d
Packit Service 31306d
#ifndef GSSAPI_H_
Packit Service 31306d
#define GSSAPI_H_
Packit Service 31306d
Packit Service 31306d
#include "config.h"
Packit Service 31306d
#include "session.h"
Packit Service 31306d
Packit Service 31306d
/* all OID begin with the tag identifier + length */
Packit Service 31306d
#define SSH_OID_TAG 06
Packit Service 31306d
Packit Service 31306d
typedef struct ssh_gssapi_struct *ssh_gssapi;
Packit Service 31306d
Packit Service 31306d
#ifdef WITH_SERVER
Packit Service 31306d
int ssh_gssapi_handle_userauth(ssh_session session, const char *user, uint32_t n_oid, ssh_string *oids);
Packit Service 31306d
SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_token_server);
Packit Service 31306d
SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_mic);
Packit Service 31306d
#endif /* WITH_SERVER */
Packit Service 31306d
Packit Service 31306d
SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_token);
Packit Service 31306d
SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_token_client);
Packit Service 31306d
SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_response);
Packit Service 31306d
Packit Service 31306d
Packit Service 31306d
int ssh_gssapi_auth_mic(ssh_session session);
Packit Service 31306d
Packit Service 31306d
#endif /* GSSAPI_H */