/usr/include/libhinawa/fw_req.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 55 56 | #ifndef __ALSA_TOOLS_HINAWA_FW_REQ_H__
#define __ALSA_TOOLS_HINAWA_FW_REQ_H__
#include <glib.h>
#include <glib-object.h>
#include "fw_unit.h"
G_BEGIN_DECLS
#define HINAWA_TYPE_FW_REQ (hinawa_fw_req_get_type())
#define HINAWA_FW_REQ(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
HINAWA_TYPE_FW_REQ, \
HinawaFwReq))
#define HINAWA_IS_FW_REQ(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), \
HINAWA_TYPE_FW_REQ))
#define HINAWA_FW_REQ_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass), \
HINAWA_TYPE_FW_REQ, \
HinawaFwReq))
#define HINAWA_IS_FW_REQ_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass), \
HINAWA_TYPE_Seq))
#define HINAWA_FW_REQ_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS((obj), \
HINAWA_TYPE_FW_REQ, \
HinawaFwReq))
typedef struct _HinawaFwReq HinawaFwReq;
typedef struct _HinawaFwReqClass HinawaFwReqClass;
typedef struct _HinawaFwReqPrivate HinawaFwReqPrivate;
struct _HinawaFwReq {
GObject parent_instance;
HinawaFwReqPrivate *priv;
};
struct _HinawaFwReqClass {
GObjectClass parent_class;
};
GType hinawa_fw_req_get_type(void) G_GNUC_CONST;
void hinawa_fw_req_write(HinawaFwReq *self, HinawaFwUnit *unit, guint64 addr,
GArray *frame, GError **exception);
void hinawa_fw_req_read(HinawaFwReq *self, HinawaFwUnit *unit, guint64 addr,
GArray *frame, guint quads, GError **exception);
void hinawa_fw_req_lock(HinawaFwReq *self, HinawaFwUnit *unit,
guint64 addr, GArray **frame, GError **exception);
#endif
|