/usr/include/udisks2/udisks/udisksmoduleiface.h is in libudisks2-dev 2.7.6-3.
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 | /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
*
* Copyright (C) 2014 Tomas Bzatek <tbzatek@redhat.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
#ifndef __UDISKS_MODULE_IFACE_H__
#define __UDISKS_MODULE_IFACE_H__
#include <gio/gio.h>
#include <udisks/udisks.h>
#include <gudev/gudev.h>
#include <sys/types.h>
#include "udisksmoduleifacetypes.h"
G_BEGIN_DECLS
/* Corresponds with the UDisksModuleIDFunc type */
G_MODULE_EXPORT gchar *udisks_module_id (void);
/* Corresponds with the UDisksModuleInitFunc type */
G_MODULE_EXPORT gpointer udisks_module_init (UDisksDaemon *daemon);
/* Corresponds with the UDisksModuleTeardownFunc type */
G_MODULE_EXPORT void udisks_module_teardown (UDisksDaemon *daemon);
/**
* UDisks module setup entry functions:
* Functions below are module entry functions that return an array of setup
* functions (or structures containing group of setup functions). See
* udisksmoduleifacetypes.h for detailed description.
*
* Setup functions are queried by UDisksModuleManager only once (typically on
* startup or on demand). Modules are never unloaded for safety reasons.
*/
/* Corresponds with the UDisksModuleIfaceSetupFunc type */
G_MODULE_EXPORT UDisksModuleInterfaceInfo **udisks_module_get_block_object_iface_setup_entries (void);
G_MODULE_EXPORT UDisksModuleInterfaceInfo **udisks_module_get_drive_object_iface_setup_entries (void);
/* Corresponds with the UDisksModuleObjectNewSetupFunc type */
G_MODULE_EXPORT UDisksModuleObjectNewFunc *udisks_module_get_object_new_funcs (void);
/* Corresponds with the UDisksModuleNewManagerIfaceSetupFunc type */
G_MODULE_EXPORT UDisksModuleNewManagerIfaceFunc *udisks_module_get_new_manager_iface_funcs (void);
G_MODULE_EXPORT gchar *udisks_module_track_parent (UDisksDaemon *daemon,
const gchar *path,
gchar **uuid_ret);
G_END_DECLS
#endif /* __UDISKS_MODULE_IFACE_H__ */
|