Justin Pettit
18b9283b98
Clean-up compiler warnings about ignoring return values
...
Some systems complain when certain functions' return values are not
checked. This commit fixes those warnings.
Creating ignore() function suggested by Ben Pfaff.
2009-12-15 00:14:32 -08:00
Ben Pfaff
29d4af6016
New dir_name() function plus tests.
2009-11-04 15:24:40 -08:00
Ben Pfaff
0fec26b00b
util: Make ovs_error() understand that EOF means "end of file".
...
This convention is in use in a few places in the source tree, and so it
seems to be about time to start putting it into central places.
2009-11-04 15:24:40 -08:00
Ben Pfaff
f38b84ea2b
Implement JSON parsing and serialization.
...
This will be used by the upcoming Open vSwitch configuration database.
2009-11-04 15:24:40 -08:00
Ben Pfaff
ec6fde61c8
Add new function xzalloc(n) as a shorthand for xcalloc(1, n).
2009-11-04 14:52:32 -08:00
Ben Pfaff
a14bc59fb8
Update primary code license to Apache 2.0.
2009-06-15 15:11:30 -07:00
Ben Pfaff
064af42167
Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.
2009-07-08 13:19:16 -07:00