diff options
Diffstat (limited to 'src/plugins/digest/gsignond-digest-plugin.h')
-rw-r--r-- | src/plugins/digest/gsignond-digest-plugin.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/src/plugins/digest/gsignond-digest-plugin.h b/src/plugins/digest/gsignond-digest-plugin.h new file mode 100644 index 0000000..8e558b9 --- /dev/null +++ b/src/plugins/digest/gsignond-digest-plugin.h @@ -0,0 +1,66 @@ +/* vi: set et sw=4 ts=4 cino=t0,(0: */ +/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of gsignond + * + * Copyright (C) 2013 Intel Corporation. + * + * Contact: Imran Zaman <imran.zaman@intel.com> + * + * This library 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.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA + */ + +#ifndef __GSIGNOND_DIGEST_PLUGIN_H__ +#define __GSIGNOND_DIGEST_PLUGIN_H__ + +#include <glib-object.h> + +#define GSIGNOND_TYPE_DIGEST_PLUGIN (gsignond_digest_plugin_get_type ()) +#define GSIGNOND_DIGEST_PLUGIN(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSIGNOND_TYPE_DIGEST_PLUGIN, \ + GSignondDigestPlugin)) +#define GSIGNOND_IS_DIGEST_PLUGIN(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSIGNOND_TYPE_DIGEST_PLUGIN)) +#define GSIGNOND_DIGEST_PLUGIN_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), GSIGNOND_TYPE_DIGEST_PLUGIN, \ + GSignondDigestPluginClass)) +#define GSIGNOND_IS_DIGEST_PLUGIN_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), GSIGNOND_TYPE_DIGEST_PLUGIN)) +#define GSIGNOND_DIGEST_PLUGIN_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), GSIGNOND_TYPE_DIGEST_PLUGIN, \ + GSignondDigestPluginClass)) + + +typedef struct _GSignondDigestPlugin GSignondDigestPlugin; +typedef struct _GSignondDigestPluginClass GSignondDigestPluginClass; +typedef struct _GSignondDigestPluginPrivate GSignondDigestPluginPrivate; + +struct _GSignondDigestPlugin +{ + GObject parent_instance; + + GSignondDigestPluginPrivate *priv; + int instance_member; +}; + +struct _GSignondDigestPluginClass +{ + GObjectClass parent_class; +}; + +GType gsignond_digest_plugin_get_type (void); + +#endif /* __GSIGNOND_DIGEST_PLUGIN_H__ */ |