Codebase list realmd / scrub-obsolete/main service / realm-samba.h
scrub-obsolete/main

Tree @scrub-obsolete/main (Download .tar.gz)

realm-samba.h @scrub-obsolete/mainraw · history · blame

/* realmd -- Realm configuration service
 *
 * Copyright 2012 Red Hat Inc
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published
 * by the Free Software Foundation; either version 2 of the licence or (at
 * your option) any later version.
 *
 * See the included COPYING file for more information.
 *
 * Author: Stef Walter <stefw@gnome.org>
 */

#include "config.h"

#ifndef __REALM_SAMBA_H__
#define __REALM_SAMBA_H__

#include <gio/gio.h>

#include "realm-kerberos.h"
#include "realm-provider.h"

G_BEGIN_DECLS

#define REALM_TYPE_SAMBA            (realm_samba_get_type ())
#define REALM_SAMBA(inst)           (G_TYPE_CHECK_INSTANCE_CAST ((inst), REALM_TYPE_SAMBA, RealmSamba))
#define REALM_IS_SAMBA(inst)        (G_TYPE_CHECK_INSTANCE_TYPE ((inst), REALM_TYPE_SAMBA))

typedef struct _RealmSamba RealmSamba;

GType                    realm_samba_get_type    (void) G_GNUC_CONST;

RealmKerberos *          realm_samba_new         (const gchar *name,
                                                  RealmProvider *provider);

G_END_DECLS

#endif /* __REALM_SAMBA_H__ */