diff options
author | Ben Pfaff <blp@nicira.com> | 2010-03-12 10:27:33 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-03-17 14:24:55 -0700 |
commit | 80af01eda87eaaf16369642d2733e561b3d56b71 (patch) | |
tree | b63a855a28257fe1abe4b1187e4ecc3413dc3304 /lib/ovsdb-error.h | |
parent | b405dcfb4ee1d105ffcf3931873fb13121375aa8 (diff) | |
download | openvswitch-80af01eda87eaaf16369642d2733e561b3d56b71.tar.gz |
New function ovsdb_error_assert() for verifying that no error occurred.
Diffstat (limited to 'lib/ovsdb-error.h')
-rw-r--r-- | lib/ovsdb-error.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ovsdb-error.h b/lib/ovsdb-error.h index 7e2523e3c..2bff3ae56 100644 --- a/lib/ovsdb-error.h +++ b/lib/ovsdb-error.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2009 Nicira Networks +/* Copyright (c) 2009, 2010 Nicira Networks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -50,4 +50,6 @@ struct json *ovsdb_error_to_json(const struct ovsdb_error *); const char *ovsdb_error_get_tag(const struct ovsdb_error *); +void ovsdb_error_assert(struct ovsdb_error *); + #endif /* ovsdb-error.h */ |