X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ovsdb%2Flog.h;h=aad2543539f91abbc912de2ddeff28a700e3c57f;hb=cfc50ae514f805dcd9c14589f21158185424daf6;hp=045740b935952b7117b3ceee4d7a580dcb9d5a0f;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=sliver-openvswitch.git diff --git a/ovsdb/log.h b/ovsdb/log.h index 045740b93..aad254353 100644 --- a/ovsdb/log.h +++ b/ovsdb/log.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2010 Nicira Networks +/* Copyright (c) 2009, 2010, 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,9 +36,13 @@ void ovsdb_log_close(struct ovsdb_log *); struct ovsdb_error *ovsdb_log_read(struct ovsdb_log *, struct json **) WARN_UNUSED_RESULT; +void ovsdb_log_unread(struct ovsdb_log *); + struct ovsdb_error *ovsdb_log_write(struct ovsdb_log *, struct json *) WARN_UNUSED_RESULT; struct ovsdb_error *ovsdb_log_commit(struct ovsdb_log *) WARN_UNUSED_RESULT; +off_t ovsdb_log_get_offset(const struct ovsdb_log *); + #endif /* ovsdb/log.h */