Uwe Hermann
8bb416becf
Kill unused functions (avoid namespace pollution).
2011-03-03 20:24:25 +01:00
Uwe Hermann
809c5f2011
Add sr_ prefix for analog stuff some structs.
2011-02-20 21:16:24 +01:00
Uwe Hermann
a887e3da97
Add sr_ prefix to receive_data_callback typedef.
...
Also, drop obsolete add_source() prototype from sigrok-cli.h.
2011-02-20 21:16:24 +01:00
Uwe Hermann
13b0573369
Add sr_ prefix to datafeed_callback typedef.
2011-02-20 21:16:23 +01:00
Uwe Hermann
8a2efef2d5
Add sr_ prefix to session related API functions.
2011-02-08 22:28:00 +01:00
Uwe Hermann
2872d21ebc
Add sr_ prefix for 'struct session'.
2011-02-08 22:27:58 +01:00
Uwe Hermann
22b0238344
Fix build when no libusb-LA is compiled.
...
Until now the build would break if the user doesn't enable at least one
of the libusb1.0-based LAs. I.e., you could not compile only OLS, or
only the demo driver.
2011-02-02 10:25:52 +01:00
Bert Vermeulen
b8c2f85f56
session_driver: remove unneeded callbacks
2011-02-01 00:06:32 +01:00
Bert Vermeulen
7d65887435
implement session loading based on a virtual device driver
2011-01-31 22:34:14 +01:00
Uwe Hermann
9f4bc44e3a
MinGW: Build fix.
2011-01-31 14:14:28 +01:00
Uwe Hermann
5c2d46d1db
Prefix device structs with sr_.
2011-01-30 18:32:58 +01:00
Uwe Hermann
b9c735a275
Prefix datafeed structs with sr_.
2011-01-30 18:32:57 +01:00
Uwe Hermann
e46b8fb154
Change SIGROK_ prefix to SR_.
2011-01-30 18:32:53 +01:00
Bert Vermeulen
544a458212
move session main loop stuff into libsigrok (session_run)
2011-01-30 17:12:54 +01:00
Bert Vermeulen
aa4b110766
fix session saving and input file loading
...
cli: -i option now properly takes the -o option into account,
so sigrok can now be used for protocol conversion with just
those two options.
2011-01-24 07:46:16 +01:00
Uwe Hermann
17e1afcb81
Whitespace and consistency fixes.
...
Also, drop a <poll.h> #include. It's unused anyway, and breaks the build
on MinGW/Windows as there is no poll.h there.
2011-01-13 23:52:25 +01:00
Uwe Hermann
62c8202582
libsigrok: More coding style fixes.
2010-04-15 20:16:53 +02:00
Uwe Hermann
afc8e4deb6
Fix all warnings and re-enable -Wextra.
2010-04-09 22:18:46 +02:00
Uwe Hermann
e31b636df6
Start unification of libsigrok return codes.
...
We have SIGROK_OK for functions calls where no errors occured. All
error code names start with SIGROK_ERR and are globally unique,
negative values.
The value SIGROK_ERR is a generic/unspecified error code, all others,
such as SIGROK_ERR_MALLOC, refer to a specific error condition.
This commit renames the old SIGROK_NOK etc.
2010-04-05 18:30:14 +02:00
Uwe Hermann
a1bb33afbd
Start of code base layout restructuring.
2010-04-02 20:27:54 +02:00