Commit Graph

12 Commits

Author SHA1 Message Date
Uwe Hermann fb93625d1a sr: sigrok.h.in: Set SR_HWCAP_DUMMY to 0 explicitly. 2012-01-28 19:42:04 +01:00
Uwe Hermann 660ef7d730 sr: sigrok.h.in: Drop obsolete 'GSList *analyzers'. 2012-01-28 19:40:05 +01:00
Uwe Hermann a4cfb10f7f sr: Drop analog left-overs from sigrok.h.
For now, there's no analog/scope support in sigrok yet (will be added
later), so remove any such items from the public API (sigrok.h).

Having '#if defined(HAVE_LA_ALSA)' in sigrok.h is a bug anyway, the API
must not have anything device-dependent in general, and sigrok.h
specifically must not have any #ifdefs for specific hardware.
2012-01-28 19:23:09 +01:00
Anatoly Sokolov a141db8c4a add SR_HWCAP_DEMO_DEVICE capability 2012-01-21 15:56:29 +01:00
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
Renamed from sigrok.h (Browse further)