X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fovsdb-idl.h;h=2aaaa71c9ce2002d025a11da7337d3e971287272;hb=f4b6076acab233cfe02e7eaefdeafbb69dfae556;hp=4c64585da8bef0a4b108ba0fa347cea3b62402a9;hpb=1e86ae6f51bcc91d2fa36e4154bc6e540251eaf8;p=openvswitch diff --git a/lib/ovsdb-idl.h b/lib/ovsdb-idl.h index 4c64585d..2aaaa71c 100644 --- a/lib/ovsdb-idl.h +++ b/lib/ovsdb-idl.h @@ -18,6 +18,7 @@ #include #include +#include "compiler.h" struct json; struct ovsdb_datum; @@ -58,7 +59,8 @@ enum ovsdb_idl_txn_status { const char *ovsdb_idl_txn_status_to_string(enum ovsdb_idl_txn_status); struct ovsdb_idl_txn *ovsdb_idl_txn_create(struct ovsdb_idl *); -void ovsdb_idl_txn_add_comment(struct ovsdb_idl_txn *, const char *); +void ovsdb_idl_txn_add_comment(struct ovsdb_idl_txn *, const char *, ...) + PRINTF_FORMAT (2, 3); void ovsdb_idl_txn_set_dry_run(struct ovsdb_idl_txn *); void ovsdb_idl_txn_increment(struct ovsdb_idl_txn *, const char *table, const char *column, const struct json *where);