diff options
| author | 2000-04-05 22:41:31 +0000 | |
|---|---|---|
| committer | 2000-04-05 22:41:31 +0000 | |
| commit | 47a2d6953a832792b9807745657903a888c31978 (patch) | |
| tree | 7e964eaae2fa2e97a5e6a3e03bc4cd3bd069601c /src/main.c | |
| 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/main.c')
| -rw-r--r-- | src/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -114,6 +114,15 @@ nodeid_t raw1394_get_local_id(struct raw1394_handle *handle) return handle->local_id; } +void *raw1394_get_userdata(struct raw1394_handle *handle) +{ + return handle->userdata; +} + +void raw1394_set_userdata(struct raw1394_handle *handle, void *data) +{ + handle->userdata = data; +} int raw1394_get_port_info(struct raw1394_handle *handle, struct raw1394_portinfo *pinf, int maxports) |
