diff options
| author | 2022-09-20 01:10:19 -0400 | |
|---|---|---|
| committer | 2022-09-20 01:10:19 -0400 | |
| commit | e9aac3206920e3246f532d0f2e336e4e5dd9594b (patch) | |
| tree | c50cc7b4d6b4eec90c2c4505cae9de9025b0db36 /src/main.c | |
| parent | add .gitignore (diff) | |
add dummy arm_tag_handler to raw1394 implementation
Diffstat (limited to '')
| -rw-r--r-- | src/main.c | 34 |
1 files changed, 18 insertions, 16 deletions
@@ -4,6 +4,7 @@ * Copyright (C) 1999,2000,2001,2002 Andreas Bombe * 2001, 2002 Manfred Weihs <weihs@ict.tuwien.ac.at> * 2002 Christian Toegel <christian.toegel@gmx.at> + * Copyright (C) 2022 Peter McGoron <code@mcgoron.com> * * This library is licensed under the GNU Lesser General Public License (LGPL), * version 2.1 or later. See the file COPYING.LIB in the distribution for @@ -55,23 +56,24 @@ static int tag_handler_default(struct raw1394_handle *handle, unsigned long tag, } } -static int arm_tag_handler_default(struct raw1394_handle *handle, unsigned long tag, - byte_t request_type, unsigned int requested_length, - void *data) +/* do nothing */ +static int arm_tag_handler_default( + raw1394handle_t handle, raw1394_arm_allocation_t *arm, + int tcode, unsigned long long offset, int source_node_id, + int card, unsigned kernel_handle, size_t length, void *data +) { - struct raw1394_arm_reqhandle *rh; - struct raw1394_arm_request_response *arm_req_resp; - - if (tag) { - rh = (struct raw1394_arm_reqhandle *)tag; - arm_req_resp = (struct raw1394_arm_request_response *) data; - return rh->arm_callback(handle, arm_req_resp, - requested_length, rh->pcontext, - request_type); - } else { - /* error ... */ - return -1; - } + (void)handle; + (void)arm; + (void)tcode; + (void)offset; + (void)source_node_id; + (void)card; + (void)kernel_handle; + (void)length; + (void)data; + + return 0; } int _raw1394_sync_cb(struct raw1394_handle *unused, struct sync_cb_data *data, |
