Message ID | 20180713183624.16937-2-jkbs@redhat.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <ovs-dev-bounces@openvswitch.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41S1k300rYz9s0n for <incoming@patchwork.ozlabs.org>; Sat, 14 Jul 2018 04:36:58 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 88E83DB4; Fri, 13 Jul 2018 18:36:31 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 6F2CCDA1 for <dev@openvswitch.org>; Fri, 13 Jul 2018 18:36:29 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 03BCA7B0 for <dev@openvswitch.org>; Fri, 13 Jul 2018 18:36:28 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id s14-v6so10287794wmc.1 for <dev@openvswitch.org>; Fri, 13 Jul 2018 11:36:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0SfbUdIAaNgOTbl9njp79hcC8Wv7UG54qNM01M4rhIY=; b=PGz2FvEwMBNjsjukiZhT/SevxgSFQ3G/5c8xEG+rJOgz4Y8bbQlHzN5VCm20pr4O1W UnmGuP1g6tqWCn+EVDD1C5NkppfzoUIAGl7/LRgneogSp164b7M3/AVekUwj/DdAPbkX TduR8SAkIBGWxBoZQ98T0oAzMHeipu2dxc1gRhH+1PD/TEPPjygMklKiun7phCeBOIcF xKTf6fOnQ5kAs4Oeuk4n92WNSzGeWsvO//ln8b56K4NqbNFXgIooCSAMAPTrXHa5CqOt ceagQGp2JvThNPGp0FOsFXSypcKzf2f77hj4gL6Yguypy1PHaPq+d0X+XDrMcuHKo9r0 EF0Q== X-Gm-Message-State: AOUpUlGPhw14d9EkeyQDJ4zrBYcb+vNQF4oBttN79f6oU/V8aQjVpMtN ame13pUHlqJDc/HbHGDrTsFJADbegDQ= X-Google-Smtp-Source: AAOMgpdgw2efm+aBPR0DP4wLK7mVCaBlPuDYtAyMDw0H6qREY7ZYrgHFk6hvknRHkbzuspgdIYZJkg== X-Received: by 2002:a1c:2442:: with SMTP id k63-v6mr4345584wmk.7.1531506987373; Fri, 13 Jul 2018 11:36:27 -0700 (PDT) Received: from redhat.com (218.red-2-136-166.dynamicip.rima-tde.net. [2.136.166.218]) by smtp.gmail.com with ESMTPSA id e13-v6sm47940877wrd.9.2018.07.13.11.36.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 11:36:26 -0700 (PDT) From: Jakub Sitnicki <jkbs@redhat.com> To: dev@openvswitch.org Date: Fri, 13 Jul 2018 20:36:08 +0200 Message-Id: <20180713183624.16937-2-jkbs@redhat.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180713183624.16937-1-jkbs@redhat.com> References: <20180713183624.16937-1-jkbs@redhat.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH v3 01/17] table: Introduce a constant for default table style. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: <ovs-dev.openvswitch.org> List-Unsubscribe: <https://mail.openvswitch.org/mailman/options/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe> List-Archive: <http://mail.openvswitch.org/pipermail/ovs-dev/> List-Post: <mailto:ovs-dev@openvswitch.org> List-Help: <mailto:ovs-dev-request@openvswitch.org?subject=help> List-Subscribe: <https://mail.openvswitch.org/mailman/listinfo/ovs-dev>, <mailto:ovs-dev-request@openvswitch.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org |
Series |
Daemon mode for ovn-nbctl
|
expand
|
diff --git a/lib/table.h b/lib/table.h index 313ac1dd2..76e65bb70 100644 --- a/lib/table.h +++ b/lib/table.h @@ -20,6 +20,7 @@ #include <stdbool.h> #include <stddef.h> #include "compiler.h" +#include "openvswitch/json.h" struct ds; struct table_style; @@ -83,6 +84,7 @@ struct table_style { }; #define TABLE_STYLE_DEFAULT { TF_LIST, CF_STRING, true, JSSF_SORT, 0 } +static const struct table_style table_style_default = TABLE_STYLE_DEFAULT; #define TABLE_OPTION_ENUMS \ OPT_NO_HEADINGS, \
Having a constant in addition to the constant expression for the default table style allows us to reset 'struct table_style' variables to default style. Signed-off-by: Jakub Sitnicki <jkbs@redhat.com> --- lib/table.h | 2 ++ 1 file changed, 2 insertions(+)