1
/* This file is part of GQ
4
* Sven Herzberg <herzi@gnome-de.org>
6
* Copyright (C) 2006 Sven Herzberg <herzi@gnome-de.org>
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public License as
10
* published by the Free Software Foundation; either version 2.1 of the
11
* License, or (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU Lesser General Public License for more details.
18
* You should have received a copy of the GNU Lesser General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24
#ifndef GQ_SERVER_DN_H
25
#define GQ_SERVER_DN_H
27
#include "gq-server.h"
31
typedef struct _GqServerDn GqServerDn;
32
typedef GObjectClass GqServerDnClass;
34
#define GQ_TYPE_SERVER_DN (gq_server_dn_get_type())
35
#define GQ_SERVER_DN(i) (G_TYPE_CHECK_INSTANCE_CAST((i), GQ_TYPE_SERVER_DN, GqServerDn))
36
#define GQ_SERVER_DN_CLASS(c) (G_TYPE_CHECK_CLASS_CAST((c), GQ_TYPE_SERVER_DN, GqServerDnClass))
37
#define GQ_IS_SERVER_DN(i) (G_TYPE_CHECK_INSTANCE_TYPE((i), GQ_TYPE_SERVER_DN))
38
#define GQ_IS_SERVER_DN_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE((c), GQ_TYPE_SERVER_DN))
39
#define GQ_SERVER_DN_GET_CLASS(i) (G_TYPE_INSTANCE_GET_CLASS((i), GQ_TYPE_SERVER_DN, GqServerDnClass))
41
GType gq_server_dn_get_type(void);
43
GqServerDn* gq_server_dn_new (gchar const * dn,
46
gchar const* gq_server_dn_get_dn (GqServerDn const* self);
47
gchar* const*gq_server_dn_get_object_class(GqServerDn* self);
48
GqServer* gq_server_dn_get_server(GqServerDn const* self);
51
GObject base_instance;
52
int flags; /* used to specify more
53
* information if needed */
58
#endif /* !GQ_SERVER_DN_H */