Blame src/goaidentity/goakerberosidentityinquiry.h

Packit 79f644
/* -*- Mode: C; tab-width: 8; ident-tabs-mode: nil; c-basic-offset: 8 -*-
Packit 79f644
 *
Packit 79f644
 * Copyright © 2012 – 2017 Red Hat, Inc.
Packit 79f644
 *
Packit 79f644
 * This library is free software; you can redistribute it and/or
Packit 79f644
 * modify it under the terms of the GNU Lesser General Public
Packit 79f644
 * License as published by the Free Software Foundation; either
Packit 79f644
 * version 2 of the License, or (at your option) any later version.
Packit 79f644
 *
Packit 79f644
 * This library is distributed in the hope that it will be useful,
Packit 79f644
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 79f644
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 79f644
 * Lesser General Public License for more details.
Packit 79f644
 *
Packit 79f644
 * You should have received a copy of the GNU Lesser General
Packit 79f644
 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit 79f644
 */
Packit 79f644
Packit 79f644
#ifndef __GOA_KERBEROS_IDENTITY_INQUIRY_H__
Packit 79f644
#define __GOA_KERBEROS_IDENTITY_INQUIRY_H__
Packit 79f644
Packit 79f644
#include <stdint.h>
Packit 79f644
Packit 79f644
#include <glib.h>
Packit 79f644
#include <glib-object.h>
Packit 79f644
Packit 79f644
#include "goaidentityinquiry.h"
Packit 79f644
#include "goakerberosidentity.h"
Packit 79f644
Packit 79f644
G_BEGIN_DECLS
Packit 79f644
#define GOA_TYPE_KERBEROS_IDENTITY_INQUIRY             (goa_kerberos_identity_inquiry_get_type ())
Packit 79f644
#define GOA_KERBEROS_IDENTITY_INQUIRY(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GOA_TYPE_KERBEROS_IDENTITY_INQUIRY, GoaKerberosIdentityInquiry))
Packit 79f644
#define GOA_KERBEROS_IDENTITY_INQUIRY_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GOA_TYPE_KERBEROS_IDENTITY_INQUIRY, GoaKerberosIdentityInquiryClass))
Packit 79f644
#define GOA_IS_KERBEROS_IDENTITY_INQUIRY(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GOA_TYPE_KERBEROS_IDENTITY_INQUIRY))
Packit 79f644
#define GOA_IS_KERBEROS_IDENTITY_INQUIRY_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GOA_TYPE_KERBEROS_IDENTITY_INQUIRY))
Packit 79f644
#define GOA_KERBEROS_IDENTITY_INQUIRY_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS((obj), GOA_TYPE_KERBEROS_IDENTITY_INQUIRY, GoaKerberosIdentityInquiryClass))
Packit 79f644
typedef struct _GoaKerberosIdentityInquiry GoaKerberosIdentityInquiry;
Packit 79f644
typedef struct _GoaKerberosIdentityInquiryClass GoaKerberosIdentityInquiryClass;
Packit 79f644
typedef struct _GoaKerberosIdentityInquiryPrivate GoaKerberosIdentityInquiryPrivate;
Packit 79f644
typedef struct _GoaKerberosIdentityInquiryIter GoaKerberosIdentityInquiryIter;
Packit 79f644
Packit 79f644
typedef enum
Packit 79f644
{
Packit 79f644
  GOA_KERBEROS_IDENTITY_QUERY_MODE_INVISIBLE,
Packit 79f644
  GOA_KERBEROS_IDENTITY_QUERY_MODE_VISIBLE
Packit 79f644
} GoaKerberosIdentityQueryMode;
Packit 79f644
Packit 79f644
struct _GoaKerberosIdentityInquiry
Packit 79f644
{
Packit 79f644
  GObject parent;
Packit 79f644
Packit 79f644
  GoaKerberosIdentityInquiryPrivate *priv;
Packit 79f644
};
Packit 79f644
Packit 79f644
struct _GoaKerberosIdentityInquiryClass
Packit 79f644
{
Packit 79f644
  GObjectClass parent_class;
Packit 79f644
};
Packit 79f644
Packit 79f644
GType goa_kerberos_identity_inquiry_get_type (void);
Packit 79f644
Packit 79f644
GoaIdentityInquiry *goa_kerberos_identity_inquiry_new (GoaKerberosIdentity *identity,
Packit 79f644
                                                       const char          *name,
Packit 79f644
                                                       const char          *banner,
Packit 79f644
                                                       krb5_prompt          prompts[],
Packit 79f644
                                                       int                  number_of_prompts);
Packit 79f644
Packit 79f644
#endif /* __GOA_KERBEROS_IDENTITY_INQUIRY_H__ */