Commit Graph

8 Commits

Author SHA1 Message Date
augustss d8dcced006 Some const poisoning. Suggested by Dave Sainty <dave@dtsp.co.nz> 2000-04-02 11:10:53 +00:00
augustss 1e5140923a Allow setting data without clearing it first. From Dave Sainty <dave@dtsp.co.nz> 2000-04-02 11:02:21 +00:00
lukem d896261208 back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem b48252f365 * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif
1999-09-16 11:44:54 +00:00
augustss 18969028a2 Rename a few more functions so that all are prefixed by hid. 1999-05-12 00:37:43 +00:00
augustss c06d0d866b Update the man page and rename one functions. 1999-05-12 00:04:49 +00:00
augustss a1e0cc1cf7 Change copyright. I'll keep the copyright of these under more relaxed
terms than the usual TNF copyright since I'd like this API to be used
by e.g. Linux (and they object to the advertising clause).
1999-05-11 21:15:46 +00:00
augustss 18f11488db Make USB HID processing into a library. 1999-05-11 21:02:24 +00:00