loudmouth/lm-idummy.h
author Mikael Berthe <mikael@lilotux.net>
Mon, 13 Jun 2022 18:01:27 +0200
changeset 745 7785b42dd7bc
parent 690 7ccf2113ec5f
permissions -rw-r--r--
Merge pull request #46 from nekopsykose/fix-asyncns-addrinfo fix macro define for freeaddrinfo with asyncns committer: GitHub <noreply@github.com>

/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * Copyright (C) 2008 Imendio AB
 *
 * 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
 * License, or (at your option) any later version.
 *
 * This program 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 program; if not, see <https://www.gnu.org/licenses>
 */

#ifndef __LM_IDUMMY_H__
#define __LM_IDUMMY_H__

#include <glib-object.h>

G_BEGIN_DECLS

#define LM_TYPE_IDUMMY             (lm_idummy_get_type())
#define LM_IDUMMY(o)               (G_TYPE_CHECK_INSTANCE_CAST((o), LM_TYPE_IDUMMY, LmIDummy))
#define LM_IS_IDUMMY(o)            (G_TYPE_CHECK_INSTANCE_TYPE((o), LM_TYPE_IDUMMY))
#define LM_IDUMMY_GET_IFACE(o)     (G_TYPE_INSTANCE_GET_INTERFACE((o), LM_TYPE_IDUMMY, LmIDummyIface))

typedef struct _LmIDummy      LmIDummy;
typedef struct _LmIDummyIface LmIDummyIface;

struct _LmIDummyIface {
    GTypeInterface parent;

    /* <vtable> */
    int     (*function)      (LmIDummy *idummy);
};

GType          lm_idummy_get_type          (void);

gint           lm_idummy_function          (LmIDummy *idummy);

G_END_DECLS

#endif /* __LM_IDUMMY_H__ */