This file is indexed.

/usr/include/libepc-1.0/libepc/shell.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
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* 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_SHELL_H__
#define __EPC_SHELL_H__

#include <avahi-client/client.h>
#include <avahi-client/lookup.h>
#include <avahi-client/publish.h>

#include <glib.h>

G_BEGIN_DECLS

/**
 * EPC_DEBUG_LEVEL:
 * @level: the minimum level to check for
 *
 * Checks if the library's debug level, which can be modified by setting the
 * <varname>EPC_DEBUG</varname> environment variable, is above the value
 * sepecified by @level.
 *
 * Returns: %TRUE if the library's debug level is above the threshold specified
 * by @level, and %FALSE otherwise.
 */
#define EPC_DEBUG_LEVEL(level) G_UNLIKELY(epc_shell_get_debug_level () >= (level))

/**
 * EPC_AVAHI_ERROR:
 *
 * Error domain for <citetitle>Avahi</citetitle> operations. Errors in this
 * domain will be <citetitle>Avahi</citetitle> error codes. See GError
 * for information on error domains.
 */
#define EPC_AVAHI_ERROR (epc_avahi_error_quark ())

typedef struct _EpcShellProgressHooks EpcShellProgressHooks;

/**
 * EpcShellProgressHooks:
 * @begin: the function called by #epc_shell_progress_begin
 * @update: the function called by #epc_shell_progress_update
 * @end: the function called by #epc_shell_progress_end
 *
 * This table is used by #epc_shell_set_progress_hooks to install functions
 * allowing the library to provide feedback during processing.
 *
 * See also: #epc_progress_window_install
 */
struct _EpcShellProgressHooks
{
  /*< public >*/
  void (*begin)  (const gchar *title,
                  gpointer     user_data);
  void (*update) (gdouble      percentage,
                  const gchar *message,
                  gpointer     user_data);
  void (*end)    (gpointer     user_data);

  /*< private >*/
  gpointer reserved1;
  gpointer reserved2;
  gpointer reserved3;
  gpointer reserved4;
};

guint                 epc_shell_get_debug_level          (void) G_GNUC_CONST;

void                  epc_shell_watch_remove             (guint id);

guint                 epc_shell_watch_avahi_client_state (AvahiClientCallback          callback,
                                                          gpointer                     user_data,
                                                          GDestroyNotify               destroy_data,
                                                          GError                     **error);
AvahiEntryGroup*      epc_shell_create_avahi_entry_group (AvahiEntryGroupCallback      callback,
                                                          gpointer                     user_data);
AvahiServiceBrowser*  epc_shell_create_service_browser   (AvahiIfIndex                 interface,
                                                          AvahiProtocol                protocol,
                                                          const gchar                 *type,
                                                          const gchar                 *domain,
                                                          AvahiLookupFlags             flags,
                                                          AvahiServiceBrowserCallback  callback,
                                                          gpointer                     user_data,
                                                          GError                     **error);
void                  epc_shell_restart_avahi_client     (const gchar                 *strloc);

const gchar* epc_shell_get_host_name            (GError                     **error);

void                  epc_shell_set_progress_hooks       (const EpcShellProgressHooks *hooks,
                                                          gpointer                     user_data,
                                                          GDestroyNotify               destroy_data);
void                  epc_shell_progress_begin           (const gchar                 *title,
                                                          const gchar                 *message);
void                  epc_shell_progress_update          (gdouble                      percentage,
                                                          const gchar                 *message);
void                  epc_shell_progress_end             (void);

GQuark                epc_avahi_error_quark              (void) G_GNUC_CONST;

G_END_DECLS

#endif /* __EPC_SHELL_H__ */