X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Ftable.h;h=6c8f7631a103ece3e8b8869d6ddb602f99d0e406;hb=96628ae85fe26ac86d35bca5f4c288e56048c3d6;hp=146d4dfe32beda3cf730cdd0681c8348ff882d6c;hpb=e3c17733704fd54fa937ed5e1e8c4b51e00961f1;p=openvswitch diff --git a/lib/table.h b/lib/table.h index 146d4dfe..6c8f7631 100644 --- a/lib/table.h +++ b/lib/table.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010, 2011 Nicira Networks. + * Copyright (c) 2009, 2010, 2011, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,11 +32,13 @@ struct table { size_t n_rows, allocated_rows; size_t current_column; char *caption; + bool timestamp; }; void table_init(struct table *); void table_destroy(struct table *); void table_set_caption(struct table *, char *caption); +void table_set_timestamp(struct table *, bool timestamp); void table_add_column(struct table *, const char *heading, ...) PRINTF_FORMAT(2, 3);