diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-04-20 16:21:56 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-04-20 16:21:56 +0200 |
commit | 12d07a6f09c0f8668455416379922f25084ffc02 (patch) | |
tree | a4b128f9990c349f85ff245b98ec717e02750c7e /include | |
parent | 950a6df28b8d9cf3530bb257692a3ee1391acd41 (diff) | |
download | neard-12d07a6f09c0f8668455416379922f25084ffc02.tar.gz neard-12d07a6f09c0f8668455416379922f25084ffc02.tar.bz2 neard-12d07a6f09c0f8668455416379922f25084ffc02.zip |
device: Add data and records addition routines
Diffstat (limited to 'include')
-rw-r--r-- | include/device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h index bae5fd9..0aa1950 100644 --- a/include/device.h +++ b/include/device.h @@ -49,6 +49,10 @@ struct near_device_driver { struct near_device *near_device_get_device(uint32_t adapter_idx, uint32_t target_idx); +int near_device_add_data(uint32_t adapter_idx, uint32_t target_idx, + uint8_t *data, size_t data_length); +int near_device_add_records(struct near_device *device, GList *records, + near_device_io_cb cb, int status); int near_device_driver_register(struct near_device_driver *driver); void near_device_driver_unregister(struct near_device_driver *driver); |