summaryrefslogtreecommitdiffstats
path: root/src/fw.h
diff options
context:
space:
mode:
authorGravatar B.J. Buchalter 2011-03-24 03:14:27 -0400
committerGravatar Stefan Richter 2012-06-17 22:00:40 +0200
commitf3c9af36c29428caa872fa67f20c958d52a5fb21 (patch)
treedf06f471e52ced337d8a6727806a26cff389bb1c /src/fw.h
parentconfigure.ac, Changelog, NEWS etc.: update to version 2.0.9 (diff)
Add raw1394_add_config_rom_descriptor() and raw1394_remove_config_rom_descriptor() API
This adds support of the firewire-core (juju) ABI to add and remove config ROM directories or descriptors. The raw1394 ABI supports similar requests, but for now we leave the two functions unimplemented when running on top of raw1394. Signed-off-by: Benjamin Buchalter <bj@mhlabs.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (whitespace changes)
Diffstat (limited to 'src/fw.h')
-rw-r--r--src/fw.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fw.h b/src/fw.h
index c8481c2..e64b2f3 100644
--- a/src/fw.h
+++ b/src/fw.h
@@ -202,6 +202,13 @@ int fw_start_fcp_listen(fw_handle_t handle);
int fw_stop_fcp_listen(fw_handle_t handle);
int fw_update_config_rom(fw_handle_t handle, const quadlet_t *new_rom,
size_t size, unsigned char rom_version);
+int fw_add_config_rom_descriptor(fw_handle_t handle,
+ const quadlet_t immediate_key,
+ const quadlet_t key,
+ const quadlet_t *new_rom_directory,
+ size_t size,
+ __u32 *out_token);
+int fw_remove_config_rom_descriptor(fw_handle_t handle, __u32 token);
int fw_get_config_rom(fw_handle_t handle, quadlet_t *buffer,
size_t buffersize, size_t *rom_size,
unsigned char *rom_version);