X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Ftransaction.h;h=414b358b57d60f1bd60a8fa490b804bcaa85f409;hb=76f105d9be03588c2d5ec0b94ff769a1d269f2e4;hp=048bf74fa80d4ce477ad3c202c19c92d4dd7c7b8;hpb=bd06962ad334fa4631b67905fc9f43f96a908915;p=openvswitch diff --git a/ovsdb/transaction.h b/ovsdb/transaction.h index 048bf74f..414b358b 100644 --- a/ovsdb/transaction.h +++ b/ovsdb/transaction.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. @@ -35,8 +35,12 @@ void ovsdb_txn_row_delete(struct ovsdb_txn *, const struct ovsdb_row *); typedef bool ovsdb_txn_row_cb_func(const struct ovsdb_row *old, const struct ovsdb_row *new, + const unsigned long int *changed, void *aux); void ovsdb_txn_for_each_change(const struct ovsdb_txn *, ovsdb_txn_row_cb_func *, void *aux); +void ovsdb_txn_add_comment(struct ovsdb_txn *, const char *); +const char *ovsdb_txn_get_comment(const struct ovsdb_txn *); + #endif /* ovsdb/transaction.h */