diff options
| author | 2000-04-05 22:41:31 +0000 | |
|---|---|---|
| committer | 2000-04-05 22:41:31 +0000 | |
| commit | 47a2d6953a832792b9807745657903a888c31978 (patch) | |
| tree | 7e964eaae2fa2e97a5e6a3e03bc4cd3bd069601c /src/raw1394.h | |
| parent | Bump version number to 0.6. (diff) | |
Add userdata functions.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@22 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/raw1394.h')
| -rw-r--r-- | src/raw1394.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/raw1394.h b/src/raw1394.h index 88c50f5..1c17172 100644 --- a/src/raw1394.h +++ b/src/raw1394.h @@ -31,6 +31,13 @@ void raw1394_destroy_handle(raw1394handle_t handle); */ int raw1394_get_fd(raw1394handle_t handle); +/* + * Set and get user data. This isn't used inside libraw1394, you can use it for + * your own purposes. + */ +void *raw1394_get_userdata(raw1394handle_t handle); +void raw1394_set_userdata(raw1394handle_t handle, void *data); + unsigned int raw1394_get_generation(raw1394handle_t handle); nodeid_t raw1394_get_local_id(raw1394handle_t handle); |
