]> sigrok.org Git - libsigrok.git/commit
Start unification of libsigrok return codes.
authorUwe Hermann <redacted>
Mon, 5 Apr 2010 14:41:54 +0000 (16:41 +0200)
committerUwe Hermann <redacted>
Mon, 5 Apr 2010 16:30:14 +0000 (18:30 +0200)
commite31b636df6651ae17f9bb28c51157a51fc92c421
tree1227f6dddadc5d38c4de7bfd9ca73fc127755c3d
parent5a8fda158bd9cc040b36fb3b016808c59ccf89f3
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.
hardware/openbench-logic-sniffer/ols.c
hardware/saleae-logic/saleae-logic.c
hardware/zeroplus-logic-cube/zeroplus.c
output/output_vcd.c
session.c
sigrok.h