/usr/include/libepc-1.0/libepc/service-monitor.h is in libepc-dev 0.4.4-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | /* Easy Publish and Consume Library
* Copyright (C) 2007, 2008 Openismus GmbH
*
* 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
*
* Authors:
* Mathias Hasselmann
*/
#ifndef __EPC_SERVICE_MONITOR_H__
#define __EPC_SERVICE_MONITOR_H__
#include <libepc/protocol.h>
#include <libepc/service-info.h>
G_BEGIN_DECLS
#define EPC_TYPE_SERVICE_MONITOR (epc_service_monitor_get_type())
#define EPC_SERVICE_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, EPC_TYPE_SERVICE_MONITOR, EpcServiceMonitor))
#define EPC_SERVICE_MONITOR_CLASS(cls) (G_TYPE_CHECK_CLASS_CAST(cls, EPC_TYPE_SERVICE_MONITOR, EpcServiceMonitorClass))
#define EPC_IS_SERVICE_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, EPC_TYPE_SERVICE_MONITOR))
#define EPC_IS_SERVICE_MONITOR_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE(obj, EPC_TYPE_SERVICE_MONITOR))
#define EPC_SERVICE_MONITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPC_TYPE_SERVICE_MONITOR, EpcServiceMonitorClass))
typedef struct _EpcServiceMonitor EpcServiceMonitor;
typedef struct _EpcServiceMonitorClass EpcServiceMonitorClass;
typedef struct _EpcServiceMonitorPrivate EpcServiceMonitorPrivate;
/**
* EpcServiceMonitor:
*
* Public fields of the #EpcServiceMonitor class.
*/
struct _EpcServiceMonitor
{
/*< private >*/
GObject parent_instance;
EpcServiceMonitorPrivate *priv;
/*< public >*/
};
/**
* EpcServiceMonitorClass:
* @service_found: virtual method of the #EpcServiceMonitor::service-found signal
* @service_removed: virtual method of the #EpcServiceMonitor::service-removed signal
* @scanning_done: virtual method of the #EpcServiceMonitor::scanning-done signal
*
* Virtual methods of the #EpcServiceMonitor class.
*/
struct _EpcServiceMonitorClass
{
/*< private >*/
GObjectClass parent_class;
/*< public >*/
void (*service_found) (EpcServiceMonitor *monitor,
const gchar *name,
EpcServiceInfo *info);
void (*service_removed) (EpcServiceMonitor *monitor,
const gchar *name,
const gchar *type);
void (*scanning_done) (EpcServiceMonitor *monitor,
const gchar *type);
};
GType epc_service_monitor_get_type (void) G_GNUC_CONST;
EpcServiceMonitor* epc_service_monitor_new (const gchar *application,
const gchar *domain,
EpcProtocol first_protocol,
...);
EpcServiceMonitor* epc_service_monitor_new_for_types (const gchar *domain,
...)
G_GNUC_NULL_TERMINATED;
EpcServiceMonitor* epc_service_monitor_new_for_types_strv (const gchar *domain,
gchar **types);
void epc_service_monitor_set_skip_our_own (EpcServiceMonitor *monitor,
gboolean setting);
gboolean epc_service_monitor_get_skip_our_own (EpcServiceMonitor *monitor);
G_END_DECLS
#endif /* __EPC_SERVICE_MONITOR_H__ */
|