loudmouth/lm-feature-ping.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>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
516
4dd3aa6b83e5 Change the tab width to 4 steps in the emacs headers
Mikael Hallendal <micke@imendio.com>
parents: 515
diff changeset
     1
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
505
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     2
/*
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     3
 * Copyright (C) 2008 Imendio AB
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     4
 *
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     6
 * modify it under the terms of the GNU Lesser General Public License as
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     7
 * published by the Free Software Foundation; either version 2 of the
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     8
 * License, or (at your option) any later version.
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     9
 *
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    10
 * This program is distributed in the hope that it will be useful,
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    13
 * Lesser General Public License for more details.
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    14
 *
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    15
 * You should have received a copy of the GNU Lesser General Public
690
7ccf2113ec5f Update the postal address of the FSF
Frank Zschockelt <lm@freakysoft.de>
parents: 518
diff changeset
    16
 * License along with this program; if not, see <https://www.gnu.org/licenses>
505
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    17
 */
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    18
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    19
#ifndef __LM_FEATURE_PING_H__
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    20
#define __LM_FEATURE_PING_H__
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    21
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    22
#include <glib-object.h>
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    23
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    24
G_BEGIN_DECLS
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    25
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    26
#define LM_TYPE_FEATURE_PING            (lm_feature_ping_get_type ())
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    27
#define LM_FEATURE_PING(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), LM_TYPE_FEATURE_PING, LmFeaturePing))
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    28
#define LM_FEATURE_PING_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), LM_TYPE_FEATURE_PING, LmFeaturePingClass))
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    29
#define LM_IS_FEATURE_PING(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LM_TYPE_FEATURE_PING))
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    30
#define LM_IS_FEATURE_PING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LM_TYPE_FEATURE_PING))
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    31
#define LM_FEATURE_PING_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), LM_TYPE_FEATURE_PING, LmFeaturePingClass))
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    32
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    33
typedef struct LmFeaturePing      LmFeaturePing;
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    34
typedef struct LmFeaturePingClass LmFeaturePingClass;
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    35
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    36
struct LmFeaturePing {
518
cdd6a0c5b439 Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents: 516
diff changeset
    37
    GObject parent;
505
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    38
};
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    39
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    40
struct LmFeaturePingClass {
518
cdd6a0c5b439 Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents: 516
diff changeset
    41
    GObjectClass parent_class;
505
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    42
};
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    43
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    44
GType   lm_feature_ping_get_type  (void);
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    45
506
9d9be7000667 Added properties, signals and start/stop calls to LmFeaturePing.
Mikael Hallendal <micke@imendio.com>
parents: 505
diff changeset
    46
void    lm_feature_ping_start     (LmFeaturePing *fp);
9d9be7000667 Added properties, signals and start/stop calls to LmFeaturePing.
Mikael Hallendal <micke@imendio.com>
parents: 505
diff changeset
    47
void    lm_feature_ping_stop      (LmFeaturePing *fp);
9d9be7000667 Added properties, signals and start/stop calls to LmFeaturePing.
Mikael Hallendal <micke@imendio.com>
parents: 505
diff changeset
    48
505
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    49
G_END_DECLS
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    50
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    51
#endif /* __LM_FEATURE_PING_H__ */
ba6f96b3e4a8 Added stubs for LmFeaturePing which will hold the XMPP Ping feature.
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    52