]> sigrok.org Git - libsigrok.git/log
libsigrok.git
12 years agosr/cli/gtk: s/capability/hwcap/.
Uwe Hermann [Fri, 17 Feb 2012 23:17:18 +0000 (00:17 +0100)]
sr/cli/gtk: s/capability/hwcap/.

12 years agosr/cli/gtk: A few more s/instance/inst/.
Uwe Hermann [Fri, 17 Feb 2012 22:55:27 +0000 (23:55 +0100)]
sr/cli/gtk: A few more s/instance/inst/.

12 years agosr/cli/gtk/qt: s/device/dev/ in many places.
Uwe Hermann [Fri, 17 Feb 2012 21:25:01 +0000 (22:25 +0100)]
sr/cli/gtk/qt: s/device/dev/ in many places.

Also, a few s/instance/inst/ occurences.

12 years agosr: Some more s/device_instance/dev_inst/.
Uwe Hermann [Fri, 17 Feb 2012 20:02:52 +0000 (21:02 +0100)]
sr: Some more s/device_instance/dev_inst/.

12 years agosr: Random cosmetics, fix/amend Doxygen comments.
Uwe Hermann [Fri, 17 Feb 2012 19:44:19 +0000 (20:44 +0100)]
sr: Random cosmetics, fix/amend Doxygen comments.

12 years agosr: Prefix log messages with subsystem string.
Uwe Hermann [Fri, 17 Feb 2012 18:40:01 +0000 (19:40 +0100)]
sr: Prefix log messages with subsystem string.

12 years agosr: rename all sr_hwplugin(s)_* functions to sr_hw_*
Bert Vermeulen [Wed, 15 Feb 2012 02:18:48 +0000 (03:18 +0100)]
sr: rename all sr_hwplugin(s)_* functions to sr_hw_*

12 years agosr: la8: remove debug output when no device is found
Bert Vermeulen [Tue, 14 Feb 2012 12:18:17 +0000 (13:18 +0100)]
sr: la8: remove debug output when no device is found

12 years agosr: don't free driver-specific per-device struct in drivers
Bert Vermeulen [Tue, 14 Feb 2012 11:26:22 +0000 (12:26 +0100)]
sr: don't free driver-specific per-device struct in drivers

sr_dev_inst_free() takes care of that.

12 years agosr: rename more functions to sr_thing_action format
Bert Vermeulen [Mon, 13 Feb 2012 23:23:51 +0000 (00:23 +0100)]
sr: rename more functions to sr_thing_action format

Also improved the interface to find capabilities in a hardware plugin.

12 years agosr: rename all sr_device_instance_* functions to sr_dev_inst_*
Bert Vermeulen [Mon, 13 Feb 2012 14:31:59 +0000 (15:31 +0100)]
sr: rename all sr_device_instance_* functions to sr_dev_inst_*

12 years agosr: rename hwplugin functions to sr_thing_action format
Bert Vermeulen [Mon, 13 Feb 2012 14:23:16 +0000 (15:23 +0100)]
sr: rename hwplugin functions to sr_thing_action format

12 years agosr: Add missing #include, fixes warning.
Uwe Hermann [Mon, 13 Feb 2012 18:49:09 +0000 (19:49 +0100)]
sr: Add missing #include, fixes warning.

12 years agosr: cleanup callback: Return int.
Uwe Hermann [Sun, 12 Feb 2012 19:52:42 +0000 (20:52 +0100)]
sr: cleanup callback: Return int.

12 years agosr: stop_acquisition callback: Return int.
Uwe Hermann [Sun, 12 Feb 2012 12:31:58 +0000 (13:31 +0100)]
sr: stop_acquisition callback: Return int.

12 years agosr: adjust copyright year
Bert Vermeulen [Mon, 13 Feb 2012 13:31:51 +0000 (14:31 +0100)]
sr: adjust copyright year

12 years agosr: rename all sr_device_* functions to sr_dev_*
Bert Vermeulen [Mon, 13 Feb 2012 13:00:47 +0000 (14:00 +0100)]
sr: rename all sr_device_* functions to sr_dev_*

12 years agosr: more API cleanup and documentation
Bert Vermeulen [Mon, 13 Feb 2012 02:36:32 +0000 (03:36 +0100)]
sr: more API cleanup and documentation

12 years agosr: whitespace cleanup
Bert Vermeulen [Mon, 13 Feb 2012 01:16:32 +0000 (02:16 +0100)]
sr: whitespace cleanup

12 years agosr: clean up public/private split in headers
Bert Vermeulen [Mon, 13 Feb 2012 01:13:51 +0000 (02:13 +0100)]
sr: clean up public/private split in headers

12 years agosr: cleaned up session bus debug helper
Bert Vermeulen [Sun, 12 Feb 2012 23:08:23 +0000 (00:08 +0100)]
sr: cleaned up session bus debug helper

12 years agosr: public/private API cleanup in hwplugin
Bert Vermeulen [Sun, 12 Feb 2012 22:57:43 +0000 (23:57 +0100)]
sr: public/private API cleanup in hwplugin

12 years agosr: rm unused sr_device_clear() and sr_device_probe_clear()
Bert Vermeulen [Sun, 12 Feb 2012 21:36:19 +0000 (22:36 +0100)]
sr: rm unused sr_device_clear() and sr_device_probe_clear()

12 years agosr: sigrok.h is no longer generated
Bert Vermeulen [Sun, 12 Feb 2012 19:43:20 +0000 (20:43 +0100)]
sr: sigrok.h is no longer generated

12 years agoUse g_try_malloc/g_free/g_strdup consistently.
Uwe Hermann [Sat, 11 Feb 2012 19:06:46 +0000 (20:06 +0100)]
Use g_try_malloc/g_free/g_strdup consistently.

Avoid plain malloc()/free() in sr/srd, especially in the API calls.
Also avoid g_malloc*() in favor of g_try_malloc*().

Use g_strdup() instead of strdup() so that we can use g_free()
consistently everywhere.

Exceptions: Stuff that is allocated via other libs (not using glib),
should also be properly free'd using the respective free-ing function
(instead of g_free()). Examples: Stuff allocated by libusb, libftdi, etc.

Also, use sr_err() instead of sr_warn() for actual errors. sr_warn() is
meant for non-fatal/uncritical warnings.

12 years agosr: chronovu-la8: Add missing <stdlib.h> #include.
Uwe Hermann [Fri, 10 Feb 2012 23:39:25 +0000 (00:39 +0100)]
sr: chronovu-la8: Add missing <stdlib.h> #include.

12 years agosr: asix: Change a free() to g_free() as it should be.
Uwe Hermann [Fri, 10 Feb 2012 23:38:48 +0000 (00:38 +0100)]
sr: asix: Change a free() to g_free() as it should be.

This also fixes a compiler warning (on FreeBSD at least).

12 years agosr: FreeBSD has zlib, but no pkg-config file for it.
Uwe Hermann [Fri, 10 Feb 2012 23:34:16 +0000 (00:34 +0100)]
sr: FreeBSD has zlib, but no pkg-config file for it.

12 years agosr: MinGW/Mac: No libusb_detach_kernel_driver() support.
Uwe Hermann [Fri, 10 Feb 2012 23:20:23 +0000 (00:20 +0100)]
sr: MinGW/Mac: No libusb_detach_kernel_driver() support.

12 years agosr: Doxygen comments for loglevels.
Uwe Hermann [Wed, 8 Feb 2012 21:08:55 +0000 (22:08 +0100)]
sr: Doxygen comments for loglevels.

12 years agosr: Implement proper logging framework.
Uwe Hermann [Wed, 8 Feb 2012 21:04:13 +0000 (22:04 +0100)]
sr: Implement proper logging framework.

This is pretty much identical to the current libsigrokdecode API/framework.

12 years agosr: saleae: Fix typo.
Uwe Hermann [Tue, 7 Feb 2012 22:50:47 +0000 (23:50 +0100)]
sr: saleae: Fix typo.

12 years agosr: saleae: Support more recent firmwares.
Uwe Hermann [Tue, 7 Feb 2012 22:49:51 +0000 (23:49 +0100)]
sr: saleae: Support more recent firmwares.

12 years agosr: udev file: Add QuantAsylum QA100, Rigol VS5202D.
Uwe Hermann [Mon, 6 Feb 2012 22:50:22 +0000 (23:50 +0100)]
sr: udev file: Add QuantAsylum QA100, Rigol VS5202D.

12 years agosr: s/z60_sigrok.rules/z60_libsigrok.rules/.
Uwe Hermann [Mon, 6 Feb 2012 21:46:22 +0000 (22:46 +0100)]
sr: s/z60_sigrok.rules/z60_libsigrok.rules/.

12 years agosr: input/output: Mark more symbols with SR_PRIV.
Uwe Hermann [Sat, 4 Feb 2012 09:56:51 +0000 (10:56 +0100)]
sr: input/output: Mark more symbols with SR_PRIV.

12 years agoProject-wide consistent naming for #include guards.
Uwe Hermann [Sat, 4 Feb 2012 09:41:30 +0000 (10:41 +0100)]
Project-wide consistent naming for #include guards.

Document the naming scheme in HACKING.

12 years agosr/cli/gtk: Remove analog left-overs from API.
Uwe Hermann [Sat, 4 Feb 2012 09:10:43 +0000 (10:10 +0100)]
sr/cli/gtk: Remove analog left-overs from API.

This will come back in some form or another later, but for now
don't clutter the API with non-working stuff. Removing stuff from APIs
is not possible without breaking the API, adding stuff later is simpler.

12 years agosr: zeroplus: Drop unused global variable.
Uwe Hermann [Sun, 5 Feb 2012 12:37:02 +0000 (13:37 +0100)]
sr: zeroplus: Drop unused global variable.

12 years agosr: Compile fix for Windows/MinGW.
Uwe Hermann [Sun, 5 Feb 2012 12:36:03 +0000 (13:36 +0100)]
sr: Compile fix for Windows/MinGW.

12 years agoautogen.sh: aclocal support for Windows XP/Vista/7.
Uwe Hermann [Sun, 5 Feb 2012 11:54:44 +0000 (12:54 +0100)]
autogen.sh: aclocal support for Windows XP/Vista/7.

12 years agosr: Make more symbols private via static/SR_PRIV.
Uwe Hermann [Thu, 2 Feb 2012 20:15:04 +0000 (21:15 +0100)]
sr: Make more symbols private via static/SR_PRIV.

Additional zeroplus fixes:

 - Remove unneeded function prototypes from .h files.

 - Remove unused variables and/or use standard libusb #defines instead.

 - Remove unused GL_* error code #defines.

12 years agosr: zeroplus: Remove unused gl_open()/gl_close().
Uwe Hermann [Thu, 2 Feb 2012 20:08:33 +0000 (21:08 +0100)]
sr: zeroplus: Remove unused gl_open()/gl_close().

Merge the missing function calls into zeroplus.c's init functions.

12 years agosr: Mark API functions with SR_API/SR_PRIV.
Uwe Hermann [Wed, 1 Feb 2012 22:40:35 +0000 (23:40 +0100)]
sr: Mark API functions with SR_API/SR_PRIV.

Use SR_API to mark public API symbols, and SR_PRIV for private symbols.

Variables and functions marked 'static' are private already and don't
need SR_PRIV. However, functions which are not static (because they need
to be used in other libsigrok-internal files) but are also not meant to
be part of the public libsigrok API, must use SR_PRIV.

This uses the 'visibility' feature of gcc (requires gcc >= 4.0).

Details: http://gcc.gnu.org/wiki/Visibility

12 years agosr: remove unused time/duration fields from datafeed packets
Bert Vermeulen [Wed, 1 Feb 2012 01:59:41 +0000 (02:59 +0100)]
sr: remove unused time/duration fields from datafeed packets

12 years agosr: Eliminate usb/serial instances from API.
Uwe Hermann [Sun, 29 Jan 2012 22:06:10 +0000 (23:06 +0100)]
sr: Eliminate usb/serial instances from API.

The API should be generic and only provide sr_device_instance_new() and
friends, but not sr_usb_device_instance_new(), sr_serial_device_instance_new(),
or others for other device types we may have in the future. The
frontends shouldn't have to know or care about this implementation detail.

This also fixes the problem that parts of sigrok.h contained
'#ifdef HAVE_LIBUSB_1_0' and such, which is even less desirable for the API.

The usb/serial instance specifics are now private, and each driver that
needs them keeps a pointer in its driver-specific context.

12 years agosr: zp: Add missing <string.h> #include.
Uwe Hermann [Tue, 31 Jan 2012 00:54:08 +0000 (01:54 +0100)]
sr: zp: Add missing <string.h> #include.

12 years agoAdd sr_device_get_info
Anatoly Sokolov [Sun, 29 Jan 2012 12:56:06 +0000 (16:56 +0400)]
Add sr_device_get_info

12 years agosr: zeroplus: Use device-specific context.
Uwe Hermann [Sun, 29 Jan 2012 18:14:25 +0000 (19:14 +0100)]
sr: zeroplus: Use device-specific context.

Make the zeroplus driver use a "struct zp" with per-device-instance
data (such as samplerate, trigger settings, and so on), like the other
drivers do.

Also, add a few more error checks.

12 years agosr: la8: Fix typo.
Uwe Hermann [Sun, 29 Jan 2012 11:47:53 +0000 (12:47 +0100)]
sr: la8: Fix typo.

12 years agosr: zeroplus: Fix a segfault.
Uwe Hermann [Sat, 28 Jan 2012 22:29:28 +0000 (23:29 +0100)]
sr: zeroplus: Fix a segfault.

12 years agoUpdate/enforce/document our build requirements.
Uwe Hermann [Sat, 28 Jan 2012 20:26:56 +0000 (21:26 +0100)]
Update/enforce/document our build requirements.

12 years agosr: sigrok.h.in: Set SR_HWCAP_DUMMY to 0 explicitly.
Uwe Hermann [Sat, 28 Jan 2012 18:42:04 +0000 (19:42 +0100)]
sr: sigrok.h.in: Set SR_HWCAP_DUMMY to 0 explicitly.

12 years agosr: sigrok.h.in: Drop obsolete 'GSList *analyzers'.
Uwe Hermann [Sat, 28 Jan 2012 18:40:05 +0000 (19:40 +0100)]
sr: sigrok.h.in: Drop obsolete 'GSList *analyzers'.

12 years agosr: Drop analog left-overs from sigrok.h.
Uwe Hermann [Sat, 28 Jan 2012 18:23:09 +0000 (19:23 +0100)]
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.

12 years agoadd SR_HWCAP_DEMO_DEVICE capability
Anatoly Sokolov [Sat, 21 Jan 2012 14:34:11 +0000 (18:34 +0400)]
add SR_HWCAP_DEMO_DEVICE capability

12 years agolink-mso19: Fixed led toggling (the bit masking was not being proprly done).
Renato Caldas [Thu, 12 Jan 2012 11:50:50 +0000 (11:50 +0000)]
link-mso19: Fixed led toggling (the bit masking was not being proprly done).

12 years agolink-mso19: Prevent double free errors when freeing sdi->priv.
Renato Caldas [Wed, 18 Jan 2012 16:03:39 +0000 (16:03 +0000)]
link-mso19: Prevent double free errors when freeing sdi->priv.

12 years agolink-mso19: Add debug messages.
Renato Caldas [Wed, 18 Jan 2012 12:09:36 +0000 (12:09 +0000)]
link-mso19: Add debug messages.

12 years agolink-mso19: Properly initialize the protocol trigger block
Renato Caldas [Tue, 17 Jan 2012 13:41:38 +0000 (13:41 +0000)]
link-mso19: Properly initialize the protocol trigger block

12 years agolink-mso19: Added new register definitions and renamed variables to reflect new findings.
Renato Caldas [Tue, 17 Jan 2012 13:16:41 +0000 (13:16 +0000)]
link-mso19: Added new register definitions and renamed variables to reflect new findings.

12 years agolink-mso19: Added struct definitions for the pattern generator config and the protoco...
Renato Caldas [Sat, 14 Jan 2012 12:46:27 +0000 (12:46 +0000)]
link-mso19: Added struct definitions for the pattern generator config and the protocol trigger config.

12 years agosr: g_free()/g_string_free() can handle NULL input.
Uwe Hermann [Wed, 18 Jan 2012 23:32:02 +0000 (00:32 +0100)]
sr: g_free()/g_string_free() can handle NULL input.

12 years agoclean up some dead code
Bert Vermeulen [Sun, 15 Jan 2012 22:14:45 +0000 (23:14 +0100)]
clean up some dead code

12 years agosr: s/g_message/sr_dbg/.
Uwe Hermann [Tue, 10 Jan 2012 21:16:41 +0000 (22:16 +0100)]
sr: s/g_message/sr_dbg/.

libsigrok should only use sr_*() for debug output.

12 years agoclean up drivers at the end of a session, and fix session file init.
Bert Vermeulen [Sun, 8 Jan 2012 21:05:00 +0000 (22:05 +0100)]
clean up drivers at the end of a session, and fix session file init.

12 years agosr: session: Make most functions return int.
Uwe Hermann [Sat, 7 Jan 2012 16:08:54 +0000 (17:08 +0100)]
sr: session: Make most functions return int.

This allows us to return error codes etc.

Add a little more error handling.

12 years agoMore .gitignore files cleanup.
Uwe Hermann [Sat, 7 Jan 2012 13:15:10 +0000 (14:15 +0100)]
More .gitignore files cleanup.

12 years agoremove obsolete libsigrokdecode struct
Bert Vermeulen [Sat, 7 Jan 2012 01:13:05 +0000 (02:13 +0100)]
remove obsolete libsigrokdecode struct

12 years agosr: Consistently use 512kB as default chunk size.
Uwe Hermann [Fri, 6 Jan 2012 15:20:28 +0000 (16:20 +0100)]
sr: Consistently use 512kB as default chunk size.

12 years agoAdded "autostuff" to the .gitignore.
Renato Caldas [Fri, 6 Jan 2012 11:07:37 +0000 (11:07 +0000)]
Added "autostuff" to the .gitignore.

12 years agosession: Fixed error reporting.
Renato Caldas [Fri, 6 Jan 2012 00:04:29 +0000 (00:04 +0000)]
session: Fixed error reporting.

12 years agomso-19: Fix whitespace.
Uwe Hermann [Fri, 6 Jan 2012 00:05:55 +0000 (01:05 +0100)]
mso-19: Fix whitespace.

12 years agolink-mso19: fixed segmentation fault.
Renato Caldas [Thu, 5 Jan 2012 23:37:54 +0000 (23:37 +0000)]
link-mso19: fixed segmentation fault.

12 years agolink-mso19: Updated to the current structs (fixed compilation).
Renato Caldas [Thu, 5 Jan 2012 19:42:06 +0000 (19:42 +0000)]
link-mso19: Updated to the current structs (fixed compilation).

12 years agoudev: Add missing USB IDs for some devices.
Uwe Hermann [Wed, 4 Jan 2012 15:45:53 +0000 (16:45 +0100)]
udev: Add missing USB IDs for some devices.

12 years agoA few more fixes for configure.ac files.
Uwe Hermann [Wed, 4 Jan 2012 14:26:41 +0000 (15:26 +0100)]
A few more fixes for configure.ac files.

Add missing checks and quotes, remove superfluous checks, etc.

12 years agosr/srd: Add Doxyfile to the tarball.
Uwe Hermann [Wed, 4 Jan 2012 01:50:26 +0000 (02:50 +0100)]
sr/srd: Add Doxyfile to the tarball.

12 years agosrd: Show config summary, libs, and Python info.
Uwe Hermann [Wed, 4 Jan 2012 01:41:33 +0000 (02:41 +0100)]
srd: Show config summary, libs, and Python info.

12 years agosr: configure.ac: Print more summary info.
Uwe Hermann [Tue, 3 Jan 2012 23:49:21 +0000 (00:49 +0100)]
sr: configure.ac: Print more summary info.

 - Package version (major.minor.micro)

 - Library version (current:revision:age)

 - Installation prefix (usually /usr/local)

 - Detected libraries and their versions (only for pkg-config libs)

12 years agosr: configure.ac: Fix version number magic.
Uwe Hermann [Tue, 3 Jan 2012 23:05:43 +0000 (00:05 +0100)]
sr: configure.ac: Fix version number magic.

12 years agoPut most autotools files into autostuff/.
Uwe Hermann [Tue, 3 Jan 2012 20:55:48 +0000 (21:55 +0100)]
Put most autotools files into autostuff/.

This yields a slightly more "tidy" top-level directory.

12 years agosr: Put files into .../share/libsigrok.
Uwe Hermann [Tue, 3 Jan 2012 19:06:36 +0000 (20:06 +0100)]
sr: Put files into .../share/libsigrok.

12 years agosr: Remove useless filename prefixes.
Uwe Hermann [Tue, 3 Jan 2012 19:01:02 +0000 (20:01 +0100)]
sr: Remove useless filename prefixes.

12 years agosr/srd: Fix left-over #includes.
Uwe Hermann [Tue, 3 Jan 2012 18:56:01 +0000 (19:56 +0100)]
sr/srd: Fix left-over #includes.

The libs themselves should use #include "sigrok.h" etc., while the
frontends must use #include <sigrok.h> and so on.

12 years agosr: Drop some obsolete and commented out code.
Uwe Hermann [Mon, 2 Jan 2012 13:25:52 +0000 (14:25 +0100)]
sr: Drop some obsolete and commented out code.

12 years agosr: session: Add docs and some error checks.
Uwe Hermann [Mon, 2 Jan 2012 13:15:25 +0000 (14:15 +0100)]
sr: session: Add docs and some error checks.

12 years agoSplit README, add appropriate ones per-project.
Uwe Hermann [Fri, 30 Dec 2011 21:38:25 +0000 (22:38 +0100)]
Split README, add appropriate ones per-project.

12 years agoUpdate/fix .gitignore files.
Uwe Hermann [Fri, 30 Dec 2011 21:12:37 +0000 (22:12 +0100)]
Update/fix .gitignore files.

12 years agosr/srd: Remove/fix non-applicable autotools stuff.
Uwe Hermann [Fri, 30 Dec 2011 09:50:00 +0000 (10:50 +0100)]
sr/srd: Remove/fix non-applicable autotools stuff.

12 years agosr/srd: Move some files to their resp. dirs.
Uwe Hermann [Fri, 30 Dec 2011 09:42:39 +0000 (10:42 +0100)]
sr/srd: Move some files to their resp. dirs.

12 years agoMove most contrib/ stuff to libsigrok.
Uwe Hermann [Thu, 29 Dec 2011 12:05:24 +0000 (13:05 +0100)]
Move most contrib/ stuff to libsigrok.

The udev rules file is libsigrok-specific, the gnuplot files too.

The nsis files stay in the top-level contrib/ for now, they're not
really part of any of the (sub-)projects, but rather are used to create
a single Windows .exe installer for all of them.

12 years agoprobe names: Fix cosmetics, add docs, fix off-by-one.
Uwe Hermann [Thu, 29 Dec 2011 18:50:14 +0000 (19:50 +0100)]
probe names: Fix cosmetics, add docs, fix off-by-one.

12 years agoMove the probe naming to the creator of the device, and let each driver name its...
Kristoffer Sjöberg [Thu, 29 Dec 2011 16:04:31 +0000 (17:04 +0100)]
Move the probe naming to the creator of the device, and let each driver name its own probes.

12 years agoFix outdated ezusb_install_firmware() prototype.
Uwe Hermann [Wed, 28 Dec 2011 22:11:52 +0000 (23:11 +0100)]
Fix outdated ezusb_install_firmware() prototype.

12 years agolibsigrok: Fix #includes.
Uwe Hermann [Wed, 28 Dec 2011 22:07:08 +0000 (23:07 +0100)]
libsigrok: Fix #includes.

In the lib, we should only #include "sigrok.h" or "sigrok-internal.h",
but not the (possibly installed and thus different/older versions) via
<sigrok.h> or <sigrok-internal.h>.

Frontends should of course use <sigrok.h> and <sigrok-internal.h>.

12 years agoMake more variables/functions static and non-global.
Uwe Hermann [Wed, 28 Dec 2011 21:55:21 +0000 (22:55 +0100)]
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.

12 years agoDrop unused 'global' struct/variable.
Uwe Hermann [Wed, 28 Dec 2011 20:38:56 +0000 (21:38 +0100)]
Drop unused 'global' struct/variable.

The libs shouldn't have any (externally visible) globals anyway.

12 years agosigrok-proto.h: Drop obsolete prototype, move other one.
Uwe Hermann [Wed, 28 Dec 2011 20:37:37 +0000 (21:37 +0100)]
sigrok-proto.h: Drop obsolete prototype, move other one.

12 years agodevice: Make some parameters const.
Uwe Hermann [Wed, 28 Dec 2011 20:34:37 +0000 (21:34 +0100)]
device: Make some parameters const.