/usr/include/libhinawa/fw_unit.h is in libhinawa-dev 0.8.2-2.
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 | #ifndef __ALSA_TOOLS_HINAWA_FW_UNIT_H__
#define __ALSA_TOOLS_HINAWA_FW_UNIT_H__
#include <glib.h>
#include <glib-object.h>
G_BEGIN_DECLS
#define HINAWA_TYPE_FW_UNIT (hinawa_fw_unit_get_type())
#define HINAWA_FW_UNIT(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
HINAWA_TYPE_FW_UNIT, \
HinawaFwUnit))
#define HINAWA_IS_FW_UNIT(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), \
HINAWA_TYPE_FW_UNIT))
#define HINAWA_FW_UNIT_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass), \
HINAWA_TYPE_FW_UNIT, \
HinawaFwUnitClass))
#define HINAWA_IS_FW_UNIT_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass), \
HINAWA_TYPE_FW_UNIT))
#define HINAWA_FW_UNIT_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS((obj), \
HINAWA_TYPE_FW_UNIT, \
HinawaFwUnitClass))
typedef struct _HinawaFwUnit HinawaFwUnit;
typedef struct _HinawaFwUnitClass HinawaFwUnitClass;
typedef struct _HinawaFwUnitPrivate HinawaFwUnitPrivate;
struct _HinawaFwUnit {
GObject parent_instance;
HinawaFwUnitPrivate *priv;
};
struct _HinawaFwUnitClass {
GObjectClass parent_class;
};
GType hinawa_fw_unit_get_type(void) G_GNUC_CONST;
void hinawa_fw_unit_open(HinawaFwUnit *self, gchar *path, GError **exception);
const guint32 *hinawa_fw_unit_get_config_rom(HinawaFwUnit *self, guint *quads);
void hinawa_fw_unit_listen(HinawaFwUnit *self, GError **exception);
void hinawa_fw_unit_unlisten(HinawaFwUnit *self);
#endif
|