1
/* mg-handler-passmd5.h
3
* Copyright (C) 2003 Vivien Malerba
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License as
7
* published by the Free Software Foundation; either version 2 of the
8
* License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21
#ifndef __MG_HANDLER_PASSMD5__
22
#define __MG_HANDLER_PASSMD5__
24
#include <libmergeant/mg-base.h>
25
#include <libmergeant/mg-server.h>
26
#include <libmergeant/mg-data-handler.h>
30
#define MG_HANDLER_PASSMD5_TYPE (mg_handler_passmd5_get_type())
31
#define MG_HANDLER_PASSMD5(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, mg_handler_passmd5_get_type(), MgHandlerPassmd5)
32
#define MG_HANDLER_PASSMD5_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, mg_handler_passmd5_get_type (), MgHandlerPassmd5Class)
33
#define IS_MG_HANDLER_PASSMD5(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, mg_handler_passmd5_get_type ())
36
typedef struct _MgHandlerPassmd5 MgHandlerPassmd5;
37
typedef struct _MgHandlerPassmd5Class MgHandlerPassmd5Class;
38
typedef struct _MgHandlerPassmd5Priv MgHandlerPassmd5Priv;
41
/* struct for the object's data */
42
struct _MgHandlerPassmd5
46
MgHandlerPassmd5Priv *priv;
49
/* struct for the object's class */
50
struct _MgHandlerPassmd5Class
52
MgBaseClass parent_class;
56
guint mg_handler_passmd5_get_type (void);
57
GObject *mg_handler_passmd5_new (MgServer *srv);