Uwe Hermann
e0508e6799
sr: session: Make most functions return int.
...
This allows us to return error codes etc.
Add a little more error handling.
2012-01-07 17:11:50 +01:00
Bert Vermeulen
db4b455bee
remove obsolete libsigrokdecode struct
2012-01-07 02:54:43 +01:00
Uwe Hermann
3b7c8f54fc
sr: Drop some obsolete and commented out code.
2012-01-02 14:25:52 +01:00
Kristoffer Sjöberg
464d12c72a
Move the probe naming to the creator of the device, and let each driver name its own probes.
2011-12-29 17:04:31 +01:00
Uwe Hermann
a0ecd83bc6
Make more variables/functions static and non-global.
...
The 'GSList *devices' from device.c was actually really global (i.e.,
listed in sigrok.h), which is now fixed.
2011-12-28 22:55:21 +01:00
Gareth McMullin
4d436e71ba
Changed SR_T_NULL to SR_T_BOOL and adjusted RLE option.
2011-11-19 13:41:41 +13:00
Uwe Hermann
48ca6b54b0
sigrok.h: Remove SIGROK_*VERSION #defines again.
...
These version numbers represent the sigrok version (i.e., the version
of the tarball, such as "sigrok-0.2.0.tar.gz"), but _not_ the libsigrok
(libtool) library/API/ABI versions. Thus, they should not be in
libsigrok's include file (sigrok.h).
2011-11-15 22:54:07 +01:00
Uwe Hermann
52f28f821f
sigrok.h: Add SIGROK_{MAJOR,MINOR,MICRO,}_VERSION #defines.
2011-10-31 14:49:12 +01:00